
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] Bash redirection problem
- Date: Mon, 26 Mar 2007 18:56:12 -0500
- From: Stuart Luppescu <s-luppescu@example.com>
- Subject: [tlug] Bash redirection problem
- User-agent: Thunderbird 1.5.0.10 (X11/20070325)
I'm trying to write a bash script to automate encryption and decryption
of a gnumeric spreadsheet. I thought I'd feed gpg the passphrase from a
file like this:
gpg -d ccinfo.gnumeric.gpg < $HOME/cc/passphrase > $HOME/cc/ccinfo.gnumeric
But each time I run the script it prompts me to enter my passphrase.
Then a little ways down in the script I have this line:
gpg -e ccinfo.gnumeric < $HOME/cc/key
When it gets to this line, it prompts me for my key ID.
Any idea why this is not working? Is gpg weird or have I made a dumb
mistake?
Thanks.
(Yes, I know this is very insecure, but I don't really need much
security for this purpose.)
--
Stuart Luppescu -=-=- s-luppescu <AT> uchicago <DOT> edu
CCSR at U of C ,.;-*^*-;., ccsr.uchicago.edu
(^_^)/ 才文と智奈美の父
Thank God I'm an atheist!
Home |
Main Index |
Thread Index