4 msgRedistributing the GnuPG Windows Binary
3 msg[offtopic] OpenGPG Smartcard with keylength >...
3 msg[Announce] Libgcrypt 1.4.0 (stable) released
6 msgCombining Secret Keys
3 msgError: 'gpg: mpi too large for this implementat...
2 msgError when signing a mail with Evolution
4 msgGNUpg 2.0.7 installation
1 msgnew (2007-11-25) keyanalyze results (+sigcheck)
3 msgValidating encrypted files
4 msg'Tis the season.
2 msgsignature format
1 msg[Announce] Libgcrypt 1.3.2 (devel) released
2 msgSHA-224 problem

Needless passphrase prompt
\ Todd Hesla (29 Nov 2007)
. \ Werner Koch (30 Nov 2007)

4 msgStrange decryption problem (block_filter read e...
2 msgError: this may be caused by a missing self-sig...
3 msg2 keys with same passwords and email on keyserv...
2 msgartifacts and file name insert themselves befor...
7 msgEncryption keys: RSA vs. ElGamal
8 msgRevoke a key - What is with the decrypted messa...
Subject:Needless passphrase prompt
Group:Gnupg-users
From:Todd Hesla
Date:29 Nov 2007


 
This is a re-posting (in modified form) of a recent posting of mine under
another subject heading ("Newbie question") which has not yet received any
response.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I am running GnuPG 2.0.3 on Fedora 7. I am using gpg-agent, and find that
even after gpg-agent has cached my passphrase, gpg2 (needlessly) issues a
passphrase prompt to the terminal when it needs to access my secret key.
(The "pinentry" dialog window, however, does not appear.)

Is there any way to eliminate this needless passphrase prompt? I have tried
redirecting both standard output and standard error to /dev/null, but to no
avail.

In the following example, I first encrypt (to myself) and then decrypt
a test file--after gpg-agent has already cached my passphrase.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$$ ll test*
-rw-rw-r-- 1 todd todd 6 2007-11-20 15:14 test
$$ cat test
Test.
$$ gpg2 -e test
$$ ll test*
-rw-rw-r-- 1 todd todd 6 2007-11-20 15:14 test
-rw-rw-r-- 1 todd todd 599 2007-11-20 16:26 test.gpg
$$ gpg2 -d test.gpg

You need a passphrase to unlock the secret key for
user: "Todd Hesla (General) <hesla>"
2048-bit ELG key, ID 1C0B50A0, created 2007-11-20 (main key ID 65A3115F)

Test.
$$ gpg2 -d test.gpg &>/dev/null

You need a passphrase to unlock the secret key for
user: "Todd Hesla (General) <hesla>"
2048-bit ELG key, ID 1C0B50A0, created 2007-11-20 (main key ID 65A3115F)

$$
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Thanks for any help you can give me.

--
Todd Hesla
Department of Aerospace Engineering and Mechanics
University of Minnesota
Minneapolis, Minnesota
USA

_______________________________________________
Gnupg-users mailing list
Gnupg-users
http://lists.gnupg.org/mailman/listinfo/gnupg-users


© 2004-2008 readlist.com