root/openpgpsdk/trunk/examples/create-gpg-key.sh
| Revision 139 (checked in by ben, 8 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | # Make a GPG keyring for testing purposes... |
| 4 | |
| 5 | rm -f ../testdata/t1.pub ../testdata/t1.sec |
| 6 | |
| 7 | gpg --gen-key --batch <<EOF |
| 8 | #%dry-run |
| 9 | %pubring ../testdata/t1.pub |
| 10 | %secring ../testdata/t1.sec |
| 11 | Key-Type: rsa |
| 12 | Name-Real: OPS Test |
| 13 | Name-Comment: This is a test |
| 14 | Name-Email: ops@links.org |
| 15 | %commit |
| 16 | EOF |
Note: See TracBrowser for help on using the browser.
