summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* remove unused bignum bindings (#8401)Alex Gaynor2023-02-281-14/+0
|
* raise UnsupportedAlgorithm instead of ValueError in x509 builder sign (#8397)Paul Kehrer2023-02-262-10/+30
| | | Also change the typing to be an explicit union
* remove several unused SSL bindings (#8391)Alex Gaynor2023-02-271-7/+0
|
* fixes #8298 -- correctly generate content-type header in PKCS#7 SMIME (#8389)Alex Gaynor2023-02-262-46/+100
|
* Bump syn from 1.0.108 to 1.0.109 in /src/rust (#8385)dependabot[bot]2023-02-241-2/+2
| | | | | | | | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 1.0.108 to 1.0.109. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.108...1.0.109) --- 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 syn from 1.0.107 to 1.0.108 in /src/rust (#8383)dependabot[bot]2023-02-231-2/+2
| | | | | | | | | | | | | | | Bumps [syn](https://github.com/dtolnay/syn) from 1.0.107 to 1.0.108. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.107...1.0.108) --- 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>
* Enforce max number of SSH certificate principals (#8376)Jake2023-02-231-0/+10
| | | | | | | | | | | | | | | | | | | | * Enforce max number of SSH certificate principals There is an undocumented limit for the maximum number of valid principals accepted by the openssh tooling, as seen at: * https://github.com/openssh/openssh-portable/blob/27267642699342412964aa785b98afd69d952c88/sshkey.h#L108 * https://github.com/openssh/openssh-portable/blob/25c8a2bbcc10c493d27faea57c42a6bf13fa51f2/sshkey.c#L1801 * https://github.com/openssh/openssh-portable/blob/6180b0fa4f7996687678702806257e661fd5931e/ssh-keygen.c#L1833 This change enforces that same restriction as currently a SSH certificate can be generated that is invalid against the default sshd server. Consideration might be given for any non openssh servers that accept openssh certificates, if they exist and want to allow a greater number of principals. Of note, the 256 limit is not found in the spec for SSH certificates as defined at https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.certkeys. It instead seems to be arbitrarily chosen by the project as some limit was needed. * Address formatting error. * Comment on valid_prinicpals size limit plus test added. --------- Co-authored-by: Jake <jake@vaultish.com>
* Add shortcut methods for exporting EC keys as raw bytes (#8357)David Buchanan2023-02-224-0/+80
| | | | | | | | | | | | | | | | | * WIP: Add raw export alias method for x25519 keys * Ditto for x448, ed448, ed25519 * Document new private_bytes_raw public_bytes_raw methods * docs: Populate versionadded to be 40 * docs: Fix PublicFormat -> PrivateFormat where applicable * formatting * Update tests for test_pub_priv_bytes_raw in x25519, x448, ed448 (TODO: ed25519) * Add test_pub_priv_bytes_raw test for Ed25519
* endless binding removal (#8360)Paul Kehrer2023-02-201-3/+0
|
* remove more unused ssl bindings (#8359)Paul Kehrer2023-02-201-4/+0
| | | `SSL_OP_NO_DTLS*` are identical to the `TLS` values and we've never used session_reused.
* remove unused x509 verify bindings (#8358)Alex Gaynor2023-02-201-13/+0
|
* remove unused x509 verify bindings (#8356)Alex Gaynor2023-02-201-13/+0
| | | | | | | | | * remove unused x509 verify bindings * Update x509_vfy.py * Update x509_vfy.py * Update x509_vfy.py
* remove unused error binding (#8355)Alex Gaynor2023-02-201-2/+0
|
* remove unused ssl binding (#8354)Alex Gaynor2023-02-201-1/+0
|
* remove unused x509 verify bindings (#8347)Alex Gaynor2023-02-201-5/+0
|
* remove unused x509 bindings (#8343)Alex Gaynor2023-02-201-9/+0
|
* remove unused ssl bindings (#8353)Alex Gaynor2023-02-201-4/+0
|
* remove unused x509 name binding (#8348)Alex Gaynor2023-02-201-4/+0
|
* remove unused ssl binding (#8346)Alex Gaynor2023-02-201-1/+0
|
* remove unused object binding (#8344)Alex Gaynor2023-02-201-1/+0
|
* Remove unused rsa binding (#8345)Alex Gaynor2023-02-201-1/+0
|
* remove proto_version getters and most SSL_SESSION_* bindings (#8340)Paul Kehrer2023-02-191-12/+0
| | | | | * remove proto_version getters and SSL_SESSION_* bindings * oops
* remove SSL_CIPHER bindings (#8341)Paul Kehrer2023-02-191-9/+0
|
* remove some reneg bindings (#8339)Paul Kehrer2023-02-191-6/+0
|
* remove SSL_sess bindings (#8338)Paul Kehrer2023-02-191-13/+0
|
* remove unused DTLS bindings (#8337)Paul Kehrer2023-02-191-7/+0
| | | | | * remove unused DTLS bindings * remove conditional
* remove unused x509 binding (#8336)Alex Gaynor2023-02-191-1/+0
|
* remove unused constant (#8335)Paul Kehrer2023-02-191-1/+0
|
* remove some error bindings (#8334)Paul Kehrer2023-02-191-3/+0
|
* remove unused ec bindings (#8329)Alex Gaynor2023-02-191-17/+0
|
* remove unused netscape spki binding (#8330)Alex Gaynor2023-02-191-1/+0
|
* remove unused evp binding (#8331)Alex Gaynor2023-02-191-1/+0
|
* remove unused pkcs7 bindings (#8332)Alex Gaynor2023-02-191-11/+0
|
* remove unused CRL bindings (#8333)Alex Gaynor2023-02-191-4/+0
|
* remove series of unused Cryptography_HAS bindings (#8328)Alex Gaynor2023-02-191-30/+1
|
* remove unused pkcs7 binding (#8327)Alex Gaynor2023-02-191-1/+0
|
* remove unused bio bindings (#8322)Alex Gaynor2023-02-191-6/+0
|
* remove verification error code bindings (#8326)Alex Gaynor2023-02-191-57/+0
|
* remove unused x509name bindings (#8325)Alex Gaynor2023-02-191-3/+0
|
* remove unused x509 bindings (#8324)Alex Gaynor2023-02-191-2/+0
|
* remove unused ssl bindings (#8323)Alex Gaynor2023-02-191-6/+0
|
* Remove unused bindings (#8321)Alex Gaynor2023-02-194-44/+0
|
* fixes #8316 -- correct docstring (#8319)Alex Gaynor2023-02-171-1/+1
| | | | | | | | | | | * fixes #8316 -- correct docstring * Update src/cryptography/hazmat/primitives/asymmetric/x448.py Co-authored-by: Paul Kehrer <paul.l.kehrer@gmail.com> --------- Co-authored-by: Paul Kehrer <paul.l.kehrer@gmail.com>
* fixes #8316 -- correct docstring (#8318)Alex Gaynor2023-02-171-1/+1
|
* Bump cxx-build from 1.0.90 to 1.0.91 in /src/rust (#8308)dependabot[bot]2023-02-161-2/+2
| | | | | | | | | | | | | | | Bumps [cxx-build](https://github.com/dtolnay/cxx) from 1.0.90 to 1.0.91. - [Release notes](https://github.com/dtolnay/cxx/releases) - [Commits](https://github.com/dtolnay/cxx/compare/1.0.90...1.0.91) --- updated-dependencies: - dependency-name: cxx-build 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 unused typedefs (#8305)Alex Gaynor2023-02-161-8/+0
|
* remove two bindings functions that were unused (#8304)Alex Gaynor2023-02-161-7/+0
| | | just sort of sitting there
* Bump ouroboros from 0.15.5 to 0.15.6 in /src/rust (#8310)dependabot[bot]2023-02-161-4/+4
| | | | | | | | | | | | | | | Bumps [ouroboros](https://github.com/joshua-maros/ouroboros) from 0.15.5 to 0.15.6. - [Release notes](https://github.com/joshua-maros/ouroboros/releases) - [Commits](https://github.com/joshua-maros/ouroboros/commits) --- updated-dependencies: - dependency-name: ouroboros 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 cxx from 1.0.90 to 1.0.91 in /src/rust (#8309)dependabot[bot]2023-02-161-6/+6
| | | | | | | | | | | | | | | Bumps [cxx](https://github.com/dtolnay/cxx) from 1.0.90 to 1.0.91. - [Release notes](https://github.com/dtolnay/cxx/releases) - [Commits](https://github.com/dtolnay/cxx/compare/1.0.90...1.0.91) --- updated-dependencies: - dependency-name: cxx 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>
* try to resolve two compilation warnings (#8286)Alex Gaynor2023-02-141-1/+1
|