add notation to self sig

David Shaw dshaw at jabberwocky.com
Thu Mar 9 04:27:09 CET 2006


On Wed, Mar 08, 2006 at 08:32:53PM +0100, Peter Palfrader wrote:
> On Wed, 08 Mar 2006, David Shaw wrote:
> 
> > 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 pgp.com=pgpmime --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.
> 
> Thanks, that seems to work (as does --expert and sign).

If you're tracking SVN, try the latest.  I've added a notation command
under --edit-key.

> Something related.  Is --with-colons supposed to show me notation
> informations?

Yes, but only if you ask for it specifically.  Try adding
"show-sig-subpackets=20" to your --list-options.

David



More information about the Gnupg-users mailing list