weird regressions in 2.1.10 with default-key and local-user options

Ximin Luo infinity0 at pwned.gg
Mon Jan 4 01:56:58 CET 2016


Minimal test script attached, works against debian gnupg 2.1.10. It will "rm -rf ./lol" so make sure you don't have anything in there. You need to set envvars "k1" and "k2" to the ids of two different secret keys that have the same uids. (Possibly the last condition is not necessary.)

first test: default-key gets ignored completely, silently!!
second test: local-user gets "applied twice" when given in gpg.conf, resulting in "ambiguity" errors. giving a shorter keyid works, though.

X

-- 
GPG: 4096R/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-gpg2-options.sh
Type: application/x-shellscript
Size: 945 bytes
Desc: not available
URL: </pipermail/attachments/20160104/a5bd7db9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20160104/a5bd7db9/attachment.sig>


More information about the Gnupg-devel mailing list