Re: Scripted GPG-encrypted mails

2002-02-08 Thread Dave Smith
On Fri, Feb 08, 2002 at 07:24:27AM +0100, [EMAIL PROTECTED] wrote: It will at some point either require you to 1. Have an empty passphrase (not recommended) 2. Enter your passphrase (not so practical, may be?) 3. Have a script that contains the passphrase (security issue,

Scripted GPG-encrypted mails

2002-02-07 Thread Dave Smith
Hi all. I'm trying to write a script which will mail any file specified as an argument, to a specific user. However, I need the mail to be sent GPG-encrypted. Obviously, I can use cat file | gpg -e -a -r [EMAIL PROTECTED] | mutt -s Hello World [EMAIL PROTECTED] Or equivalent, but that's a

Re: Scripted GPG-encrypted mails

2002-02-07 Thread John Buttery
On Thu, Feb 07, 2002 at 02:23:49PM +, Dave Smith wrote: Hi all. I'm trying to write a script which will mail any file specified as an argument, to a specific user. However, I need the mail to be sent GPG-encrypted. Obviously, I can use cat file | gpg -e -a -r [EMAIL PROTECTED] | mutt -s

Re: Scripted GPG-encrypted mails

2002-02-07 Thread Dave Smith
On Thu, Feb 07, 2002 at 09:30:03AM -0600, [EMAIL PROTECTED] wrote: Well, I'm not sure how to do this on the command line, but in a script (or possibly on the command line given enough voodoo) you could gpg-encrypt the file first, use --output to generate a gpg-crypted output file, and then

Re: Scripted GPG-encrypted mails

2002-02-07 Thread Jeremy Blosser
On Feb 07, Dave Smith [[EMAIL PROTECTED]] wrote: On Thu, Feb 07, 2002 at 09:30:03AM -0600, [EMAIL PROTECTED] wrote: Well, I'm not sure how to do this on the command line, but in a script (or possibly on the command line given enough voodoo) you could gpg-encrypt the file first, use

Re: Scripted GPG-encrypted mails

2002-02-07 Thread Magnus Bodin
On Thu, Feb 07, 2002 at 02:23:49PM +, Dave Smith wrote: Hi all. I'm trying to write a script which will mail any file specified as an argument, to a specific user. However, I need the mail to be sent GPG-encrypted. It will at some point either require you to 1. Have an empty

Re: Scripted GPG-encrypted mails

2002-02-07 Thread Gerhard Hring
Le 08/02/02 à 07:24, Magnus Bodin écrivit: On Thu, Feb 07, 2002 at 02:23:49PM +, Dave Smith wrote: Hi all. I'm trying to write a script which will mail any file specified as an argument, to a specific user. However, I need the mail to be sent GPG-encrypted. It will at some

Re: Scripted GPG-encrypted mails

2002-02-07 Thread Will Yardley
Magnus Bodin wrote: On Thu, Feb 07, 2002 at 02:23:49PM +, Dave Smith wrote: I'm trying to write a script which will mail any file specified as an argument, to a specific user. However, I need the mail to be sent GPG-encrypted. It will at some point either require you to