Possible regression in 2.1.10-beta for --local-user

Kristian Fiskerstrand kristian.fiskerstrand at sumptuouscapital.com
Mon Nov 30 17:43:54 CET 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear all,

I haven't had time to bisect which commit introduce this behavior, but
somewhere after 2.1.9 there seems to be a regression to specifying a
specific signing subkey for --local-user using the ! operator. briefly
looking through log I suspect it might be related to [0]

$ gpg --version
gpg (GnuPG) 2.1.10-beta195
libgcrypt 1.7.0-beta284

$ echo "test" | gpg -u 0x250B7AFED6379D85! --clearsign
gpg: Invalid value ('0x250B7AFED6379D85!').
gpg: (check argument of option '--local-user')

Expected behavior
$ gpg --version
gpg (GnuPG) 2.1.9
libgcrypt 1.7.0-beta284

echo "test" | gpg -u 0x250B7AFED6379D85! --clearsign
results in good signature.

References:
[0]
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=f9983
0b72812395da5451152bdd2f2d90a7cb7fb;hp=e8c53fca954d33366e3494a6d4eecc386
8282bcc
- -- 
- ----------------------------
Kristian Fiskerstrand
Blog: https://blog.sumptuouscapital.com
Twitter: @krifisk
- ----------------------------
Public OpenPGP key 0xE3EDFAE3 at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3
- ----------------------------
"When I was kidnapped, my parents snapped into action. They rented out
my room."
(Woody Allen)
-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJWXHzGAAoJECULev7WN52FzkYIAMGWgoq7qEdvIm5YMUqu4XCc
zD4ck6BVHE9Qv8PIzS/fH+NN0O0DdMejXW7vGxN54XXP0FMV7EcBsydzPU4Yw/7Y
yStNU0enRJdjBRpWpNjYISFAe5q22nWO1UaDAHLI7SbbFCGfhwHUvkNqurHND77d
yhx7JJVpttafyRxipqe/YcygsR0H3APD0X7Tm9jT6eUbkLdXuN7/lx37zk1n5N8c
C/2pQ1gRpWk5WK0lFocLtMzVRqR3qof9hR+M3tdw19kX8WZJMwggiHp1YpsQzmsK
2qzeN9QIOmcAFkEvLwePQTyv+w4PaUhAYKOqNt8II246/fprY0mrb90BBFD7ijg=
=ahZj
-----END PGP SIGNATURE-----



More information about the Gnupg-devel mailing list