cryptography
cryptography copied to clipboard
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
As discussed in #12108 it is possible to make own Implementations of `rsa.RSAPrivateKey` to use keys which are stored in a HSM. Therefore code can just assume to get a...
Here's a strawman, let's discuss. A few thoughts: * I don't want to use public/private, but Encapsulation and Decapsulation are quite verbose. I've used Encap/Decap below but we can use...
It would be nice if the PyPI-hosted wheels were verifiably bit-for-bit reproducible. I've experimented with the codebase and I've identified a few changes that would be needed to make this...
We have a WIP version of cffi that builds on the free-threaded interpreter: https://github.com/Quansight-Labs/cffi/pull/1 I think with that it should now be possible to make some headway on free-threaded support...
Towards fixing #12489. Adds free-threaded CI using a hacky workaround to avoid building against the version of cffi on PyPI. xref #12590
Goal: - Nothing in our sdists (we don't vendor anything) - Our wheels contain: - SBOM for all used cargo deps - SBOM for OpenSSL, if linked statically
I'm curious if there is a maintained, small write up somewhere regarding the choice of the underlying Rust libraries that are used. Specifically, I'm coming from [this comment](https://github.com/seanmonstar/reqwest/issues/2025#issuecomment-2698892590) and am...
9 andhttps://github.com/pyca/cryptography/issues/10664, both of which seem to have not really been resolved. My assumption is: it is possible to sign/encrypt/sign and encrypt emails with cryptography, sources: https://m2crypto.readthedocs.io/en/latest/howto.migration.html#signing or https://cryptography.io/en/latest/hazmat/primitives/asymmetric/serialization/#cryptography.hazmat.primitives.serialization.pkcs7.PKCS7EnvelopeBuilder Yet...
This is a meta-issue/design issue for tracking a declarative ASN.1 API for Cryptography! The goal: an importable Python API that users of Cryptography can define ASN.1 structures with, which can...