cryptography
cryptography copied to clipboard
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
This issue is possibly related to #10808, which observes a similar behavior for AES-GCM-SIV. I'm using python version 3.12.3 and cryptography version 42.0.5 The following code ``` from cryptography.hazmat.primitives.ciphers import...
Bumps [docutils](https://docutils.sourceforge.io) from 0.20.1 to 0.21.2. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands...
I'm opening this PR with an initial implementation of S/MIME encryption, in order to better discuss the API design, the algorithms we want to support, and how we want to...
A change in key types for DH keys was introduced in 42.0.0 such that DH key exchange with older versions (e.g. 41.0.7) no longer works. This affects key exchange with...
A test I have started failing recently when using AES-GCM-SIV with empty plaintexts. The failing test is ``` from cryptography.hazmat.primitives.ciphers import aead import cryptography import sys def test_empty_pt(): key =...
Hi, I am using the X.509 Certificate Builder to build a certificate which has an RSA Subject Public Key. I am able to build the certificate successfully. But, when I...
hi, i am trying to read hiera yaml files that contain encrypted values. the tool that is used to create these files is written in ruby (https://github.com/voxpupuli/hiera-eyaml) and seems to...
Here's a patch to expose the group order of EllipticCurve objects. As mentioned on IRC, this makes it easier to write code to enforce "Low-S" ECDSA signatures without hard-coding parameters...
## Description Signed S/MIME message using `cryptography`: ```python b'MIME-Version: 1.0\r\nContent-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="sha-512"; boundary="===============3031221955182774630=="\r\n\r\nThis is an S/MIME signed message\r\n\r\n....' ``` Signed S/MIME message using `OpenSSL 3.2.0`: ```python b'MIME-Version: 1.0\nContent-Type: multipart/signed;...