SUNET / python_x509_pkcs11

Python library for signing x509 using keys in an pkcs11 device
MIT License
4 stars 3 forks source link

Pass session to private keys to make session objects reusable #24

Closed mathiasertl closed 1 month ago

mathiasertl commented 2 months ago

Pass the PKCS11Session object directly to the key constructor of private key objects.

The default session object gets its configuration from environment variables, which is not a good approach in many environments. I need to use sessions with custom configurations instead.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

mathiasertl commented 2 months ago

Can this be merged at this point or is there anything missing?