public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sequoia-openpgp] epel9: Update to version 2.4.2; Fixes RHBZ#2552944
@ 2026-11-16 22:37 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-11-16 22:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-sequoia-openpgp
Branch : epel9
Commit : e1c585eb33f5fbc684bba4cc146d8c18554d5b72
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-11-16T23:27:05+01:00
Stats  : +14/-60 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-sequoia-openpgp/c/e1c585eb33f5fbc684bba4cc146d8c18554d5b72?branch=epel9

Log:
Update to version 2.4.2; Fixes RHBZ#2552944

---
diff --git a/.gitignore b/.gitignore
index 0da43c1..9c4eb53 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@
 /sequoia-openpgp-2.3.0.crate
 /sequoia-openpgp-2.4.0.crate
 /sequoia-openpgp-2.4.1.crate
+/sequoia-openpgp-2.4.2.crate

diff --git a/0001-reintroduce-ripemd160-support-for-the-ossl-backend.patch b/0001-reintroduce-ripemd160-support-for-the-ossl-backend.patch
deleted file mode 100644
index 3093d72..0000000
--- a/0001-reintroduce-ripemd160-support-for-the-ossl-backend.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From c76fe69fbb5d26f590658c804a179aef76e07525 Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe@gmail.com>
-Date: Wed, 23 Sep 2026 15:10:07 +0200
-Subject: [PATCH] reintroduce ripemd160 support for the ossl backend
-
-Partial backport without Cargo.toml / Cargo.lock changes of:
-https://gitlab.com/sequoia-pgp/sequoia/-/commit/28ee4bfd
----
- src/crypto/backend/openssl/hash.rs | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/crypto/backend/openssl/hash.rs b/src/crypto/backend/openssl/hash.rs
-index 2259532..e33120c 100644
---- a/src/crypto/backend/openssl/hash.rs
-+++ b/src/crypto/backend/openssl/hash.rs
-@@ -9,6 +9,7 @@ impl TryFrom<HashAlgorithm> for DigestAlg {
-     fn try_from(a: HashAlgorithm) -> std::result::Result<Self, Self::Error> {
-         match a {
-             HashAlgorithm::MD5 => Ok(DigestAlg::Md5),
-+            HashAlgorithm::RipeMD => Ok(DigestAlg::RipeMd160),
-             HashAlgorithm::SHA1 => Ok(DigestAlg::Sha1),
-             HashAlgorithm::SHA256 => Ok(DigestAlg::Sha2_256),
-             HashAlgorithm::SHA384 => Ok(DigestAlg::Sha2_384),
-@@ -18,7 +19,6 @@ impl TryFrom<HashAlgorithm> for DigestAlg {
-             HashAlgorithm::SHA3_512 => Ok(DigestAlg::Sha3_512),
-             HashAlgorithm::Private(_)
-                 | HashAlgorithm::Unknown (_)
--                | HashAlgorithm::RipeMD
-                 => Err(crate::Error::UnsupportedHashAlgorithm(a)),
-         }
-     }
--- 
-2.55.0
-

diff --git a/rust-sequoia-openpgp.spec b/rust-sequoia-openpgp.spec
index 73c4b28..2c82306 100644
--- a/rust-sequoia-openpgp.spec
+++ b/rust-sequoia-openpgp.spec
@@ -5,7 +5,7 @@
 %global crate sequoia-openpgp
 
 Name:           rust-sequoia-openpgp
-Version:        2.4.1
+Version:        2.4.2
 Release:        %autorelease
 Summary:        OpenPGP data types and associated machinery
 
@@ -15,11 +15,8 @@ Source:         %{crates_source}
 # Automatically generated patch to strip dependencies and normalize metadata
 Patch:          sequoia-openpgp-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
-# * bump ossl dependency to v1.5.3 for RipeMD160 support
 # * drop unused, benchmark-only criterion dev-dependency
 Patch:          sequoia-openpgp-fix-metadata.diff
-# https://gitlab.com/sequoia-pgp/sequoia/-/commit/28ee4bfd
-Patch:          0001-reintroduce-ripemd160-support-for-the-ossl-backend.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 093e453..a673191 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,6 +1,5 @@
 [package]
 cargo-toml-patch-comments = [
-    "bump ossl dependency to v1.5.3 for RipeMD160 support",
     "drop unused, benchmark-only criterion dev-dependency",
 ]
 

diff --git a/sequoia-openpgp-fix-metadata-auto.diff b/sequoia-openpgp-fix-metadata-auto.diff
index 08e02a2..f3e8bcc 100644
--- a/sequoia-openpgp-fix-metadata-auto.diff
+++ b/sequoia-openpgp-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
---- sequoia-openpgp-2.4.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-openpgp-2.4.1/Cargo.toml	2026-09-23T13:07:38.792891+00:00
+--- sequoia-openpgp-2.4.2/Cargo.toml	2006-07-24T01:21:28+00:00
++++ sequoia-openpgp-2.4.2/Cargo.toml	2026-11-16T20:01:41.342345+00:00
 @@ -79,8 +79,6 @@
      "dep:cipher",
      "dep:cx448",
@@ -9,7 +9,7 @@
      "dep:ed25519",
      "dep:ed25519-dalek",
      "dep:num-bigint-dig",
-@@ -90,7 +88,6 @@
+@@ -89,7 +87,6 @@
      "dep:hkdf",
      "dep:sha2",
      "dep:ocb3",
@@ -17,7 +17,7 @@
  ]
  crypto-fuzzing = []
  crypto-nettle = ["dep:nettle"]
-@@ -549,37 +546,6 @@
+@@ -538,37 +535,6 @@
  version = ">=0.20, <0.24"
  default-features = false
  
@@ -55,7 +55,7 @@
  [lints.clippy.complexity]
  level = "allow"
  priority = -1
-@@ -603,3 +569,4 @@
+@@ -592,3 +558,4 @@
      'cfg(osslconf, values("OPENSSL_NO_OCB"))',
      'cfg(osslconf, values("OPENSSL_NO_DES"))',
  ]

diff --git a/sequoia-openpgp-fix-metadata.diff b/sequoia-openpgp-fix-metadata.diff
index f084963..deaddff 100644
--- a/sequoia-openpgp-fix-metadata.diff
+++ b/sequoia-openpgp-fix-metadata.diff
@@ -1,22 +1,13 @@
---- sequoia-openpgp-2.4.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-openpgp-2.4.1/Cargo.toml	2026-09-23T13:07:42.921078+00:00
-@@ -421,7 +421,7 @@
- optional = true
- 
- [dependencies.ossl]
--version = "1.5.2"
-+version = "1.5.3"
- features = [
-     "openssl-sys",
-     "rfc9580",
-@@ -521,10 +521,6 @@
- [dependencies.xxhash-rust]
+--- sequoia-openpgp-2.4.2/Cargo.toml	2006-07-24T01:21:28+00:00
++++ sequoia-openpgp-2.4.2/Cargo.toml	2026-11-16T20:01:46.858200+00:00
+@@ -515,10 +515,6 @@
  version = "0.8"
  features = ["xxh3"]
--
+ 
 -[dev-dependencies.criterion]
 -version = "0.5"
 -features = ["html_reports"]
- 
+-
  [dev-dependencies.quickcheck]
  version = "1"
+ default-features = false

diff --git a/sources b/sources
index 7521e8a..25db6ae 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sequoia-openpgp-2.4.1.crate) = bd74e84fb2bc0d943d90e73b6f4a974ea034277b82275a04699692bc05781078dff209a9f590ee929e5369e20ae789dd59bc4e913552aafe85bb5a7d90370dc5
+SHA512 (sequoia-openpgp-2.4.2.crate) = d58fe17ab130b444fc77f91aaf0ff5466546c879f0fe236f1f1d08775aa4793a54e0ff3b09f6b2a27164d2aea6bc9ba59c01a071eb7f8ecc4ef333e7975654c7

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

only message in thread, other threads:[~2026-11-16 22:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-16 22:37 [rpms/rust-sequoia-openpgp] epel9: Update to version 2.4.2; Fixes RHBZ#2552944 Fabio Valentini

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