summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Added X509_alias_set1 to the ffi (#6897)ajoino2022-02-261-0/+1
|
* new rust, new clippy, new warnings (#6898)Paul Kehrer2022-02-241-6/+5
|
* Add types for padding.PSS class. (#6882)Jonathan Slenders2022-02-232-13/+22
|
* Block TripleDES in FIPS mode (#6879)Christian Heimes2022-02-221-7/+6
| | | | | | | | | | | | | | * Block TripleDES in FIPS mode NIST SP-800-131A rev 2 lists TripleDES Encryption as disallowed in FIPS 140-3 decryption as legacy use. Three-key TDEA is listed as deprecated throughout 2023 and disallowed after 2023. For simplicity we block all use of TripleDES in FIPS mode. Fixes: #6875 Signed-off-by: Christian Heimes <christian@python.org> * Fix flake
* Bump libc from 0.2.118 to 0.2.119 in /src/rust (#6884)dependabot[bot]2022-02-191-2/+2
| | | | | | | | | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.118 to 0.2.119. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.118...0.2.119) --- updated-dependencies: - dependency-name: libc dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump unindent from 0.1.7 to 0.1.8 in /src/rust (#6881)dependabot[bot]2022-02-181-2/+2
| | | | | | | | | | | | | | | | Bumps [unindent](https://github.com/dtolnay/indoc) from 0.1.7 to 0.1.8. - [Release notes](https://github.com/dtolnay/indoc/releases) - [Commits](https://github.com/dtolnay/indoc/compare/0.1.7...0.1.8) --- updated-dependencies: - dependency-name: unindent dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Make a branch more specific now that libressl 3.4 is out (#6876)Alex Gaynor2022-02-162-2/+3
|
* Bump libc from 0.2.117 to 0.2.118 in /src/rust (#6871)dependabot[bot]2022-02-151-2/+2
| | | | | | | | | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.117 to 0.2.118. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.117...0.2.118) --- updated-dependencies: - dependency-name: libc dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ouroboros from 0.13.0 to 0.14.2 in /src/rust (#6863)dependabot[bot]2022-02-122-5/+5
| | | | | | | | | | | | | | | | Bumps [ouroboros](https://github.com/joshua-maros/ouroboros) from 0.13.0 to 0.14.2. - [Release notes](https://github.com/joshua-maros/ouroboros/releases) - [Commits](https://github.com/joshua-maros/ouroboros/commits/0.14.2) --- updated-dependencies: - dependency-name: ouroboros dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fixes #6580 -- allow serializing SCT extension (#6853)Alex Gaynor2022-02-081-1/+3
|
* fixes #6835 -- add signatures with sha3 for rsa and ecdsa (#6852)Alex Gaynor2022-02-082-0/+54
|
* refs #6835 -- added oid constants for SHA3 signatures (#6850)Alex Gaynor2022-02-071-0/+8
|
* Bump autocfg from 1.0.1 to 1.1.0 in /src/rust (#6851)dependabot[bot]2022-02-081-2/+2
| | | | | | | | | | | | | | | | Bumps [autocfg](https://github.com/cuviper/autocfg) from 1.0.1 to 1.1.0. - [Release notes](https://github.com/cuviper/autocfg/releases) - [Commits](https://github.com/cuviper/autocfg/compare/1.0.1...1.1.0) --- updated-dependencies: - dependency-name: autocfg dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fixes #6804 -- improve error message quality with invalid characters in name ↵Alex Gaynor2022-02-066-14/+46
| | | | attributes (#6843)
* Bump libc from 0.2.116 to 0.2.117 in /src/rust (#6837)dependabot[bot]2022-02-041-2/+2
| | | | | | | | | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.116 to 0.2.117. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.116...0.2.117) --- updated-dependencies: - dependency-name: libc dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Remove explicit subclassing of object now that all classes are new-style (#6830)Alex Gaynor2022-01-3026-68/+68
| | | As someone who first with Python in 2.4 or so, this habit is going to be hard to break.
* Format for new black (#6828)Alex Gaynor2022-01-298-12/+12
|
* Random cleanups (#6824)Alex Gaynor2022-01-291-7/+5
|
* Bump libc from 0.2.115 to 0.2.116 in /src/rust (#6823)dependabot[bot]2022-01-291-2/+2
| | | | | | | | | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.115 to 0.2.116. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.115...0.2.116) --- updated-dependencies: - dependency-name: libc dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump lock_api from 0.4.5 to 0.4.6 in /src/rust (#6822)dependabot[bot]2022-01-291-2/+2
| | | | | | | | | | | | | | | | | Bumps [lock_api](https://github.com/Amanieu/parking_lot) from 0.4.5 to 0.4.6. - [Release notes](https://github.com/Amanieu/parking_lot/releases) - [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md) - [Commits](https://github.com/Amanieu/parking_lot/compare/lock_api-0.4.5...lock_api-0.4.6) --- updated-dependencies: - dependency-name: lock_api dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump libc from 0.2.114 to 0.2.115 in /src/rust (#6819)dependabot[bot]2022-01-271-2/+2
| | | | | | | | | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.114 to 0.2.115. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.114...0.2.115) --- updated-dependencies: - dependency-name: libc dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump libc from 0.2.113 to 0.2.114 in /src/rust (#6817)dependabot[bot]2022-01-251-2/+2
| | | | | | | | | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.113 to 0.2.114. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.113...0.2.114) --- updated-dependencies: - dependency-name: libc dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump quote from 1.0.14 to 1.0.15 in /src/rust (#6814)dependabot[bot]2022-01-221-2/+2
| | | | | | | | | | | | | | | | Bumps [quote](https://github.com/dtolnay/quote) from 1.0.14 to 1.0.15. - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.14...1.0.15) --- updated-dependencies: - dependency-name: quote dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump libc from 0.2.112 to 0.2.113 in /src/rust (#6812)dependabot[bot]2022-01-201-2/+2
| | | | | | | | | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.112 to 0.2.113. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.112...0.2.113) --- updated-dependencies: - dependency-name: libc dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump syn from 1.0.85 to 1.0.86 in /src/rust (#6811)dependabot[bot]2022-01-201-2/+2
| | | | | | | | | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 1.0.85 to 1.0.86. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.85...1.0.86) --- updated-dependencies: - dependency-name: syn dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump smallvec from 1.7.0 to 1.8.0 in /src/rust (#6807)dependabot[bot]2022-01-141-2/+2
| | | | | | | | | | | | | | | | Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.7.0 to 1.8.0. - [Release notes](https://github.com/servo/rust-smallvec/releases) - [Commits](https://github.com/servo/rust-smallvec/compare/v1.7.0...v1.8.0) --- updated-dependencies: - dependency-name: smallvec dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add `SSL_set_verify` binding for pyca/pyopenssl#255 (#6797)Maximilian Hils2022-01-061-0/+2
|
* Bump syn from 1.0.84 to 1.0.85 in /src/rust (#6795)dependabot[bot]2022-01-061-2/+2
| | | | | | | | | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 1.0.84 to 1.0.85. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.84...1.0.85) --- updated-dependencies: - dependency-name: syn dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix O(n^2) and excessive copying in OCSPResponseIterator (#6782)Alex Gaynor2022-01-041-72/+53
| | | | | * Fix O(n^2) and excessive copying in OCSPResponseIterator * Poke for CI
* Bump pem from 1.0.1 to 1.0.2 in /src/rust (#6784)dependabot[bot]2022-01-041-19/+2
| | | | | | | | | | | | | | | | | Bumps [pem](https://github.com/jcreekmore/pem-rs) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/jcreekmore/pem-rs/releases) - [Changelog](https://github.com/jcreekmore/pem-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/jcreekmore/pem-rs/compare/v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: pem dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Basic support for multiple SINGLERESP messages in one OCSP response, take 2 ↵turettn2022-01-032-74/+309
| | | | | | | | | | | | | | | | | | | | | | | (#6410) * OCSP responses can contain multiple SINGLERESPs Instead of throwing an exception when encountering a OCSP response with multiple SINGLERESPs, throw the exception when attempting to pull a single structure if multiple are present. Add a response_iter property to the OCSP Response object, which allows for iteration through all the SINGLERESPs, and properties to be individually accessed for each. * Small fixes to OCSP multiple response handling. Squash eventually * Docs updates. Should be squashed * Get rid of mutating iterator, replace with separate return object * Fix versionadded strings in docs * Cleanup docs & python bindings.
* type a context manager and its helper (#6781)Paul Kehrer2022-01-031-2/+2
| | | | | * type a context manager and its helper * untype this since it also takes a cffi object
* more pointless typing to improve metrics (#6780)Paul Kehrer2022-01-031-13/+20
| | | | | | | | | | | * more pointless typing to improve metrics * Apply suggestions from code review Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com> * black Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
* more internal typing for ssh (#6779)Paul Kehrer2022-01-031-25/+63
|
* Improve type coverage for a few backend EC methods (#6777)Alex Gaynor2022-01-021-8/+6
|
* Improve type coverage on some backend internals (#6776)Alex Gaynor2022-01-024-5/+15
|
* Improve typing in mode code (#6775)Alex Gaynor2021-12-302-5/+21
| | | Fixed IDEA not being marked as a BlockCipher
* Swap out the struct module for int methods (#6774)Alex Gaynor2021-12-306-32/+23
| | | If nothing else these are mypy friendly
* Added some typing for DH and DSA (#6773)Alex Gaynor2021-12-302-12/+12
|
* More typing of the ssh module internals (#6772)Alex Gaynor2021-12-291-33/+37
| | | | | * More typing of the ssh module internals * old python
* Bump version_check from 0.9.3 to 0.9.4 in /src/rust (#6770)dependabot[bot]2021-12-291-2/+2
| | | | | | | | | | | | | | | | Bumps [version_check](https://github.com/SergioBenitez/version_check) from 0.9.3 to 0.9.4. - [Release notes](https://github.com/SergioBenitez/version_check/releases) - [Commits](https://github.com/SergioBenitez/version_check/compare/v0.9.3...v0.9.4) --- updated-dependencies: - dependency-name: version_check dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump quote from 1.0.10 to 1.0.14 in /src/rust (#6769)dependabot[bot]2021-12-281-2/+2
| | | | | | | | | | | | | | | | Bumps [quote](https://github.com/dtolnay/quote) from 1.0.10 to 1.0.14. - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.10...1.0.14) --- updated-dependencies: - dependency-name: quote dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Informative error on incompatible Fernet key (#6768)Bar Harel2021-12-281-1/+6
| | | | | | | | | * Informative error * tests + prevent key logging on error * flake8 * black still downloading...
* Bump proc-macro2 from 1.0.34 to 1.0.36 in /src/rust (#6766)dependabot[bot]2021-12-271-2/+2
| | | | | | | | | | | | | | | | Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.34 to 1.0.36. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.34...1.0.36) --- updated-dependencies: - dependency-name: proc-macro2 dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump syn from 1.0.83 to 1.0.84 in /src/rust (#6764)dependabot[bot]2021-12-271-2/+2
| | | | | | | | | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 1.0.83 to 1.0.84. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.83...1.0.84) --- updated-dependencies: - dependency-name: syn dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Start typing the internals of the ssh module (#6761)Alex Gaynor2021-12-271-6/+23
|
* We don't pass the cffi buffer from any other method like this (#6759)Paul Kehrer2021-12-261-1/+2
| | | | We could optimize this in the future to allow passing buffers more directly and avoid a copy, but for now let's just be consistent
* type more asym internals (#6758)Paul Kehrer2021-12-267-18/+48
|
* improve typing for internal cmac code (#6757)Paul Kehrer2021-12-262-3/+12
| | | | | * improve typing for internal cmac code * fix mypy issue in tests
* consistently use object for other in eq/ne types (#6756)Paul Kehrer2021-12-266-86/+86
| | | | this appears to be best practice and also makes the mypy type-coverage analysis happier