FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.10.00.10.00.7.00.8.10.10.0
FreeBSD:14:quarterly0.10.00.10.0n/a0.8.10.10.0
FreeBSD:15:latest0.10.00.10.0n/a0.8.10.8.1
FreeBSD:15:quarterly0.10.00.10.0n/an/an/a
FreeBSD:16:latest0.10.00.10.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 1

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
FileSizeSHA256
python_pkcs11-0.10.0.tar.gz2076008f49bcb072bca3d74837547dd77145e065ed333e5e8642e539f8b1aca7ce1725
Master sites 2
  • PYPI
  • https://github.com/pyauth/python-pkcs11/releases/download/v0.10.0/

Commit history 2

DateCommitCreditsLog message
e559ea6ab3 Po-Chuan Hsieh security/py-python-pkcs11: Update to 0.10.0
Changes: https://github.com/pyauth/python-pkcs11/releases
ed173d7b07 Po-Chuan Hsieh security/py-python-pkcs11: Update to 0.9.5
Changes: https://github.com/pyauth/python-pkcs11/releases