assuan/
[gnupg.git] / checks / armsignencrypt.test
blobf8ffdaf4dbc4383d0e85c24d7a12602923ab15cf
1 #!/bin/sh
3 . $srcdir/defs.inc || exit 3
6 #info Checking armored signing and encryption
7 for i in $plain_files $data_files ; do
8 echo "$usrpass1" \
9 | $srcdir/run-gpg --passphrase-fd 0 -sae -o x --yes -r "$usrname2" $i
10 $srcdir/run-gpg -o y --yes x
11 cmp $i y || error "$i: mismatch"
12 done