[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dput-ng/1.1 in unstable



On 06.12.2012 02:53, Paul Wise wrote:
> Anything less than the full fingerprint (8, 7 or whatever) should be
> considered ambiguous[1]. If there are multiple keys matching the
> partial fingerprint (of any size), that should be an error. I don't
> think a partial fingerprint that is 7 characters long should be
> treated any different than one that is 8 characters.

Right. We do:

$ dcut dm --uid 'Paul' --allow fluxbox
Uploading commands file to ftp.upload.debian.org (incoming:
/pub/UploadQueue/)
DM argument `Paul' is ambiguous. Possible choices:

- Paul Gevers <paul@climbing.nl> (5F8293EE5207FE0C526D4A971CD52D7BAAFE086A)
- John Paul Adrian Glaubitz (Freie Universitaet Berlin)
<glaubitz@physik.fu-berlin.de> (62FF8A7584E029569546000674263B37F5B5F913)
- Paul Tagliamonte <tag@pault.ag> (8F049AD82C92066C7352D28A7B585B30807C2A87)


Likewise for key (fragments).

$ dcut dm --uid '12' --allow fluxbox
Uploading commands file to ftp.upload.debian.org (incoming:
/pub/UploadQueue/)
DM argument `12' is ambiguous. Possible choices:

- Matthias Klumpp <matthias@tenstral.net>
(D33A3F0CA16B0ACC51A60738494C8A5FBF4DECEB)
- Dimitrios Eftaxiopoulos <eftaxi12@otenet.gr>
(2626C74FA4EA17DF304B1EF2A03F52085D424895)
- Mathias Behrle <mbehrle@m9s.biz>
(AC297E5C46B9D0B61C717681D6D09BE48405BBF6)


On top of that, if you pass something as argument which looks like a key
id already, it's gpg to fail out if the ID is malformed:


$ dcut dm --uid '0x12' --allow fluxbox
Uploading commands file to ftp.upload.debian.org (incoming:
/pub/UploadQueue/)
DM fingerprint lookupfor argument 0x12 failed. GnuPG returned error:
gpg: error reading key: malformed user id

-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: