pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-ksef2: update to 0.8.1



Module Name:	pkgsrc-wip
Committed By:	Bartosz Kuzma <bartosz.kuzma%gmail.com@localhost>
Pushed By:	bartosz.kuzma
Date:		Sat Feb 21 19:56:54 2026 +0100
Changeset:	e3fe687097668493f6783ceb5bc9b1c0ae647b54

Modified Files:
	py-ksef2/Makefile
	py-ksef2/distinfo

Log Message:
py-ksef2: update to 0.8.1

ECDSA / EC key support for XAdES authentication

Qualified certificates issued by MCU (Ministerstwo Cyfryzacji) use EC keys (secp256r1).
Previously the SDK would raise TypeError: Expected RSA private key, got EllipticCurvePrivateKey
when loading such certificates. This release adds full EC key support alongside the existing RSA path.

Changes:
    load_private_key_from_pem now accepts both RSA and EC private keys
    load_certificate_and_key_from_p12 now accepts both RSA and EC private keys
    sign_xades automatically selects ECDSA-SHA256 for EC keys and RSA-SHA256 for RSA keys — no extra configuration needed

No breaking changes — existing RSA-based code continues to work without modification.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e3fe687097668493f6783ceb5bc9b1c0ae647b54

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-ksef2/Makefile | 2 +-
 py-ksef2/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs:
diff --git a/py-ksef2/Makefile b/py-ksef2/Makefile
index efad4d8c6a..f93c447cb7 100644
--- a/py-ksef2/Makefile
+++ b/py-ksef2/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	ksef2-0.8.0
+DISTNAME=	ksef2-0.8.1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_GITHUB:=artpods56/}
diff --git a/py-ksef2/distinfo b/py-ksef2/distinfo
index 1fda732622..6030fa0606 100644
--- a/py-ksef2/distinfo
+++ b/py-ksef2/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (ksef2-0.8.0.tar.gz) = a27993d4f53e3ffa0f9522d45b667080855b53cccc15f8c675f8032ff89de31e
-SHA512 (ksef2-0.8.0.tar.gz) = 4c76bdd4aee6cc456ebc7cc1ef92d193964ad3a6b813cd27912515d1f8f00bc37c2364e972e752da12e29e4c9e3e1a208e2a9415d9bf54617cb5f3db464c4ebb
-Size (ksef2-0.8.0.tar.gz) = 1905363 bytes
+BLAKE2s (ksef2-0.8.1.tar.gz) = f5cb1b2bd8c98d778e079abbb93464d97547033b3fd8cf03e8b64ee60e7939f3
+SHA512 (ksef2-0.8.1.tar.gz) = 9212bc4dba81f69a61f8dd0698e704b0b674dc7008cd1025ec077ed5f7dcc943929c8ca2941fab99825beee41ac0bf4c58e6e8e42572fb183462b61858718f84
+Size (ksef2-0.8.1.tar.gz) = 1906266 bytes


Home | Main Index | Thread Index | Old Index