subkey comments?

Hauke Laging mailinglisten at hauke-laging.de
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:

1)
gpg --expert --cert-notation comment_en at openpgp-notations.org="mainkey" \
--gen-key

2)
gpg --cert-notation comment_en at openpgp-notations.org="encryption subkey" \
--edit-key 0x12345678 addkey

3)
gpg --cert-notation comment_en at openpgp-notations.org="signature subkey" \
--edit-key 0x12345678 addkey


Hauke
-- 
Crypto für alle: http://www.openpgp-schulungen.de/fuer/unterstuetzer/
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