Bug 2299171 - perl-Crypt-OpenSSL-DSA-0.20-28.fc41 FTBFS: tests fail with forbidden SHA-1
Summary: perl-Crypt-OpenSSL-DSA-0.20-28.fc41 FTBFS: tests fail with forbidden SHA-1
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Crypt-OpenSSL-DSA
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://fedoraproject.org/wiki/Change...
Whiteboard:
Depends On:
Blocks: F41FTBFS
TreeView+ depends on / blocked
 
Reported: 2024-07-22 07:12 UTC by Petr Pisar
Modified: 2024-07-22 10:41 UTC (History)
4 users (show)

Fixed In Version: perl-Crypt-OpenSSL-DSA-0.20-30.fc41
Clone Of:
Environment:
Last Closed: 2024-07-22 10:41:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kmx perl-Crypt-OpenSSL-DSA issues 12 0 None open t/90-openssl-compat.t fails if OpenSSL does not support SHA-1 for signature purposes 2024-07-22 07:44:06 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.