PKCS11 implementation for keys of pyca/cryptography
cryptography is a package which provides cryptographic recipes and primitives to Python developers. Their goal is for it to be your “cryptographic standard library”.
This library uses PyKCS11 to implement comunication to the PKCS11 device (smartcard,…). As PKCS11 devices need an open session to work with them, this library provides context managers to execute tasks provided by pyca/cryptography. PKCS11KeySession is the context manager that will facilitate the use of implemented keys.
Context managers take information to connect to the PKCS11 device (library, token label and key label, if there are more that one private keys on a token). Within the with statement the cryptographic operations with the key are made.
The PKCS11KeySession context meneager will return private key object of the type referenced by library, token label and in some cases key label written on the PKCS11 device. From private key public key can be retrieved like in pyca/cryptography and also certificates (and even CA chain) (this is the extension PKCS11 device tokens can provide).
This library provides keys for EC and RSA keys which are most comonly used keys on PKCS11 devices.
Metadata
Release files for PKCS11-cryptography-keys 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pkcs11_cryptography_keys-0.0.6.tar.gz | 31.6 kB | With provenance | Details for pkcs11_cryptography_keys-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pkcs11_cryptography_keys-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for pkcs11_cryptography_keys-0.0.6-py3-none-any.whl |
Total release size: 84.6 kB
Release files / pkcs11_cryptography_keys-0.0.6.tar.gz
| Download URL | pkcs11_cryptography_keys-0.0.6.tar.gz |
|---|---|
| Size | 31.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d0ee263d71d6e5110cd24e4619d0eb4e4d4de78ef8e3f45b0f0265f1a73f1db
|
|
BLAKE2b-256 checksum How to use checksums |
55ec25cb1b6910b710da80f3ed813a197bf3ed49e7e5539be9ded604042038e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2025.
Transparency logRelease files / pkcs11_cryptography_keys-0.0.6-py3-none-any.whl
| Download URL | pkcs11_cryptography_keys-0.0.6-py3-none-any.whl |
|---|---|
| Size | 53.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d0765f2f1477d0414b3c4bac3e83ea2e4e63b7f6f1244d948f48a2a1780c701c
|
|
BLAKE2b-256 checksum How to use checksums |
3f51e2c242fb3844e7a8728fb5b56bf1f7c296c80d55a8f7f9c5317edab56376
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2025.
Transparency logSecurity for PKCS11-cryptography-keys 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pkcs11_cryptography_keys-0.0.6.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 31, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.