* gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key, send_key_keyserver):
[gnupg.git] / checks / signencrypt.test
blob1d05990fce1131d838341bbca817814c4ae4e39a
1 #!/bin/sh
3 . $srcdir/defs.inc || exit 3
6 #info Checking signing and encryption
7 for i in $plain_files $data_files ; do
8 echo "$usrpass1" | $GPG --passphrase-fd 0 --always-trust \
9 -se -o x --yes -r "$usrname2" $i
10 $GPG -o y --yes x
11 cmp $i y || error "$i: mismatch"
12 done