add notation to self sig

David Shaw dshaw at
Wed Mar 8 19:46:52 CET 2006

On Tue, Mar 07, 2006 at 11:12:12PM +0100, Peter Palfrader wrote:
> Hey,
> I wanted to add a notation to my self sig on my key by giving
> --cert-notation on the command line and then updating the cipher
> preferences (as a nice way to generate a new self sig):
> | gpg --cert-notation preferred-email-encoding at --edit 94c09c7f
> | Command> setpref S9 S8 S7 S3 S2 H2 H8 Z2 Z3 Z1 mdc no-ks-modify
> [...]
> However, the resulting new self sig does not have the cert notation set.
> Can anybody tell me what the procedure is to issue a new self sig with
> cert notations?

--edit-key the key, delsig the current selfsig, and "sign".  Sign will
do the right thing.

That's pretty icky, though.  I'll see if I can add a "notation"
--edit-key command for 1.4.3.


More information about the Gnupg-users mailing list