summaryrefslogtreecommitdiffstats
path: root/doc/mksamplekeys
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2012-03-26 15:48:47 +0200
committerWerner Koch <wk@gnupg.org>2012-03-26 15:48:47 +0200
commit7441e622ffb3296686bd0d7f04b4051466aaad38 (patch)
tree9a6e6e016df7f54c953c2f07d37ba1f5fc39bcc7 /doc/mksamplekeys
parentReplace npth_yield in busy wait by npth_usleep. (diff)
downloadgnupg2-7441e622ffb3296686bd0d7f04b4051466aaad38.tar.xz
gnupg2-7441e622ffb3296686bd0d7f04b4051466aaad38.zip
Add mksamplekeys script.
* doc/mksamplekeys: New. -- Note that we have the same script in the 1.4 branch. That should be removed and only this one shall be used.
Diffstat (limited to 'doc/mksamplekeys')
-rwxr-xr-xdoc/mksamplekeys11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/mksamplekeys b/doc/mksamplekeys
new file mode 100755
index 000000000..bb04cec89
--- /dev/null
+++ b/doc/mksamplekeys
@@ -0,0 +1,11 @@
+#/bin/sh
+# Generate a samplekeys.asc
+
+keys='1E42B367 99242560 87978569
+ 4F25E3B6 5B0358A2 57548DCD B2D7795E 1CE0C630'
+
+for i in $keys; do
+ gpg --list-keys $i | awk ' { print " " $0 }'
+done
+echo
+gpg --export-options export-minimal --export -a $keys