small bugs and a small fix (1.4.1rc2 cvs)

Peter Palfrader gnupg-devel=gnupg.org at lists.palfrader.org
Sat Feb 26 14:17:41 CET 2005


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.


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.

-- 
 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-devel mailing list