public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Net-DNS-SEC] f43: 1.28 bump
@ 2026-10-06 16:42 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-06 16:42 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-Net-DNS-SEC
Branch : f43
Commit : 9f049b18ebb8edfa1edf5e4aaffa0c43197730b1
Author : Petr Písař <ppisar@redhat.com>
Date   : 2026-10-06T18:42:07+02:00
Stats  : +6/-82 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Net-DNS-SEC/c/9f049b18ebb8edfa1edf5e4aaffa0c43197730b1?branch=f43

Log:
1.28 bump

---
diff --git a/.gitignore b/.gitignore
index a435617..c1e0743 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@ Net-DNS-SEC-0.14.tar.gz
 /Net-DNS-SEC-1.25.tar.gz
 /Net-DNS-SEC-1.26.tar.gz
 /Net-DNS-SEC-1.27.tar.gz
+/Net-DNS-SEC-1.28.tar.gz

diff --git a/Net-DNS-SEC-1.25-Skip-SHA-1-signature-tests-if-OpenSSL-errors.patch b/Net-DNS-SEC-1.25-Skip-SHA-1-signature-tests-if-OpenSSL-errors.patch
deleted file mode 100644
index 9dca69d..0000000
--- a/Net-DNS-SEC-1.25-Skip-SHA-1-signature-tests-if-OpenSSL-errors.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-From c9e735f97d1f2767f95de4175ca6e0155d0d5706 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
-Date: Wed, 24 Jul 2024 14:55:07 +0200
-Subject: [PATCH] Skip SHA-1 signature tests if OpenSSL errors
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Fedora 41 DEFAULT crypto policy disabled SHA-1 in signatures
-<https://fedoraproject.org/wiki/Changes/OpenSSLDistrustSHA1SigVer>. As
-a result OpenSSL cannot make or verify signatures using SHA-1 digest
-algorithm and two tests fail like this:
-
-    t/31-DSA-SHA1.t .... 1/13 libcrypto error (SEC.xs line 208) at /home/test/fedora/perl-Net-DNS-SEC/Net-DNS-SEC-1.25/blib/lib/Net/DNS/SEC/DSA.pm line 73.
-    # Looks like your test exited with 255 just after 7.
-    t/31-DSA-SHA1.t .... Dubious, test returned 255 (wstat 65280, 0xff00)
-    Failed 6/13 subtests
-
-Unfortunately OpenSSL does not provide a way how to detect the
-support/nonsupport. The only way is try it and check for errors.
-
-This patch does that.
-
-TODO: One could split computing the digest from computing/verifying
-the signature on Net-DNS-SEC level and check the policy before
-computing/verifying the signature.
-
-https://bugzilla.redhat.com/show_bug.cgi?id=2299447
-Signed-off-by: Petr Písař <ppisar@redhat.com>
----
- t/31-DSA-SHA1.t | 22 +++++++++++++---------
- 1 file changed, 13 insertions(+), 9 deletions(-)
-
-diff --git a/t/31-DSA-SHA1.t b/t/31-DSA-SHA1.t
-index 90c3d6d..2902eb1 100644
---- a/t/31-DSA-SHA1.t
-+++ b/t/31-DSA-SHA1.t
-@@ -110,23 +110,27 @@ ok( $wrongprivate, 'set up non-DSA private key' );
- my $sigdata = Net::DNS::RR->new('. TXT arbitrary data')->txtdata;    # character set independent
- my $corrupt = 'corrupted data';
- 
--my $signature = $class->sign( $sigdata, $private );
--ok( $signature, 'signature created using private key' );
-+my $signature = eval { $class->sign( $sigdata, $private ) };
-+SKIP: {
-+    skip 'DSA with SHA-1 disabled', 6 if $@;
- 
-+    ok( $signature, 'signature created using private key' );
- 
--my $verified = $class->verify( $sigdata, $key, $signature );
--is( $verified, 1, 'signature verified using public key' );
- 
-+    my $verified = $class->verify( $sigdata, $key, $signature );
-+    is( $verified, 1, 'signature verified using public key' );
- 
--my $verifiable = $class->verify( $corrupt, $key, $signature );
--is( $verifiable, 0, 'signature not verifiable if data corrupted' );
- 
-+    my $verifiable = $class->verify( $corrupt, $key, $signature );
-+    is( $verifiable, 0, 'signature not verifiable if data corrupted' );
- 
--is( eval { $class->sign( $sigdata, $wrongprivate ) }, undef, 'signature not created using wrong private key' );
- 
--is( eval { $class->verify( $sigdata, $wrongkey, $signature ) }, undef, 'verify fails using wrong public key' );
-+    is( eval { $class->sign( $sigdata, $wrongprivate ) }, undef, 'signature not created using wrong private key' );
- 
--is( eval { $class->verify( $sigdata, $key, undef ) }, undef, 'verify fails if signature undefined' );
-+    is( eval { $class->verify( $sigdata, $wrongkey, $signature ) }, undef, 'verify fails using wrong public key' );
-+
-+    is( eval { $class->verify( $sigdata, $key, undef ) }, undef, 'verify fails if signature undefined' );
-+}
- 
- exit;
- 
--- 
-2.45.2
-

diff --git a/perl-Net-DNS-SEC.spec b/perl-Net-DNS-SEC.spec
index da37170..a09b208 100644
--- a/perl-Net-DNS-SEC.spec
+++ b/perl-Net-DNS-SEC.spec
@@ -1,13 +1,10 @@
 Name:           perl-Net-DNS-SEC
-Version:        1.27
+Version:        1.28
 Release:        1%{?dist}
 Summary:        DNSSEC modules for Perl
 License:        HPND-MIT-disclaimer
 URL:            https://metacpan.org/release/Net-DNS-SEC
 Source0:        https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-SEC-%{version}.tar.gz
-# Adapt tests to a crypto policy without SHA-1, proposed to the upstream,
-# bug #2299447, CPAN RT#154526
-Patch0:         Net-DNS-SEC-1.25-Skip-SHA-1-signature-tests-if-OpenSSL-errors.patch
 # Build
 BuildRequires:  coreutils
 BuildRequires:  gcc
@@ -135,6 +132,9 @@ make test
 %{_libexecdir}/%{name}
 
 %changelog
+* Tue Oct 06 2026 Petr Pisar <ppisar@redhat.com> - 1.28-1
+- 1.28 bump
+
 * Mon Jan 19 2026 Petr Pisar <ppisar@redhat.com> - 1.27-1
 - 1.27 bump
 

diff --git a/sources b/sources
index 5704d78..943e933 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Net-DNS-SEC-1.27.tar.gz) = f2c1bfeabada94e4829fba24885c260421505be79b8680fa07cdfadabf33f427783428db159a22e3228baad85ecb0a67a72aba06093da6833657c99ded79688d
+SHA512 (Net-DNS-SEC-1.28.tar.gz) = 0e357c7e000f3d791379d58e388adb3c15d3440d793592624a399115b52d84a71184fa8b4a3850393c1db4e22cfd4df174efd5e165b40ff8b6d2cbf1772d622c

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-06 16:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 16:42 [rpms/perl-Net-DNS-SEC] f43: 1.28 bump 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox