Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Sep 2010 07:49:48 -0500
From:      jhall@socket.net
To:        freebsd-questions@freebsd.org
Subject:   GnuPG not allowing passphrase entry 
Message-ID:  <20100901124948.B2607ECAA6@mf3.socket.net>

next in thread | raw e-mail | index | archive | help
Ladies and Gentlemen,

I an attempting to decrypt a file using the following command line.

/usr/local/bin/gpg --output /usr/local/scripts/test. --no-default-keyring 
--secret-keyring 09-2010.sec --keyring 09-2010.pub --always-trust 
--decrypt --recipient Wed_Sep_1_00_01_00_CDT_2010@abc.org 
/usr/local/scripts/test.gpg 

When doing so, I receive the following output.

You need a passphrase to unlock the secret key for
user: "Wed_Sep_1_00_01_00_CDT_2010 (Monthly Archive Encryption Key) 
<Wed_Sep_1_00_01_00_CDT_2010@abc.org>" 
1024-bit ELG key, ID E8E5F849, created 2010-09-01 (main key ID 557E7C04)

gpg: cancelled by user
gpg: encrypted with 1024-bit ELG key, ID E8E5F849, created 2010-09-01
      "Wed_Sep_1_00_01_00_CDT_2010 (Monthly Archive Encryption Key) 
<Wed_Sep_1_00_01_00_CDT_2010@abc.org>" 
gpg: public key decryption failed: General error
gpg: decryption failed: No secret key

While the prompt to enter a passphrase does appear, it is skipped without 
allowing me to enter anything. 

gpg-agent is running.  I am running FreeBSD 8.0. My GnuPG version is 
2.0.14 

I have also tried adding the public and secret keys to the default keyring 
and receive the same result. 

Thanks for your help.




Jay




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100901124948.B2607ECAA6>