A Key-gen-config file that autodeletes?

Edward Khoo edwardkkb@cheerful.com
Tue Sep 11 10:27:01 2001


Hmmm....it did not work as I do not know the format to pass in the 
correct information for gpg to be able to automate the action.
Is there a default format? I tried with a semi-colon separated list -- 
eg. "1;1024;1m;My Name; myname@some.mail.net;Just my 
crypto;passphrase;passphrase"
and it does not work.

The error I  receive : --
gpg: -:1: missing colon

Anyone can enlighten me? :-)

Werner Kock wrote:
 > #!/bin/sh
 > gpg --gen-key --batch <$1
 > rm $1

Edward Khoo wrote:


> Hi folks,
>
> Errr...
> Is there any way to have gpg use a configuration file (semi-colon
> separated list?) to get the necessary information --
> name;email;comment;cipher choice; key length; expiry date; and
> passphrase. And then rm/shred the configuration files automatically?
>
> Willing to discuss.
>
> Prost,
> Edward
>
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
>