1998-02-26 17:56:31 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
. defs.inc || exit 3
|
|
|
|
|
1998-07-08 11:29:43 +02:00
|
|
|
# I can't compare the out because plain-3 has no LF as last charcater
|
|
|
|
# but the output has always one. I do not thinkl this is a bug, because
|
|
|
|
# it is clear text and not binary text.
|
1998-02-26 17:56:31 +01:00
|
|
|
for i in $plain_files; do
|
1998-04-08 21:42:07 +02:00
|
|
|
echo "$usrpass1" | ./run-gpg --passphrase-fd 0 -sat -o x --yes $i
|
1998-07-08 11:29:43 +02:00
|
|
|
./run-gpg --verify x
|
|
|
|
done
|
|
|
|
# and once more to check rfc1991
|
|
|
|
for i in $plain_files; do
|
|
|
|
echo "$usrpass1" | ./run-gpg --passphrase-fd 0 \
|
|
|
|
--rfc1991 --digest-algo md5 -sat -o x --yes $i
|
|
|
|
./run-gpg --verify x
|
1998-02-26 17:56:31 +01:00
|
|
|
done
|
|
|
|
|