Mailing List Archive
tlug.jp Mailing List tlug archive tlug 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!
- Follow-Ups:
- Re: [tlug] Bash redirection problem
- From: Darren Cook
- Re: [tlug] Bash redirection problem
- From: Bryan Buecking
- Re: [tlug] Bash redirection problem
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] No sound in Flash... help not helping
- Next by Date: Re: [tlug] Bash redirection problem
- Previous by thread: Re: [tlug] No sound in Flash... help not helping [SOLVED]
- Next by thread: Re: [tlug] Bash redirection problem
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links