security/py-python-pkcs11 0.10.0
PKCS#11 (Cryptoki) support for Python
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
e559ea6ab3- License
- MIT
- Categories
- security, python
- Package size
- 260.1 KiB, 1132.0 KiB installed
Description
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
Install
As a binary package — by origin, or by package name:
pkg install security/py-python-pkcs11
pkg install py312-python-pkcs11
From the ports tree:
cd /usr/ports/security/py-python-pkcs11/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-python-pkcs11>0:security/py-python-pkcs11
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.10.0 | 0.10.0 | 0.7.0 | 0.8.1 | 0.10.0 |
| FreeBSD:14:quarterly | 0.10.0 | 0.10.0 | n/a | 0.8.1 | 0.10.0 |
| FreeBSD:15:latest | 0.10.0 | 0.10.0 | n/a | 0.8.1 | 0.8.1 |
| FreeBSD:15:quarterly | 0.10.0 | 0.10.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.10.0 | 0.10.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=61: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8.3.1: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}asn1crypto>=0: devel/py-asn1crypto
The full lists below include those, and their dependencies in turn.
All build dependencies 18
All run dependencies 8
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| python_pkcs11-0.10.0.tar.gz | 207600 | 8f49bcb072bca3d74837547dd77145e065ed333e5e8642e539f8b1aca7ce1725 |
Master sites 2
- PYPI
- https://github.com/pyauth/python-pkcs11/releases/download/v0.10.0/