Re: sign a mail message from command line

2000-01-13 Thread Shao Zhang
Michael Elkins [[EMAIL PROTECTED]] wrote: > On Fri, Jan 14, 2000 at 01:52:16PM +1100, Shao Zhang wrote: > > now, the emails looks the exactly the same as the old style PGP signed > > message, but when I view it in mutt, mutt shows that it is just a normal > > message. Do I need to add additional h

Re: sign a mail message from command line

2000-01-13 Thread Michael Elkins
On Fri, Jan 14, 2000 at 01:52:16PM +1100, Shao Zhang wrote: > now, the emails looks the exactly the same as the old style PGP signed > message, but when I view it in mutt, mutt shows that it is just a normal > message. Do I need to add additional header info such as Content-Type?? > > Or the abov

Re: sign a mail message from command line

2000-01-13 Thread Shao Zhang
Ok, thanks, now the question is a bit off topic. I tried to use a perl script to automate this, here is the code: use PGP::Sign; $PGP::Sign::PGPPATH = "/root/.pgp"; open(DATA, "$path/mutt.header.$$"); @data = ; close DATA; $keyid = "dns\@cia.com.au"; $passphrase = "hello world"; ($signature, $

Re: sign a mail message from command line

2000-01-13 Thread Michael Elkins
On Fri, Jan 14, 2000 at 12:38:05PM +1100, Shao Zhang wrote: > Is it possible to send a signed message using mutt and pgp5 from > the command line?? Not in batch mode, but you could do something like mutt -e 'set pgp_autosign' [EMAIL PROTECTED] to get a one time pgp signature