Page MenuHome GnuPG

agent doesn't accept short passphrases even if confirmed
Closed, ResolvedPublic

Description

Tested with gnupg 2.0.4.

Import a pkcs12 file with gpgsm in a terminal using pinentry-curses. You're
first asked for the passphrase of the pkcs12 file. OK. Then you're asked for a
new passphrase. If you enter a short passphrase (< 8 characters by default),
you get a warning dialog. If you choos "Take this one anyway", you're asked for
the passphrase again and warned again! There is no way to get it to accept the
short passphrase.

If you use e.g. pinentry-qt intead of pinentry-curses, the agent accepts the
short passphrase after the warning as expected.

Details

Due Date
Dec 31 2008, 1:00 AM
Version
2.0.4

Event Timeline

bherzog set Version to 2.0.4.
bherzog added a subscriber: bernhard.
bherzog added a subscriber: bherzog.

Someone needs to debug it ;-) Use a wrapper for pinentry.

Is this still an an issue (2.0.4 is pretty old)?

werner set Due Date to Dec 31 2008, 1:00 AM.Dec 9 2008, 11:56 AM
werner claimed this task.
werner added a project: Info Needed.

No response, assuming it has been fixed.

Tested with gpgsm 2.0.10-svn4835 and pinentry-curses 0.7.4. Works fine now. I
did have to explicitly set GPG_TTY, though, to make pinentry-curses work, but
that's unrelated to this issue.

bherzog closed this task as Resolved.