small bugs and a small fix (1.4.1rc2 cvs)

David Shaw dshaw at jabberwocky.com
Sun Feb 27 02:16:22 CET 2005


On Sat, Feb 26, 2005 at 02:17:41PM +0100, Peter Palfrader wrote:
> On Thu, 24 Feb 2005, David Shaw wrote:
> 
> > On Tue, Feb 22, 2005 at 05:21:33AM +0100, Stephan Beyer wrote:
> > 
> > > 1) --sign-key
> > > 
> > > When signing a key with --sign-key, gpg asks `Really sign all user IDs?
> > > (y/N)'. Type `n' and 1.4.0 prints the hint to select the uids, but
> > > interprets `n' as a `No, I don't want to sign the key at all.' and exits.
> > > 1.2.x `returns' to the --edit-key-Command-prompt instead.
> > 
> > This is actually a feature.  The 1.2.x behavior is a little odd since
> > the user started from the command line, issued a command line command,
> > and then suddenly found themselves inside the --edit-key menu.  I
> > agree the hint is not useful and confusing when the user gets there
> > via --sign-key, so I will remove it for --sign-key.
> 
> This is very unfortunate as it breaks all scripts that call --sign-key <id>
> and let the actual signing and uid selection to the user and gpg.

I am revisiting this for 1.4.2 (well, maybe 1.4.1).  Stephan's
suggestion of walking over each UID and asking the user seems good to
me.

> On a related note, gpg now lists unique identifiers for each uid:
> 
> | pub:u:1024:17:DE7AAF6E94C09C7F:942264711:::u:::scaESCA:
> | uid:u::::951840856::6DE2DB889258745FC0F19712AAD73DB1E1AF8E35::Peter Palfrader:
> | uid:u::::974848155::7846E1859AD46C860243B91589845BE87B584845::Peter Palfrader <weasel at debian.org>:
> 
> Is there a way to use them in the edit dialog?  I imagine something like
> 
> | gpg --edit-key 12345678
> | uid 7846E1859AD46C860243B91589845BE87B584845         <-----
> | sign
> 
> would be handy.

That's a good idea.  It would be nice in scripts.

David



More information about the Gnupg-devel mailing list