German "umlauts" in passphrase

Werner Koch wk at
Wed Jul 19 11:48:53 CEST 2006

On Tue, 18 Jul 2006 17:47, Patrick Brunschwig said:

> How about some new command line parameters that specify the charset of
> the passphrase provided and/or the charset in which the passphrase is
> stored on the keyring?

We don't know the charset used.  In fact, gpg considers the passphrase
as binary data with the only exception that a null byte or a LF
termintate that data.

  printf "strange passp\xf3rase\n" | gpg --passphrase-fd 0 ....

Might come handy if it is not possible to enter the passphrase
directly due to a changed locale.



More information about the Gnupg-users mailing list