mirror of
git://git.gnupg.org/gnupg.git
synced 2024-10-31 20:08:43 +01:00
27 lines
461 B
Bash
Executable File
27 lines
461 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. $srcdir/defs.inc || exit 3
|
|
|
|
../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
|
|
EOF
|
|
|