Bug 2299171

Summary: perl-Crypt-OpenSSL-DSA-0.20-28.fc41 FTBFS: tests fail with forbidden SHA-1
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Crypt-OpenSSL-DSAAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: perl-devel, perl-maint, ppisar, wjhns174
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://fedoraproject.org/wiki/Changes/OpenSSLDistrustSHA1SigVer
Whiteboard:
Fixed In Version: perl-Crypt-OpenSSL-DSA-0.20-30.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-22 10:41:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2260875    

Description Petr Pisar 2024-07-22 07:12:38 UTC
perl-Crypt-OpenSSL-DSA-0.20-28.fc41 fails to build in Fedora 41 with crypto-policies ≥ 20240717-1.git154fd4e.fc41 because a test fails:

Error setting context
80A2E438C27F0000:error:03000098:digital envelope routines:do_sigver_init:invalid digest:crypto/evp/m_si
gver.c:342:
# Test 6 got: "0" (t/90-openssl-compat.t at line 59)
#   Expected: "1"
#  t/90-openssl-compat.t line 59 is:         ok($openssl_think, 1);

The trigger is that a default cryptopolicy disabled SHA-1 for signature purposes.

Comment 1 Petr Pisar 2024-07-22 07:44:06 UTC
I proposed fixes to the upstream <https://github.com/kmx/perl-Crypt-OpenSSL-DSA/issues/12>. Let's wait a reply.