File: roundtrip-raw.sh

package info (click to toggle)
paperkey 1.2-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 1,096 kB
  • ctags: 655
  • sloc: ansic: 3,844; sh: 3,816; makefile: 77
file content (7 lines) | stat: -rwxr-xr-x 305 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh

# $Id: roundtrip-raw.sh 309 2007-09-21 21:27:49Z dshaw $

../paperkey --secret-key ${srcdir}/papertest.sec --output-type raw --output papertest.bin || exit 1
../paperkey --secrets papertest.bin --pubring ${srcdir}/papertest.pub --output regen.pgp || exit 1
cmp ./regen.pgp ${srcdir}/verify.pgp