#!/bin/sh # Fixme: we should not only do a --verify but also the output. . $srcdir/defs.inc || exit 3 # ====================================== # 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. # ====================================== for i in $plain_files plain-large ; do echo "$usrpass1" | $GPG --passphrase-fd 0 -sat -o x --yes $i $GPG --verify x done # ====================================== # and once more to check rfc1991 # ====================================== for i in $plain_files plain-large ; do echo "$usrpass1" | $GPG --passphrase-fd 0 \ --rfc1991 --digest-algo md5 -sat -o x --yes $i $GPG --verify x done # ====================================== # and one with long lines # ====================================== cat >y <y <y <y <y echo_n " " >>y echo "$usrpass1" | $GPG --passphrase-fd 0 --clearsign -o x --yes y $GPG --verify x # ====================================== # check our special diff mode # ====================================== cat >y <mfx.md, n1->pkt->pkt.signature->digest_algo); } /* ask for file and hash it */ - if( c->sigs_only ) { + if( c->sigs_only ) rc = hash_datafiles( c->mfx.md, NULL, c->signed_data, c->sigfilename, n1? (n1->pkt->pkt.onepass_sig->sig_class == 0x01):0 ); EOF echo "$usrpass1" | $GPG --passphrase-fd 0 \ --not-dash-escaped --clearsign -o x --yes y $GPG --verify x