gpgmail key with multiple user ids - how can I choose which one is used as signing id

trevor's Avatar


20 Jun, 2017 09:48 PM

I searched, and found similar discussions, but surprisingly none with the problem I am having.

I have a public/private keypair with multiple IDs attached. When signing/encrypting, I want to be able to select which ID to use with gpgmail, and also designate a default. So, for example, I could have my email client on my work machine sign/encrypt using my key with the [email blocked] ID, and on my personal machine I could have the client set up to sign/encrypt, using the same key but the [email blocked] ID.

Currently gpgmail uses only the ID designated as "primary" on my key, and I don't see any option to select another.

Is there a way around this? I looked at the gpgmail hidden settings article, but only saw a way to add add'l IDs to a public key.

  1. Support Staff 1 Posted by Steve on 21 Jun, 2017 03:39 PM

    Steve's Avatar

    Hi Trevor,

    welcome to the GPGTools support platform. Sorry you are having problems using GPG Suite.

    The behavior you describe is the expected behavior. The primary user ID is used for the signature.

    Maybe the experts at the gnupg users mailling list have further suggestions.

    As a workaround you could use separate keys.

    All the best,

  2. Steve closed this discussion on 18 Aug, 2017 10:35 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac