[prev in list] [next in list] [prev in thread] [next in thread]
List: gnupg-users
Subject: Newbie question
From: Todd Hesla <hesla () aem ! umn ! edu>
Date: 2007-11-20 23:06:12
Message-ID: 20071120230612.GA13233 () aem ! umn ! edu
[Download RAW message or body]
I am a newbie to GnuPG, and am using gpg-agent so that I only need to enter
my passphrase once. If I decrypt a file (which I encrypted to myself), I am
of course asked to enter my passphrase. If I decrypt it a second time,
gpg-agent supplies my passphrase from its cache. However, gpg2 still displays
the passphrase prompt-message in the terminal:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$$ 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@aem.umn.edu>"
2048-bit ELG key, ID 1C0B50A0, created 2007-11-20 (main key ID 65A3115F)
Test.
$$
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
How can I get rid of this prompt-message? Apparently, it is not sufficient
to just re-direct standard output and standard error to "/dev/null":
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$$ gpg2 -d test.gpg &>/dev/null
You need a passphrase to unlock the secret key for
user: "Todd Hesla (General) <hesla@aem.umn.edu>"
2048-bit ELG key, ID 1C0B50A0, created 2007-11-20 (main key ID 65A3115F)
$$
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Any tips on how to eliminate this prompt-message (when I decrypt the file
the second time) will be very much appreciated.
Thank you.
--
Todd Hesla
Department of Aerospace Engineering and Mechanics
University of Minnesota
Minneapolis, Minnesota
USA
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic