mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
e68e4ca4b0
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
31 lines
914 B
Diff
31 lines
914 B
Diff
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';
|
|
}
|
|
|
|
{
|