cryptography icon indicating copy to clipboard operation
cryptography copied to clipboard

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.

Results 194 cryptography issues
Sort by recently updated
recently updated
newest added

Hi, Would you consider adding support for `CounterLocation.MiddleFixed` in `KBKDFHMAC` and `KBKDFCMAC`? Currently the counter bytes can only be added at the beginning (`CounterLocation.BeforeFixed`) or end (`CounterLocation.AfterFixed`) of the input....

Hi,I failed to build your project due to error: subprocess-exited-with-error ![image](https://user-images.githubusercontent.com/105635378/183792265-a85f42eb-ab8c-491e-8a7c-f757bbfb27e8.png) I used the following commands in python:3.7 docker: ``` pip install -r dev-requirements.txt python setup.py install ``` Can you...

This mainly to get comments if this is a good way for the API to implement this or if another approach should be taken.

### Steps to Reproduce 1. Use autobahn to connect to a wss:// URI ### Expected Result It connects ### Actual Result ``` 2022-08-08T11:15:59-0400 trying transport 0 ("wss://REDACTED") using connect delay...

Cryptography 37.0.x is nearly 10 times slower at loading RSA keys than cryptography 36.0.x. I generate an RSA key: ``` openssl genrsa -out key.pem 2048 ``` Install cryptography 36: ```...

provide openssl apis related to SM for python

### Summary Currently the number of `kdf_rounds` used when encrypting OpenSSH private keys is fixed at the `ssh-keygen` default of `16`. `ssh-keygen` however parameterizes this value with the `-a` flag....

Python Version: 3.10.4 Cryptography: 37.0.4 Loading a certificate that has a bad Naming Constraints does not raise an error. However when accessing the extensions property a ValueError is raised (this...

Keys generally used for signing can be also used for derivation of a shared secret -- they have to be converted from the Twisted Edwards to the Montgomery form for...

blocked-on-upstream