Python chryptography keys implemented on to the PKCS11 interface
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pkcs11_cryptography_keys-0.0.6.tar.gz.
File metadata
- Download URL: pkcs11_cryptography_keys-0.0.6.tar.gz
- Upload date:
- Size: 31.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d0ee263d71d6e5110cd24e4619d0eb4e4d4de78ef8e3f45b0f0265f1a73f1db
|
|
| MD5 |
0662432df8ca70ed56f0fcb692de0dcc
|
|
| BLAKE2b-256 |
55ec25cb1b6910b710da80f3ed813a197bf3ed49e7e5539be9ded604042038e0
|
Provenance
The following attestation bundles were made for pkcs11_cryptography_keys-0.0.6.tar.gz:
Publisher:
release.yml on msetina/PKCS11-cryptography-keys
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pkcs11_cryptography_keys-0.0.6.tar.gz -
Subject digest:
4d0ee263d71d6e5110cd24e4619d0eb4e4d4de78ef8e3f45b0f0265f1a73f1db - Sigstore transparency entry: 335423858
- Sigstore integration time:
-
Permalink:
msetina/PKCS11-cryptography-keys@ee30d84172952e1443f6be2135080b0b03f1c4d8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/msetina
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ee30d84172952e1443f6be2135080b0b03f1c4d8 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pkcs11_cryptography_keys-0.0.6-py3-none-any.whl.
File metadata
- Download URL: pkcs11_cryptography_keys-0.0.6-py3-none-any.whl
- Upload date:
- Size: 53.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0765f2f1477d0414b3c4bac3e83ea2e4e63b7f6f1244d948f48a2a1780c701c
|
|
| MD5 |
e6d84602ba78d114386ac738e5aecd98
|
|
| BLAKE2b-256 |
3f51e2c242fb3844e7a8728fb5b56bf1f7c296c80d55a8f7f9c5317edab56376
|
Provenance
The following attestation bundles were made for pkcs11_cryptography_keys-0.0.6-py3-none-any.whl:
Publisher:
release.yml on msetina/PKCS11-cryptography-keys
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pkcs11_cryptography_keys-0.0.6-py3-none-any.whl -
Subject digest:
d0765f2f1477d0414b3c4bac3e83ea2e4e63b7f6f1244d948f48a2a1780c701c - Sigstore transparency entry: 335423879
- Sigstore integration time:
-
Permalink:
msetina/PKCS11-cryptography-keys@ee30d84172952e1443f6be2135080b0b03f1c4d8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/msetina
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ee30d84172952e1443f6be2135080b0b03f1c4d8 -
Trigger Event:
workflow_dispatch
-
Statement type: