pyopenssl icon indicating copy to clipboard operation
pyopenssl copied to clipboard

A Python wrapper around the OpenSSL library

Results 129 pyopenssl issues
Sort by recently updated
recently updated
newest added

There is a mismatch between documentation of `OpenSSL.SSL` and the real behavior. # Steps to reproduce: 1. install pyopenssl 2. open a python shell 3. In the shell, execute: `import...

as its written in the following link: https://github.com/pyca/pyopenssl/blob/2d94946a938878ea10da479b7ac83ab1c434df4d/tests/test_ssl.py#LL3401C9-L3401C51 that test should represent "full renegotiation cycle" but instead of that it ends up on calling openssl bindings (renegotiation and handshake), and...

Writing some tests, and it's a bit annoying to not be able to inspect the info callback. It would be nice to have this method wrapped and exposed.

Hello, This is a pull request to add support for the SSL_get_secure_renegotiation_support function from OpenSSL. Some simple test is added. Best regards

Hello, This is a pull request to add support for Context options used to support legacy renegotiation disable by default in recent OpenSSL versions. Best regards

In pymongo we have various tests to ensure that TLS is configured correctly. One such test is when the server is configured to require a client cert but the client...

Would be great if the possibility to configure callback function for certificate path verification was added (similar functionality currently is available for the cert validation in SSL context).

In openssl 1.1.1 docs/man3/EVP_PKEY_set1_RSA.pod (https://github.com/openssl/openssl/blob/OpenSSL_1_1_1/doc/man3/EVP_PKEY_set1_RSA.pod) The EVP_PKEY_set_alias_type(pkey, EVP_PKEY_SM2) API is possible to convert it to using SM2 algorithms After loading an ECC key. Besides, pyca/cryptography support to export `The EVP_PKEY_set_alias_type(pkey,...

Hello, I recently encountered a problem when parsing X.509 certificates with Unicode in the Subject DN fields. An example of PEM cert to be parsed is (sha1=a324f399248e42e218ec40ae771bf27c4f5aea1d): -----BEGIN CERTIFICATE----- MIIFKjCCBBKgAwIBAgIBczANBgkqhkiG9w0BAQsFADBHMQswCQYDVQQGEwJVUzEW...