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
This commit is contained in:
parent
36172e2f32
commit
f0c27855be
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=557469
4 changed files with 50 additions and 0 deletions
|
@ -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
|
||||
|
|
28
security/py-python-pkcs11/Makefile
Normal file
28
security/py-python-pkcs11/Makefile
Normal file
|
@ -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>
|
3
security/py-python-pkcs11/distinfo
Normal file
3
security/py-python-pkcs11/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1607539627
|
||||
SHA256 (python-pkcs11-0.7.0.tar.gz) = 9737e0c24cabb8bc9d48bf8c57c3df2a70f8cdd96b70c50290803286f9e46bf7
|
||||
SIZE (python-pkcs11-0.7.0.tar.gz) = 106517
|
18
security/py-python-pkcs11/pkg-descr
Normal file
18
security/py-python-pkcs11/pkg-descr
Normal file
|
@ -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
|
Loading…
Reference in a new issue