Incompatible passphrase encoding in gpg/gpg-agent?

Michael Nottebrock <[email protected]> Wed, 30 Mar 2005 17:35:27 +0200
Newsgroups gmane.comp.encryption.gpg.gpa.devel
Message-ID <[email protected]>
I have recently received a bugreport about pinentry-qt not handling the "§" 
character correctly. After some testing it turns out that gpg, if used 
without gpg-agent seems to encode passphrases differently than the agents do.

Testcase: Run gpg without agent active, use passwd to change a key passphrase 
to "test§test". Save. Then run gpg-agent (any pinentry variant will do) and 
try to change the passphrase again with gpg. Gpg won't accept the passphrase 
string delivered by gpg-agent. Unset the GPG_AGENT_INFO env var and change 
passphrase in gpg without agent - works.

This is with gpg from GnuPG 1.4.0, gpg-agent from GnuPG 1.9.14 and pinentry 
0.7.1.

-- 
   ,_,   | Michael Nottebrock               | [email protected]
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

_______________________________________________
Gpa-dev mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gpa-dev
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCSsdGXhc68WspdLARAo5qAJ9mHpS1TaeaFELhh5zD7zneXuTXlwCbBoKj
CZapna9Y29ee3F6v9y2qTuY=
=le7c
-----END PGP SIGNATURE-----