1998-02-26 16:56:31 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
1998-09-14 10:33:57 +00:00
|
|
|
. $srcdir/defs.inc || exit 3
|
1998-02-26 16:56:31 +00:00
|
|
|
|
2001-09-06 17:10:00 +00:00
|
|
|
../g10/gpg --quiet --batch --quick-random --homedir . --gen-key <<EOF
|
|
|
|
Key-Type: DSA
|
|
|
|
Key-Length: 1024
|
|
|
|
Subkey-Type: ELG-E
|
|
|
|
Subkey-Length: 1024
|
|
|
|
Name-Real: Harry H.
|
|
|
|
Name-Comment: test key
|
|
|
|
Name-Email: hh@@ddorf.de
|
|
|
|
Expire-Date: 1
|
|
|
|
Passphrase: abc
|
|
|
|
%commit
|
|
|
|
Key-Type: RSA
|
|
|
|
Key-Length: 1024
|
|
|
|
Key-Usage: sign,encrypt
|
|
|
|
Name-Real: Harry A.
|
|
|
|
Name-Comment: RSA test key
|
|
|
|
Name-Email: hh@@ddorf.de
|
|
|
|
Expire-Date: 2
|
|
|
|
Passphrase: abc
|
|
|
|
%commit
|
1998-02-26 16:56:31 +00:00
|
|
|
EOF
|
|
|
|
|