subkey comments?

Hauke Laging mailinglisten at
Tue Nov 12 18:29:19 CET 2013

Am Di 12.11.2013, 15:50:10 schrieb adrelanos:

> Is it possible to have subkeys with different comments than the main
> key? How?

The main question is: What do you mean by "comments"? You probably refer to 
the comment part of a user ID. But it has not been determined what exactly 
that refers to.

A key comment in a technically more correct sense would be a signature 
notation (which you can see with --list-sigs only and you also need --list-
options show-notations).

You can create these notations with --cert-notation. You must call gpg once 
for every key then:

gpg --expert --cert-notation comment_en at"mainkey" \

gpg --cert-notation comment_en at"encryption subkey" \
--edit-key 0x12345678 addkey

gpg --cert-notation comment_en at"signature subkey" \
--edit-key 0x12345678 addkey

Crypto für alle:
OpenPGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 572 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20131112/8251a582/attachment-0001.sig>

More information about the Gnupg-users mailing list