decryption failed: secret key not available

Werner Koch
Tue Apr 22 19:25:02 2003

On Tue, 22 Apr 2003 11:04:50 -0400, Jacques Dejean said:

> # echo '$PGPPASS' | gpg -v -v --passphrase-fd 0 --no-default-keyring -r

You know that the passphrase is available to all users on most OSes?
Better don't use a passphrase at all.

> gpg: encrypted with 2048-bit ELG-E key, ID 123ABC4D, created 2001-09-11
>       "Jacques Victor Dejean <>"
> gpg: public key decryption failed: bad passphrase

May it be that your passphrase has a character with the high bit set and
that the codepages used on Windows and HP are different?

  Nonviolence is the greatest force at the disposal of
  mankind. It is mightier than the mightiest weapon of
  destruction devised by the ingenuity of man. -Gandhi