Incompatible passphrase encoding in gpg/gpg-agent?

Michael Nottebrock michaelnottebrock at gmx.net
Wed Mar 30 17:35:27 CEST 2005


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               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : /pipermail/attachments/20050330/feb528bd/attachment.pgp


More information about the Gpa-dev mailing list