BSD Ports

security/py-python-pkcs11 0.7.0_1 DragonFly

PKCS#11 (Cryptoki) support for Python

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
python, security
Package size
263.5 KiB, 1149.9 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

In the other systems

SystemPortVersion
DragonFlysecurity/py-python-pkcs110.7.0_1
FreeBSDsecurity/py-python-pkcs110.10.0

Install

Binary package:

pkg install py311-python-pkcs11

From DPorts:

cd /usr/dports/security/py-python-pkcs11 && make install clean

Dependencies

Run dependencies 3

No port depends on this one.