File: mksamplekeys

package info (click to toggle)
gnupg2 2.4.8-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 49,392 kB
  • sloc: ansic: 287,606; sh: 7,938; lisp: 6,735; makefile: 1,982; awk: 160; xml: 53; sed: 16; python: 16; php: 14; perl: 13
file content (10 lines) | stat: -rwxr-xr-x 279 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
#/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 '{ if ( $0 != "") print "  " $0; else print $0; }'
done
echo
gpg --export-options export-minimal --export -a $keys