Skip to content

packit: allow SHA-1 signatures when tests are run#4796

Merged
guedou merged 1 commit into
secdev:masterfrom
evverx:fedora-sha1-signatures
Jul 17, 2025
Merged

packit: allow SHA-1 signatures when tests are run#4796
guedou merged 1 commit into
secdev:masterfrom
evverx:fedora-sha1-signatures

Conversation

@evverx

@evverx evverx commented Jul 17, 2025

Copy link
Copy Markdown
Contributor

The "PrivKey class : resign cert" test fails on Fedora because SHA-1 signatures are deprecated there:
https://fedoraproject.org/wiki/SHA1SignaturesGuidance. Since it's Fedora-specific and the test failure is useful in terms of detecting it and deciding how to address it in programs that use scapy in environments like that it should be enough to allow SHA-1 signatures on Packit only.

Closes #4794

(The testsuite still fails there on big-endian machines but it's unrelated: #4793)

The "PrivKey class : resign cert" test fails on Fedora because SHA-1
signatures are deprecated there:
https://fedoraproject.org/wiki/SHA1SignaturesGuidance. Since it's
Fedora-specific and the test failure is useful in terms of detecting it
and deciding how to address it in programs that use scapy in
environments like that it should be enough to allow SHA-1 signatures on
Packit only.

Closes secdev#4794
@codecov

codecov Bot commented Jul 17, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.03%. Comparing base (6584ebe) to head (5b11b9a).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4796   +/-   ##
=======================================
  Coverage   81.03%   81.03%           
=======================================
  Files         365      365           
  Lines       89027    89027           
=======================================
  Hits        72143    72143           
  Misses      16884    16884           

see 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@guedou guedou merged commit e2941ba into secdev:master Jul 17, 2025
24 checks passed
@gpotter2 gpotter2 added this to the 2.7.0 milestone Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The "PrivKey class : resign cert" test fails on Fedora Rawhide

3 participants