Gpg and batch

Atom Smasher atom at smasher.org
Fri Jan 21 08:46:38 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Thu, 20 Jan 2005, Kiefer, Sascha wrote:

> I know it is possible to do something like this:
>
> Step 1: Save parameters to a file i.e. "def.inc"
> Key-Type: DSA
> Key-Length: 1024
> Subkey-Type: ELG-E
> Subkey-Length: 1024
> Name-Real: Joe Tester
> Name-Comment: this is a test
> Name-Email: joe at test.com
> Expire-Date: 0
> Passphrase: abcdefg
>
> Step 2: From the command prompt issue the following:
> gpg --batch --key-gen def.inc
>
>
> Is this possible for every gpg command?
> If yes, where can i find a list of those parameters like "Key-Type",
> "Key-Length", "Passphrase" and so on?
===================

i'm not sure what you're trying to automate with every command, but the 
details for "Unattended key generation" are in the "DETAILS" file 
installed with gnupg documentation. it includes a list of parameters.


- -- 
         ...atom

  _________________________________________
  PGP key - http://atom.smasher.org/pgp.txt
  762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
  -------------------------------------------------

 	"The proper time to influence the character of a
 	 child is about a hundred years before he's born."
 		-- William R. Inge (1913-1973)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
Comment: What is this gibberish?
Comment: http://atom.smasher.org/links/#digital_signatures

iQEcBAEBCAAGBQJB8LNkAAoJEAx/d+cTpVciDXYH/R3B1yTB21iR9RPunuhtna1J
q+Tci6dkcI8aopUHcyhqUI/4I/mlnwuDxcaJ4j7gscDoIQe0cRlLYnzrwzrKe/gx
vmqViAn2HdKAqx0r6svEmWGsHbWKjBaxkGVwVx+eKkWb4bbn44hvb+FiAoNZ2hqR
y3xSl/1X25qO2mDwznqaieJ3DWblY3WNekGAT5Ls/2SNG77cB64qdo+UOfD0N8wj
F2Mqc0+y/84/myucmXCCRGmo0iFGq1xWYVztaSkC+04Me5GDa6Rtg1FEvqVahTR2
H++EoG+vsVkApN+j+EQiDMKLjLcKA6U7jqIPz9jGGYati+yqzBIIZXwnG/wE350=
=9mYI
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list