add notation to self sig

Peter Palfrader gnupg-users=gnupg.org at lists.palfrader.org
Wed Mar 8 20:32:53 CET 2006


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).

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

weasel at galaxy:~/gpg$ gpg --no-options --list-options show-notation --list-sigs
./pubring.gpg
-------------
pub   1024D/94C09C7F 1999-11-10
uid                  Peter Palfrader
sig 3        94C09C7F 2000-02-29  Peter Palfrader
sig 3    N   94C09C7F 2006-03-08  Peter Palfrader
   Signature notation: preferred-email-encoding at pgp.com=pgpmime

weasel at galaxy:~/gpg$ gpg --no-options --list-options show-notation --with-colons --list-sigs
tru::1:1141845941:0:3:1:5
pub:-:1024:17:DE7AAF6E94C09C7F:1999-11-10:::-:Peter Palfrader::scaSCA:
sig:::17:DE7AAF6E94C09C7F:2000-02-29::::Peter Palfrader:13x:
sig:::17:DE7AAF6E94C09C7F:2006-03-08::::Peter Palfrader:13x:

Cheers,
Peter
-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
    messages preferred.    | : :' :      The  universal
                           | `. `'      Operating System
 http://www.palfrader.org/ |   `-    http://www.debian.org/



More information about the Gnupg-users mailing list