Page MenuHome GnuPG

gpg dont't accecpt passphrases with special char's on Windows
Closed, ResolvedPublic

Description

Release: 1.4.2

Environment

Windows 2000 SP4

Description

When I try to decrypt/sign with a key where the passphrase contains german special keys like ö,ü,ä,ß the gpg will not acept the correct phrase.

How To Repeat

try to sign/decrypt an file where the passphrase contains german special keys.

Fix

Unknown

Event Timeline

werner added a subscriber: werner.

We need more info. In particular how did you set the passphrase in the first
place (Using WinPT or the command line).

It seems as if I hit the same problem (see T704).
The only way I get decryption working is to run gpg in CygWin environment and
piped the passphrase to gpg.
Example:
PW='secret passphrase'
echo $PW | gpg --passphrase-fd 0 -d <encrypted file> or
cat - | gpg --passphrase-fd 0 -d <encrypted file>