diff options
author | Werner Koch <wk@gnupg.org> | 2014-08-12 10:36:30 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-08-14 11:03:55 +0200 |
commit | 2b8d8369d59249b89526c18c5ac276e6445dc35e (patch) | |
tree | cee8f7b5adb668e0893ab13812c571db329b119b /tests/openpgp | |
parent | build: Fix autogen.sh base version hack. (diff) | |
download | gnupg2-2b8d8369d59249b89526c18c5ac276e6445dc35e.tar.xz gnupg2-2b8d8369d59249b89526c18c5ac276e6445dc35e.zip |
gpg: Remove options --pgp2 and --rfc1991.
* g10/gpg.c (oRFC1991, oPGP2): Remove
(opts): Remove --pgp2 and --rfc1991.
* g10/options.h (CO_PGP2, CO_RFC1991): Remove. Remove all users.
(RFC2440, PGP2): Remove. Remove all code only enabled by these
conditions.
* tests/openpgp/clearsig.test: Remove --rfc1991 test.
--
The use of PGP 2.c is considered insecure for quite some time
now (e.g. due to the use of MD5). Thus we remove all support for
_creating_ PGP 2 compatible messages.
Diffstat (limited to 'tests/openpgp')
-rwxr-xr-x | tests/openpgp/clearsig.test | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/tests/openpgp/clearsig.test b/tests/openpgp/clearsig.test index 74631e180..bf67916d0 100755 --- a/tests/openpgp/clearsig.test +++ b/tests/openpgp/clearsig.test @@ -24,17 +24,6 @@ done # ====================================== -# and once more to check rfc1991 -# ====================================== - -if have_pubkey_algo "RSA"; then - for i in $plain_files plain-large ; do - $GPG -u $usrname3 --rfc1991 --digest-algo md5 --clearsign -o x --yes $i - $GPG --verify x - done -fi - -# ====================================== # and one with long lines # ====================================== cat >y <<EOF @@ -100,7 +89,7 @@ cat >y <<EOF } /* ask for file and hash it */ - if( c->sigs_only ) { -+ 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 ); |