Container Images issueshttps://code.immerda.ch/groups/immerda/container-images/-/issues2023-12-03T13:18:10Zhttps://code.immerda.ch/immerda/container-images/ruby/-/issues/3Ruby json library missing in ruby/devel:3.0 image2023-12-03T13:18:10ZzRuby json library missing in ruby/devel:3.0 image```
LoadError: cannot load such file -- json
``````
LoadError: cannot load such file -- json
```https://code.immerda.ch/immerda/container-images/wkd-srv/-/issues/6Support keys where the uid is just the email.2022-09-20T19:52:11ZmhSupport keys where the uid is just the email.Currently, we are filtering out the valid uids by filtering by uid as recommended by the GnuPG manual:
https://www.gnupg.org/documentation/manuals/gnupg/Specify-a-User-ID.html#Specify-a-User-ID
Background is that the uid field in OpenP...Currently, we are filtering out the valid uids by filtering by uid as recommended by the GnuPG manual:
https://www.gnupg.org/documentation/manuals/gnupg/Specify-a-User-ID.html#Specify-a-User-ID
Background is that the uid field in OpenPGP is just a string, that should follow the "Name <email>" convention (https://datatracker.ietf.org/doc/html/rfc4880#section-5.11) and so far most tools did.
Which is what we are doing: https://code.immerda.ch/immerda/container-images/wkd-srv/-/blob/93820943d4bb4790831a881ea5a03fabc56cd4b6/lib/wkd-srv/key.rb
The Web Key Service RFC says that "The key needs to carry a User ID packet ([RFC4880]) with that mail address." (https://datatracker.ietf.org/doc/draft-koch-openpgp-webkey-service/) and since RFC4880 says that by convention the
However, this means, that we do not allow importing keys where the uid is just the email and nothing more, especially no enclosing <>.
First we should validate, whether the OpenPGP community actually thinks that this is actually as intended or whether you should only see uids with emailaddresses enclosed in <> as valid emails.
Then - if we should support keys with such formatted uids - we must make sure, that we filter out uids that either match the conventional email address filter OR have an exact match on the email address.https://code.immerda.ch/immerda/container-images/wkd-srv/-/issues/5Can't import keys locally2020-12-01T14:26:26Zo@ungehorsam.chCan't import keys locallyusing the local install through iapi-hack I cannot upload a gpg key for user2@example.com. Not sure why, but it works if I remove the import filter from:
https://code.immerda.ch/immerda/container-images/wkd-srv/-/blob/master/lib/wkd-srv...using the local install through iapi-hack I cannot upload a gpg key for user2@example.com. Not sure why, but it works if I remove the import filter from:
https://code.immerda.ch/immerda/container-images/wkd-srv/-/blob/master/lib/wkd-srv/key.rb#L64