| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add ssl version constants
* try to fix ci
* try harder to fix ci
* security: if unavailable, set protocol constants to nonexistent version
* make linter happy
* remove dtls constants
* remove superfluous comment
|
| | |
|
| |
|
| |
cherry picked from #4920
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Removed unused argument.
* Added support for RSA signature recovery.
* Syntatic corrections for passing pep8 tests.
* Corrected typo.
* Added test of invalid Prehashed parameter to RSA signature recover.
* Renamed recover to a more descriptive name.
* Extended RSA signature recovery with option to return full data (not
only the digest part).
* Added missing words to pass spell check.
|
| |
|
|
| |
fixes #5379
closes #5483
|
| | |
|
| |
|
|
|
|
|
| |
* Don't build our custom osrandom engine on libressl
As far as I can tell it's never used on LibreSSL -- they're `RAND_bytes` function unconditionally calls `arc4random_buf`
* Update cryptography.py
|
| |
|
|
| |
In 3.0 these aren't macros so we can't test this way. All our supported
OpenSSLs have these bindings now and LibreSSL does not.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
* PKCS7SignatureBuilder now supports three serializations
PEM, DER, and SMIME. SMIME embeds the S/MIME headers and has the
detached signature concept.
* thanks libre
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* smime signer support
* fix ed25519 check
* change some wording
* python 2.7...
* review feedback
* s/secure/signed
* do some verification in the tests
* review feedback
* doc return value
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* add pkcs7/smime bindings
* Update src/_cffi_src/openssl/pkcs7.py
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
* Update src/_cffi_src/openssl/pkcs7.py
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
* re-add a few engine bindings for advanced users
For users who are capable of compiling cryptography against custom
openssl and properly using these functions this hopefully allows
PKCS11 usage through OpenSSL engines.
* forgot to save my buffer
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* support PKCS7 certificate parsing
* refcounts are different in 1.0.2
* rename the functions
* black
* empty commit
* review feedback
|
| |
|
|
|
|
|
|
|
| |
* handle unnamed-but-really-named curves in 1.0.2u
* handle openssl 1.0.2 not supporting better install commands on make
* do what openssl didn't feel was necessary in 1.0.2t/u
I didn't bind the named curve constant, fight me.
|
| |
|
| |
these are gone in 3.0 anyway and were removed in that draft PR
|
| |
|
|
|
|
|
| |
* shrink bindings more
* readd a binding we do need
* readd two more bindings we need
|
| |
|
|
|
|
|
|
|
|
| |
* remove every error we don't use in cryptography or pyopenssl
sorry external consumers, carrying things we don't use and don't have
downstream tests for has become too much of a burden
* re-add a constant we need for tests for now
* pyopenssl needs these three
|
| |
|
|
|
|
|
| |
X509 signing for RSA keys that are too small. Let's just say signing
failed and attach the more specific problem as the error stack. A bit
uglier, but far more generic and stable to OpenSSL/LibreSSL/BoringSSL
Also be a bit more generic for OCSP signing
|
| |
|
| |
the quest to stop using unstable openssl error codes continues
|
| |
|
|
|
|
|
|
|
| |
* start trying to make our error handling a bit more generic
* remove more and black
* attach error stack to memorylimit error
* blaaack
|
| |
|
|
|
|
|
|
|
|
|
| |
OPENSSL_NO_SRTP (#5338)
* fixes #5113 - Making some SRTP related symbols conditional on OPENSSL_NO_SRTP.
* don't remove one symbol, test with no-srtp
* test against a no-srtp build
Co-authored-by: Paul Kehrer <paul.l.kehrer@gmail.com>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* test FIPS mode on centos8
* remove branch we don't take
* simpler
* better comment
* rename
* revert some things that don't matter
* small cleanups
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* disable the osrandom engine on 1.1.1d+
* skip (and run) some tests on 1.1.1d+
* simplify our conditionals
* Update src/_cffi_src/openssl/src/osrandom_engine.c
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
* words
* more words
* language
* get coverage more cleverly
* a word
* Update .github/workflows/ci.yml
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
|
| |
|
|
|
|
|
| |
* support encoding attributes via CertificateSigningRequestBuilder
* use a constant. now you know what 12 means!
* pep8
|
| | |
|
| |
|
| |
We have already validated that `p` is large enough to store `name`. In `strncpy` the `len` parameter should generally be the length of the target buffer, not the source buffer.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* remove NPN bindings -- you should be using ALPN!
pyOpenSSL consumed these, but we've marked it as deprecated and it
already handles the case where the bindings are not available.
* set Cryptography_HAS_NEXTPROTONEG to 0 for pyOpenSSL
we can remove this symbol in like...5 years.
* remove another NPN related definition
* suspicious
* Revert "remove another NPN related definition"
This reverts commit d872a7d1d776858c77b8c607f63cc9b5fef1ae39.
Revert "suspicious"
This reverts commit 5b767484f1cde132f686600a46e61a18e33cbdae.
|
| | |
|
| | |
|
| |
|
|
| |
supported) (#5231)
|
| |
|
|
|
|
|
| |
* add SSL_CTX_(get|set)_keylog_callback
* For travis
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
|
| | |
|
| |
|
|
| |
Required to link in static part of pthread, e.g. pthread_atfork
Fixes https://github.com/pyca/cryptography/issues/5084
|