diff options
author | Stig Palmquist <stig@stig.io> | 2020-07-21 18:44:02 +0200 |
---|---|---|
committer | Stig Palmquist <stig@stig.io> | 2020-07-24 16:12:45 +0200 |
commit | e68e4ca4b060df89de094c3923e8aa97c889fedd (patch) | |
tree | cf9a257ddaabef3aa63325d14ab27cdc48d8a192 /pkgs/development/perl-modules | |
parent | d4a75057a34019819b0bf586fa8fb2126cd9c625 (diff) |
perlPackages.CryptOpenPGP: init at 1.12
dependencies: perlPackages.AltCryptRSABigInt: init at 0.06 perlPackages.ConvertASCIIArmour: init at 1.4 perlPackages.CryptCAST5_PP: init at 1.04 perlPackages.CryptDES_EDE3: init at 0.01 perlPackages.CryptDSA: init at 1.17 perlPackages.CryptRIPEMD160: init at 0.06 perlPackages.CryptTwofish: init at 2.17 perlPackages.DataBuffer: init at 0.04 perlPackages.DigestMD2: init at 2.04 perlPackages.MathPrimeUtil: init at 0.73 perlPackages.MathPrimeUtilGMP: init at 0.52 perlPackages.TieEncryptedHash: init at 1.24
Diffstat (limited to 'pkgs/development/perl-modules')
-rw-r--r-- | pkgs/development/perl-modules/crypt-openpgp-remove-impure-keygen-tests.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/perl-modules/crypt-openpgp-remove-impure-keygen-tests.patch b/pkgs/development/perl-modules/crypt-openpgp-remove-impure-keygen-tests.patch new file mode 100644 index 0000000000000..70dc0826276b6 --- /dev/null +++ b/pkgs/development/perl-modules/crypt-openpgp-remove-impure-keygen-tests.patch @@ -0,0 +1,30 @@ +diff --git a/t/13-keygen.t b/t/13-keygen.t +index f430ffb..2050624 100644 +--- a/t/13-keygen.t ++++ b/t/13-keygen.t +@@ -1,5 +1,5 @@ + use strict; +-use Test::More tests => 29; ++use Test::More tests => 25; + + use Crypt::OpenPGP; + use Crypt::OpenPGP::Message; +@@ -26,9 +26,6 @@ for my $type ( qw( RSA DSA ) ) { + isa_ok $pub->key, 'Crypt::OpenPGP::Certificate'; + isa_ok $sec->key, 'Crypt::OpenPGP::Certificate'; + +- is $pub->key->key_id, $sec->key->key_id, +- 'public key_id matches secret key_id'; +- + is $pub->primary_uid, $id, 'primary_uid matches'; + + is $pub->key->key->size, $bits, 'keysize (in bits) matches for pubkey'; +@@ -47,8 +44,6 @@ for my $type ( qw( RSA DSA ) ) { + isa_ok $pieces[1], 'Crypt::OpenPGP::UserID'; + isa_ok $pieces[2], 'Crypt::OpenPGP::Signature'; + +- is $pieces[0]->key_id, $sec->key->key_id, +- 'serialized public key_id matches secret key_id'; + } + + { |