public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Holger Dengler <dengler@linux.ibm.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libzpc] rawhide: Upgrade to new upstream version 2.1.0
Date: Wed, 07 Oct 2026 18:01:16 GMT [thread overview]
Message-ID: <179139607664.1.12937753939978394399.rpms-libzpc-60d62532ec27@fedoraproject.org> (raw)
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...
reply other threads:[~2026-10-07 18:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179139607664.1.12937753939978394399.rpms-libzpc-60d62532ec27@fedoraproject.org \
--to=dengler@linux.ibm.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox