Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow UIDs to be managed #31

Open
neuhalje opened this issue Jan 3, 2019 · 1 comment
Open

Allow UIDs to be managed #31

neuhalje opened this issue Jan 3, 2019 · 1 comment
Assignees

Comments

@neuhalje
Copy link
Owner

neuhalje commented Jan 3, 2019

Is your feature request related to a problem? Please describe.
GPG keys can carry multiple user IDs. BouncyGPGs key generation currently only supports a single UID per keyring.

Describe the solution you'd like
The API for keyring management should enable the caller to

  • Add user IDs to a key
  • Enumerate all user IDs of a key
  • Remove user IDs from a key
  • Set the validity of user IDs

Describe alternatives you've considered
N/A

Additional context
E.g. this is the key of the gpgtools project:

pub   dsa2048/0x76D78F0500D026C4 2010-08-19 [SC] [expires: 2020-06-15]
      85E38F69046B44C1EC9FB07B76D78F0500D026C4
uid                   [ultimate] GPGTools Team <team@gpgtools.org>
uid                   [ultimate] GPGMail Project Team (Official OpenPGP Key) <gpgmail-devel@lists.gpgmail.org>
uid                   [ultimate] GPGTools Project Team (Official OpenPGP Key) <gpgtools-org@lists.gpgtools.org>
uid                   [ultimate] [jpeg image of size 5871]
sub   elg2048/0x07EAE49ADBCBE671 2010-08-19 [E] [expires: 2020-06-15]
sub   rsa4096/0xE8A664480D9E43F5 2014-04-08 [S] [expires: 2024-01-02]
@neuhalje neuhalje self-assigned this Jan 3, 2019
@neuhalje neuhalje added the later label Jun 16, 2019
@dsanghan
Copy link

dsanghan commented Sep 1, 2021

@neuhalje Did you manage to figure out how to add a user ID to an existing key?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants