public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libzpc] rawhide: Upgrade to new upstream version 2.1.0
@ 2026-10-07 18:01 Holger Dengler
0 siblings, 0 replies; only message in thread
From: Holger Dengler @ 2026-10-07 18:01 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libzpc
Branch : rawhide
Commit : 60d62532ec27c98a4bd888c1e4b3cc7886a6a00a
Author : Holger Dengler <dengler@linux.ibm.com>
Date : 2026-10-07T19:29:45+02:00
Stats : +38/-2 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/libzpc/c/60d62532ec27c98a4bd888c1e4b3cc7886a6a00a?branch=rawhide
Log:
Upgrade to new upstream version 2.1.0
- PKCS#11 Cryptoki API for hardware-backed key operations
Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
---
diff --git a/.gitignore b/.gitignore
index 56108a8..bd869cb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
/libzpc-1.5.0.tar.gz
/libzpc-2.0.0.tar.gz
/libzpc-2.0.1.tar.gz
+/libzpc-2.1.0.tar.gz
diff --git a/libzpc.spec b/libzpc.spec
index 1ca1145..1447fbb 100644
--- a/libzpc.spec
+++ b/libzpc.spec
@@ -1,11 +1,12 @@
Name: libzpc
-Version: 2.0.1
+Version: 2.1.0
Release: %autorelease
Summary: Open Source library for the IBM Z Protected-key crypto feature
License: MIT
Url: https://github.com/opencryptoki/libzpc
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+Source1: zpcpkcs11.conf
BuildRequires: cmake
BuildRequires: gcc
@@ -15,6 +16,7 @@ BuildRequires: clang-tools-extra
BuildRequires: pandoc
BuildRequires: json-c-devel
BuildRequires: openssl-devel
+BuildRequires: p11-kit-devel
%description
@@ -32,6 +34,14 @@ Summary: OpenSSL provider module for %{name}
%description provider
The %{name}-provider package contains a provider module for OpenSSL v3.0 (and
later), interfacing to the protected key feature of z/Architecture.
+
+%package pkcs11
+Summary: PKCS#11 module for %{name}
+Requires: %{name}-provider
+
+%description pkcs11
+The %{name}-pkcs11 package contains a PKCS#11 module for using protected key
+origins.
%endif
@@ -47,6 +57,7 @@ persistent protected key origins, from which protected keys can be (re-)derived.
%prep
%autosetup -p1
%global modulesdir %(pkg-config --variable=modulesdir libcrypto)
+%global p11modulesdir %(pkg-config --variable=p11_module_path p11-kit-1)
%build
%cmake
@@ -57,6 +68,8 @@ persistent protected key origins, from which protected keys can be (re-)derived.
%ifarch s390x
install -m644 %_vpath_builddir/hbkzpcprovider.conf \
-D -t $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/openssl.d/
+install -m644 %{SOURCE1} \
+ -D -t $RPM_BUILD_ROOT/%{_sysconfdir}/zpcpkcs11/
%endif
%check
@@ -71,6 +84,14 @@ install -m644 %_vpath_builddir/hbkzpcprovider.conf \
%{_mandir}/man5/hbkzpcprovider.conf.5*
%{_mandir}/man7/hbkzpcprovider.7*
%config(noreplace) %{_sysconfdir}/pki/tls/openssl.d/hbkzpcprovider.conf
+
+%files pkcs11
+%doc README.md CHANGES.md
+%license LICENSE
+%{p11modulesdir}/zpcpkcs11.so
+%{_mandir}/man5/zpcpkcs11.conf.5*
+%{_mandir}/man7/zpcpkcs11.7*
+%config(noreplace) %{_sysconfdir}/zpcpkcs11/zpcpkcs11.conf
%endif
%files tools
diff --git a/sources b/sources
index e64ce04..e283d76 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libzpc-2.0.1.tar.gz) = 0bd09cff0fcc427884c54ee09f05b55b585d4aad6c435ecd955cc4dddcbb0fabb8f77543d45210b3791cbc20cb7292ac9b8cf8aa2f501a8d0ab59922801a3692
+SHA512 (libzpc-2.1.0.tar.gz) = 1c36eb97d8572f1f5d097932f133dba8d51e90a73179ee0268c4c690546b4921787d58c5a3ed793d4e45375ca7af82ad1ac818ab592653ef43c174161bd1aef1
diff --git a/zpcpkcs11.conf b/zpcpkcs11.conf
new file mode 100644
index 0000000..15cf4fb
--- /dev/null
+++ b/zpcpkcs11.conf
@@ -0,0 +1,14 @@
+#
+# Configuration file for the zpcpkcs11 PKCS#11 module
+#
+# Key-Entry Format:
+# <object-label>=<file-path|URI>
+#
+# Key-file example:
+# service-a-key=/etc/zpcpkcs11/keys/service-a.pem
+#
+# Key-URI (file) example:
+# service-a-key=file:///etc/zpcpkcs11/keys/service-a.pem
+#
+# Key-URI (hbkzpc) example:
+# service-b-key=hbkzpc:origin-type=uv;origin-alg=prime256v1;origin-blob=0102...
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 18:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 18:01 [rpms/libzpc] rawhide: Upgrade to new upstream version 2.1.0 Holger Dengler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox