summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Finish adopting pyo3's exceptio facilities (#8786)Alex Gaynor2023-04-2210-117/+81
|
* Use pyo3's facilities for exceptions (#8785)Alex Gaynor2023-04-2211-105/+104
|
* Convert HMAC to Rust (#8781)Alex Gaynor2023-04-2213-208/+348
|
* Remove now unused bindings (#8778)Alex Gaynor2023-04-212-13/+0
|
* Convert hashes to Rust (#8775)Alex Gaynor2023-04-217-141/+205
|
* Bump libc from 0.2.141 to 0.2.142 in /src/rust (#8765)dependabot[bot]2023-04-201-2/+2
| | | | | | | | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.141 to 0.2.142. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.141...0.2.142) --- 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>
* Fix CI (#8766)Alex Gaynor2023-04-202-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | * Bump BoringSSL and/or OpenSSL in CI * Bump openssl from 0.10.50 to 0.10.51 in /src/rust Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.50 to 0.10.51. - [Release notes](https://github.com/sfackler/rust-openssl/releases) - [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.50...openssl-v0.10.51) --- updated-dependencies: - dependency-name: openssl dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Pin pyasn1 on twisted --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: pyca-boringbot[bot] <pyca-boringbot[bot]+106132319@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Simplify Rust build script (#8745)Alex Gaynor2023-04-171-14/+4
| | | Rather than spawn a python and pass the script on stdin, just use `-c`
* Intern more strings (#8743)Alex Gaynor2023-04-171-3/+3
|
* port OCSP responses to the new crate (#8742)Paul Kehrer2023-04-163-212/+239
|
* begin separation of x509 crate from cryptography crate (#8740)Paul Kehrer2023-04-1625-962/+1093
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * begin separation of x509 crate from cryptography crate this will not be a published crate for now and the separation is incomplete. * no more rawcertificate, no more re-exporting * rename RawCsr * rename rawcrl * port ocsprequest and rename * more raw renaming * switch to a workspace, rename * remove unneeded imports * add license headers, remove more unneeded imports * coverage * this should actually be possible iwth just --all * merge all the coverage files * path fix * one last guess * coverage * remove extra definition
* drop libressl 3.5.x support (#8741)Paul Kehrer2023-04-163-18/+0
| | | OpenBSD 7.1 is no longer supported so neither is LibreSSL 3.5.x
* add support for aes256-gcm@openssh.com decryption for SSH keys (#8738)Paul Kehrer2023-04-151-23/+85
| | | | | | | * add support for aes256-gcm@openssh.com decryption for SSH keys * review feedback * skip when bcrypt isn't present
* we also need X509_STORE_up_ref for pyopenssl (#8737)Paul Kehrer2023-04-151-0/+1
|
* update cargo.toml's openssl-sys (#8732)Paul Kehrer2023-04-141-1/+1
| | | the .lock is correct since it got updated by dependabot when it bumped to 0.9.85 for openssl, but the PR bumping this closed. The lock supersedes this, but this should be right!
* Bump pyo3 from 0.18.2 to 0.18.3 in /src/rust (#8734)dependabot[bot]2023-04-141-10/+10
| | | | | | | | | | | | | | | | Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.18.2 to 0.18.3. - [Release notes](https://github.com/pyo3/pyo3/releases) - [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md) - [Commits](https://github.com/pyo3/pyo3/compare/v0.18.2...v0.18.3) --- updated-dependencies: - dependency-name: pyo3 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>
* re-add a binding for an upcoming pyopenssl release (#8724)Paul Kehrer2023-04-141-0/+1
|
* Remove unused consts (#8713)Alex Gaynor2023-04-121-3/+0
|
* Use pyo3::intern! comprehensively (#8711)Alex Gaynor2023-04-1218-190/+337
|
* Remove unused parameter (#8707)Alex Gaynor2023-04-111-7/+2
|
* Convert ed448 to Rust (#8705)Alex Gaynor2023-04-117-228/+228
|
* Convert ed25519 to Rust (#8697)Alex Gaynor2023-04-1010-218/+317
|
* support equality checks on all public asymmetric key types (#8700)Paul Kehrer2023-04-1018-12/+132
| | | | | * support equality checks on all public asymmetric key types * review feedback
* Support msCertificateTemplate extension (#8695)Paul Kehrer2023-04-106-0/+90
| | | | | | | * support ms certificate template * contortions for rust coverage * review feedback
* Bump openssl from 0.10.49 to 0.10.50 in /src/rust (#8693)dependabot[bot]2023-04-102-5/+5
| | | | | | | | | | | | | | | Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.49 to 0.10.50. - [Release notes](https://github.com/sfackler/rust-openssl/releases) - [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.49...openssl-v0.10.50) --- updated-dependencies: - dependency-name: openssl 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>
* Migrate x448 to Rust (#8691)Alex Gaynor2023-04-1010-311/+369
|
* Bump libc from 0.2.140 to 0.2.141 in /src/rust (#8667)dependabot[bot]2023-04-041-2/+2
| | | | | | | | | | | | | | | Bumps [libc](https://github.com/rust-lang/libc) from 0.2.140 to 0.2.141. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/commits) --- 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 accidentally left-over TODO comments (#8666)Alex Gaynor2023-04-041-2/+0
|
* upgrade rust-asn1, which removes chrono dep (#8664)Paul Kehrer2023-04-049-96/+58
| | | | | | | * use new rust-asn1 non-chrono path * bump asn1 * oh yeah, remove that
* Bump proc-macro2 from 1.0.55 to 1.0.56 in /src/rust (#8661)dependabot[bot]2023-04-031-2/+2
| | | | | | | | | | | | | | | Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.55 to 1.0.56. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.55...1.0.56) --- 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>
* Several rust cleanups suggested by clippy in pedantic mode (#8658)Alex Gaynor2023-04-038-30/+21
|
* Upgrade to Rust 2021 edition (#8656)Alex Gaynor2023-04-031-1/+1
|
* Drop usage of clock feature of chrono (#8657)Alex Gaynor2023-04-035-252/+13
| | | It adds a zillion dependencies, we can just let python get the current time
* remove cffi helper funcs and args that are no longer needed (#8654)Paul Kehrer2023-04-022-87/+1
|
* Bump proc-macro2 from 1.0.54 to 1.0.55 in /src/rust (#8652)dependabot[bot]2023-04-011-2/+2
| | | | | | | | | | | | | | | Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.54 to 1.0.55. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.54...1.0.55) --- 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>
* Update cargo packages that dependabot couldn't handle (#8646)Alex Gaynor2023-04-021-70/+13
|
* Bump openssl from 0.10.48 to 0.10.49 in /src/rust (#8650)dependabot[bot]2023-04-012-3/+3
| | | | | | | | | | | | | | | Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.48 to 0.10.49. - [Release notes](https://github.com/sfackler/rust-openssl/releases) - [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.48...openssl-v0.10.49) --- updated-dependencies: - dependency-name: openssl 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>
* Bump openssl-sys from 0.9.83 to 0.9.84 in /src/rust (#8649)dependabot[bot]2023-04-012-4/+3
| | | | | | | | | | | | | | | Bumps [openssl-sys](https://github.com/sfackler/rust-openssl) from 0.9.83 to 0.9.84. - [Release notes](https://github.com/sfackler/rust-openssl/releases) - [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.83...openssl-sys-v0.9.84) --- updated-dependencies: - dependency-name: openssl-sys 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>
* Bump openssl-macros from 0.1.0 to 0.1.1 in /src/rust (#8648)dependabot[bot]2023-04-011-12/+23
| | | | | | | | | | | | | Bumps openssl-macros from 0.1.0 to 0.1.1. --- updated-dependencies: - dependency-name: openssl-macros 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>
* Use from __future__ import annotations everywhere (#8643)Alex Gaynor2023-03-31108-194/+330
|
* Bump iana-time-zone from 0.1.54 to 0.1.55 in /src/rust (#8641)dependabot[bot]2023-03-301-13/+70
| | | | | | | | | | | | | | | | Bumps [iana-time-zone](https://github.com/strawlab/iana-time-zone) from 0.1.54 to 0.1.55. - [Release notes](https://github.com/strawlab/iana-time-zone/releases) - [Changelog](https://github.com/strawlab/iana-time-zone/blob/main/CHANGELOG.md) - [Commits](https://github.com/strawlab/iana-time-zone/compare/v0.1.54...v0.1.55) --- updated-dependencies: - dependency-name: iana-time-zone 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>
* define path for type for rust classes (no more builtins) (#8635)Paul Kehrer2023-03-2911-17/+17
|
* Restore the x509 error verification codes (#8626)Itamar Turner-Trauring2023-03-281-2/+59
| | | | | | | | | | | * Restore the x509 error verification codes. This is necessary for custom TLS certificate validation logic; see https://github.com/pyca/pyopenssl/issues/1201 * Remove changelog entry. --------- Co-authored-by: Itamar Turner-Trauring <itamar@pythonspeed.com>
* Added support for OCSP AcceptableResponses extension (#8617)Alex Gaynor2023-03-276-4/+51
| | | fixes #8589
* Bump proc-macro2 from 1.0.53 to 1.0.54 in /src/rust (#8621)dependabot[bot]2023-03-261-2/+2
| | | | | | | | | | | | | | | Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.53 to 1.0.54. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.53...1.0.54) --- 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>
* Make CffiBuf implementation sounder (#8612)Alex Gaynor2023-03-262-3/+7
| | | This keeps the buffer object alive, in addition to the original object. Some buffer-implementors have different behavior based on whether there's a buffer object alive.
* Store X.509 structure contents as PyBytes (#8598)Alex Gaynor2023-03-255-45/+69
| | | This avoids a copy when we're loading from DER. There's still an extra copy when loading from PEM.
* Bump target-lexicon from 0.12.4 to 0.12.6 in /src/rust (#8608)dependabot[bot]2023-03-251-2/+2
| | | | | | | | | | | | | | | Bumps [target-lexicon](https://github.com/bytecodealliance/target-lexicon) from 0.12.4 to 0.12.6. - [Release notes](https://github.com/bytecodealliance/target-lexicon/releases) - [Commits](https://github.com/bytecodealliance/target-lexicon/compare/v0.12.4...v0.12.6) --- updated-dependencies: - dependency-name: target-lexicon 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 indoc from 1.0.4 to 1.0.9 in /src/rust (#8610)dependabot[bot]2023-03-251-5/+2
| | | | | | | | | | | | | | | Bumps [indoc](https://github.com/dtolnay/indoc) from 1.0.4 to 1.0.9. - [Release notes](https://github.com/dtolnay/indoc/releases) - [Commits](https://github.com/dtolnay/indoc/compare/1.0.4...1.0.9) --- updated-dependencies: - dependency-name: indoc 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 pyo3 from 0.18.1 to 0.18.2 in /src/rust (#8607)dependabot[bot]2023-03-251-10/+10
| | | | | | | | | | | | | | | | Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.18.1 to 0.18.2. - [Release notes](https://github.com/pyo3/pyo3/releases) - [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md) - [Commits](https://github.com/pyo3/pyo3/compare/v0.18.1...v0.18.2) --- updated-dependencies: - dependency-name: pyo3 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>