| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rsa type hinting
* remove unused import
* missed return type
* type fixes
* ignores no longer required
* black gets me every time
* Update src/cryptography/hazmat/backends/openssl/rsa.py
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
|
|
|
|
|
| |
* x25519 type hints
* x448 type hints
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Merged into DSAParameters, just like we did years ago for everything
else. Somehow we missed this one.
|
|
|
| |
test changes themselves will be in a separate PR
|
|
|
|
|
| |
* make PrivateKeyWithSerialization an alias of PrivateKey
* black
|
| |
|
| |
|
| |
|
|
|
| |
Nothing is really annotated, just getting to clean.
|
|
|
| |
cherry picked from #4920
|
|
|
|
|
| |
* Drop Python 2
* Black everything
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove Python2 from CI and code that branched on it
* Update setup.py
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* remove
* review feedback
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* disallow p less than 512-bit on DH
OpenSSL 3.0.0 enforces this so we'll go ahead and enforce it everywhere
that's practical for us. (Note that we do not enforce on deserializing
PKCS1/PKCS8 keys in < 3.0.0, but this PR adds a test so that in the
3.0.0 support branch we can test an error path)
* missing test
* black
* _MIN_MODULUS_SIZE is now a thing
* skip on fips
|
|
|
|
|
| |
In OpenSSL 3.0.0 no error is added in many cases for this path and
since we don't do anything with the error anyway we should just
consume and move on
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Reduce granularity of error msging when deserializing keys
In OpenSSL 3.0 it is no longer possible to determine whether the reason
a key failed to deserialize is because of an unsupported cipher. Since
we want to be more resilient to OpenSSL error code instability we'll
just remove these paths.
* black
* changelog and update docs
|
|
|
|
|
| |
* Fix broken links.
* Shorter lines.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* move blinding to __init__ on both RSA public and private
* change signature to guarantee this test is testing what we think
|
| |
|
| |
|
|
|
|
|
|
|
| |
* allow additional certificates to be added to a pkcs7
* be more verbose about what these additional certs might be used for
* missing test
|
|
|
|
|
|
|
|
| |
* PKCS7SignatureBuilder now supports three serializations
PEM, DER, and SMIME. SMIME embeds the S/MIME headers and has the
detached signature concept.
* thanks libre
|
|
|
|
|
| |
* migrate smime builder to pkcs7 module and rename
* missed a rename
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
| |
* chunked update_into
* all pointer arithmetic all the time
* review feedback
|
|
|
| |
this will be useful later, i swear
|
|
|
|
|
|
|
|
|
| |
* move the parser into the backend object
This allows us to generate the list of supported extensions when
instantiating the backend object rather than building multiple parsers
and picking the right one at runtime when parsing the extensions themselves.
* sigh
|
| |
|
| |
|
|
|
|
|
| |
* fixes #4706 -- don't internal error on corrupt private key
* Temporary disable paramiko
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|