Date: Thu, 10 Dec 2020 21:28:29 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r557469 - in head/security: . py-python-pkcs11 Message-ID: <202012102128.0BALSTNQ038995@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Dec 10 21:28:29 2020 New Revision: 557469 URL: https://svnweb.freebsd.org/changeset/ports/557469 Log: Add py-python-pkcs11 0.7.0 A high level, "more Pythonic" interface to the PKCS#11 (Cryptoki) standard to support HSM and Smartcard devices in Python. The interface is designed to follow the logical structure of a HSM, with useful defaults for obscurely documented parameters. Many APIs will optionally accept iterables and act as generators, allowing you to stream large data blocks for symmetric encryption. python-pkcs11 also includes numerous utility functions to convert between PKCS #11 data structures and common interchange formats including PKCS #1 and X.509. python-pkcs11 is fully documented and has a full integration test suite for all features, with continuous integration against multiple HSM platforms including: - Thales nCipher - Opencryptoki TPM - OpenSC/Smartcard-HSM/Nitrokey HSM WWW: https://github.com/danni/python-pkcs11 Added: head/security/py-python-pkcs11/ head/security/py-python-pkcs11/Makefile (contents, props changed) head/security/py-python-pkcs11/distinfo (contents, props changed) head/security/py-python-pkcs11/pkg-descr (contents, props changed) Modified: head/security/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Thu Dec 10 21:28:22 2020 (r557468) +++ head/security/Makefile Thu Dec 10 21:28:29 2020 (r557469) @@ -965,6 +965,7 @@ SUBDIR += py-python-nss SUBDIR += py-python-openid SUBDIR += py-python-pam + SUBDIR += py-python-pkcs11 SUBDIR += py-python-registry SUBDIR += py-python3-openid SUBDIR += py-python3-saml Added: head/security/py-python-pkcs11/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/py-python-pkcs11/Makefile Thu Dec 10 21:28:29 2020 (r557469) @@ -0,0 +1,28 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= python-pkcs11 +PORTVERSION= 0.7.0 +CATEGORIES= security python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= PKCS\#11 (Cryptoki) support for Python + +LICENSE= MIT + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=0:devel/py-asn1crypto@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cached-property>=0:devel/py-cached-property@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent cython distutils + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3600 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}aenum>=0:devel/py-aenum@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> Added: head/security/py-python-pkcs11/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/py-python-pkcs11/distinfo Thu Dec 10 21:28:29 2020 (r557469) @@ -0,0 +1,3 @@ +TIMESTAMP = 1607539627 +SHA256 (python-pkcs11-0.7.0.tar.gz) = 9737e0c24cabb8bc9d48bf8c57c3df2a70f8cdd96b70c50290803286f9e46bf7 +SIZE (python-pkcs11-0.7.0.tar.gz) = 106517 Added: head/security/py-python-pkcs11/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/py-python-pkcs11/pkg-descr Thu Dec 10 21:28:29 2020 (r557469) @@ -0,0 +1,18 @@ +A high level, "more Pythonic" interface to the PKCS#11 (Cryptoki) standard to +support HSM and Smartcard devices in Python. + +The interface is designed to follow the logical structure of a HSM, with useful +defaults for obscurely documented parameters. Many APIs will optionally accept +iterables and act as generators, allowing you to stream large data blocks for +symmetric encryption. + +python-pkcs11 also includes numerous utility functions to convert between PKCS +#11 data structures and common interchange formats including PKCS #1 and X.509. + +python-pkcs11 is fully documented and has a full integration test suite for all +features, with continuous integration against multiple HSM platforms including: +- Thales nCipher +- Opencryptoki TPM +- OpenSC/Smartcard-HSM/Nitrokey HSM + +WWW: https://github.com/danni/python-pkcs11
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012102128.0BALSTNQ038995>