Skip to content

Commit 5b11b9a

Browse files
committed
packit: allow SHA-1 signatures when tests are run
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
1 parent 6584ebe commit 5b11b9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.packit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ actions:
1717
- "git clone https://src.fedoraproject.org/rpms/scapy .packit_rpm --depth=1"
1818
# Drop the "sources" file so rebase-helper doesn't think we're a dist-git
1919
- "rm -fv .packit_rpm/sources"
20-
- "sed -i '/^# check$/a%check\\nOPENSSL_CONF=$(python3 ./.config/ci/openssl.py) ./test/run_tests -c test/configs/linux.utsc -K ci_only -K scanner' .packit_rpm/scapy.spec"
20+
- "sed -i '/^# check$/a%check\\nOPENSSL_ENABLE_SHA1_SIGNATURES=1 OPENSSL_CONF=$(python3 ./.config/ci/openssl.py) ./test/run_tests -c test/configs/linux.utsc -K ci_only -K scanner' .packit_rpm/scapy.spec"
2121
- "sed -i '/^BuildArch/aBuildRequires: can-utils' .packit_rpm/scapy.spec"
2222
- "sed -i '/^BuildArch/aBuildRequires: libpcap' .packit_rpm/scapy.spec"
2323
- "sed -i '/^BuildArch/aBuildRequires: openssl' .packit_rpm/scapy.spec"

0 commit comments

Comments
 (0)