Skip to main content

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)

Source distribution for PKCS11-cryptography-keys 0.0.6
File Size Uploaded
pkcs11_cryptography_keys-0.0.6.tar.gz 31.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PKCS11-cryptography-keys 0.0.6
File Interpreter ABI Platform
pkcs11_cryptography_keys-0.0.6-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page