[Rt-commit] rt branch, 5.0/support-gpg2, updated. rt-5.0.0alpha1-23-g98ae37c147

Aaron Trevena ast at bestpractical.com
Fri May 8 11:17:10 EDT 2020


The branch, 5.0/support-gpg2 has been updated
       via  98ae37c1472f70665410f4cae2e195bc22e91681 (commit)
      from  c0104ee00f29d889b5ac57560de84057cc8a9484 (commit)

Summary of changes:
 t/security/CVE-2012-4735-sign-any-key.t | 1 +
 1 file changed, 1 insertion(+)

- Log -----------------------------------------------------------------
commit 98ae37c1472f70665410f4cae2e195bc22e91681
Author: Aaron Trevena <ast at bestpractical.com>
Date:   Fri May 8 16:16:58 2020 +0100

    fixes for crypto tests for GnuPG 2.2

diff --git a/t/security/CVE-2012-4735-sign-any-key.t b/t/security/CVE-2012-4735-sign-any-key.t
index 248df9c55e..177267c795 100644
--- a/t/security/CVE-2012-4735-sign-any-key.t
+++ b/t/security/CVE-2012-4735-sign-any-key.t
@@ -16,6 +16,7 @@ my %secret_keys;
 {
     my %info = RT::Crypt->GetKeysInfo( Type => 'private', Force => 1 );
     for my $key (@{$info{info}}) {
+        next unless ($key->{User}[0]);
         my $user = $key->{User}[0]{String};
         $user = (Email::Address->parse( $user ))[0]->address;
         $secret_keys{$user} = $key->{Key};

-----------------------------------------------------------------------


More information about the rt-commit mailing list