Commit graph

11845 commits

Author SHA1 Message Date
dependabot[bot]
030f70f918
Bump typing-extensions from 4.10.0 to 4.11.0 (#10768)
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.10.0 to 4.11.0.
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.10.0...4.11.0)

---
updated-dependencies:
- dependency-name: typing-extensions
  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>
2024-04-08 11:09:20 +00:00
Alex Gaynor
3d02b96c3c
Simplify OCSP response generating code (#10763)
Wrapping nearly the entire function body with an `if` made it less readable
2024-04-07 06:57:23 -05:00
Alex Gaynor
3bcbbe7adf
Fixed lifetime error in hashes.rs with gil-refs disabled (#10759) 2024-04-06 15:43:21 -05:00
Alex Gaynor
c588f578d3
Fixed two lifetime errors in extensions.rs with gil-refs disabled (#10762) 2024-04-06 12:05:27 -05:00
Alex Gaynor
3505402383
Fixed lifetime errors in utils.rs with gil-refs disabled (#10761) 2024-04-06 10:39:39 -05:00
Alex Gaynor
a63af2fcf3
Fixed lifetime errors in certificate.rs with gil-refs disabled (#10760) 2024-04-06 10:34:25 -05:00
Alex Gaynor
2ab8b23dd6
Convert src/types.rs to new pyo3 APIs (#10754) 2024-04-06 08:29:37 -05:00
Alex Gaynor
dc14634f20
Fixed lifetime error in pkcs12.rs with gil-refs disabled (#10758) 2024-04-06 08:28:34 -05:00
Alex Gaynor
5303b8d421
Fixed lifetime errors in ec.rs with gil-refs disabled (#10757) 2024-04-06 07:32:51 -05:00
Alex Gaynor
070ebf2d92
Fixed lifetime error in csr.rs with gil-refs disabled (#10756) 2024-04-06 12:14:36 +00:00
Alex Gaynor
5f19fad7be
Fix lifetimes for PKCS#7 digests with gil-refs disabled (#10751) 2024-04-05 22:44:01 -05:00
Alex Gaynor
b93e165615
Convert some types usage to bound (#10750) 2024-04-05 22:41:57 -05:00
Alex Gaynor
85cc4e4311
Resolve new clippy warnings (#10755)
The fixes themselves are of marginal value 🙃
2024-04-05 22:41:14 -05:00
Alex Gaynor
15b11864d1
Fix lifetimes for CSR attribtues with gil-refs disabled (#10752) 2024-04-05 22:21:22 -05:00
pyca-boringbot[bot]
e41f97d314
Bump BoringSSL and/or OpenSSL in CI (#10753)
Co-authored-by: pyca-boringbot[bot] <pyca-boringbot[bot]+106132319@users.noreply.github.com>
2024-04-06 00:15:49 +00:00
Alex Gaynor
28beda0d53
Fix three more warnings in OCSP (#10746) 2024-04-05 16:44:12 -05:00
Alex Gaynor
6633a4ded4
Fixed lifetime/scoping error with gil-refs disabled (#10747) 2024-04-05 16:43:57 -05:00
Facundo Tuesca
2e345f26d4
Migrate more x509/extensions.rs APIs to new pyo3 APIs (and other migrations) (#10749)
* Migrate `encode_der_data` to new pyo3 APIs

* Convert more `x509/extensions.rs` APIs to the new pyo3 APIs

* Remove redundant function calls
2024-04-05 21:41:55 +00:00
Facundo Tuesca
5b50868544
Misc oscp pyo3 migrations (#10748)
* Misc. migrations for `x509/ocsp*.rs` files to new pyo3 APIs

* Fix parameter to be Bound and run cargo fmt
2024-04-05 20:38:43 +00:00
Facundo Tuesca
1868ba1a3c
Convert module-related code to new pyo3 APIs (#10745) 2024-04-05 19:52:24 +00:00
Facundo Tuesca
6e58a58f80
Convert src/x509/crl.rs to new pyo3 APIs (#10744) 2024-04-05 18:45:49 +00:00
Alex Gaynor
4acc8eddd0
Convert more sign functions to new pyo3 APIs (#10734) 2024-04-05 17:53:33 +00:00
Alex Gaynor
d00ef6a451
Convert portions of ocsp_resp.rs to new pyo3 APIs (#10740) 2024-04-05 12:41:59 -05:00
Alex Gaynor
2a6ea3cb5b
Convert more module creation to new pyo3 APIs (#10742) 2024-04-05 12:39:59 -05:00
Facundo Tuesca
22bd720f61
Convert more of src/x509/ocsp_req.rs to new pyo3 APIs (#10743) 2024-04-05 15:33:21 +00:00
Facundo Tuesca
07afd49006
Convert more of src/pkcs7.rs to new pyo3 APIs (#10741) 2024-04-05 15:07:25 +00:00
Alex Gaynor
6c11a3e6aa
Convert more module creation to new pyo3 APIs (#10739) 2024-04-05 09:25:02 -05:00
Alex Gaynor
0a57074ca3
Fix a compilation error without gil-refs (#10738) 2024-04-05 09:08:38 -05:00
Alex Gaynor
f79b6a1e0f
Convert more datetime functions to new pyo3 APIs (#10737) 2024-04-05 09:01:10 -05:00
Facundo Tuesca
afe3951956
Start converting src/x509/verify.rs to new pyo3 APIs (#10736)
* Start converting `src/x509/verify.rs` to new pyo3 APIs

* Fix errors with temp values being dropped

* Fix error when using `Bound::to_str` in Python<3.10

* Remove extra clone() call

* Add TODO message
2024-04-05 13:36:21 +00:00
Alex Gaynor
9d7e721498
Convert part of crl.rs to new pyo3 APIs (#10724) 2024-04-05 07:46:12 -05:00
Alex Gaynor
4d8945d754
Convert src/backend/ed448.rs to new pyo3 APIs (#10725) 2024-04-05 07:37:19 -05:00
dependabot[bot]
62607e9f1f
Bump jaraco-context from 4.3.0 to 5.1.0 in /.github/requirements (#10731)
* Bump jaraco-context from 4.3.0 to 5.1.0 in /.github/requirements

Bumps [jaraco-context](https://github.com/jaraco/jaraco.context) from 4.3.0 to 5.1.0.
- [Release notes](https://github.com/jaraco/jaraco.context/releases)
- [Changelog](https://github.com/jaraco/jaraco.context/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/jaraco.context/compare/v4.3.0...v5.1.0)

---
updated-dependencies:
- dependency-name: jaraco-context
  dependency-type: indirect
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update publish-requirements.txt

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
2024-04-05 07:35:07 -05:00
Alex Gaynor
533b35d775
Remove gil-refs feature from cryptography-cffi (#10735)
It doesn't need it
2024-04-05 07:33:32 -05:00
Facundo Tuesca
0a6d3ea750
Start converting src/x509/csr.rs to new pyo3 APIs (#10733) 2024-04-05 08:12:39 -04:00
Facundo Tuesca
33817b8a94
Convert src/x509/common.rs to new pyo3 APIs (#10732)
* Convert `src/x509/common.rs` to new pyo3 APIs

* Fix coverage issue in `extensions.rs`

* Fix another coverage issue in `extensions.rs`
2024-04-05 11:47:14 +00:00
Facundo Tuesca
855f28a604
Convert src/backend/x25519.rs to new pyo3 APIs (#10730) 2024-04-05 07:07:40 -04:00
Facundo Tuesca
1d05a6cb49
Finish conversion of src/backend/rsa.rs to new pyo3 APIs (#10729) 2024-04-05 07:06:47 -04:00
Facundo Tuesca
1232c8a78a
Convert src/backend/poly1305.rs to new pyo3 APIs (#10728) 2024-04-05 07:06:18 -04:00
Facundo Tuesca
8d27a3c6ce
Convert src/backend/hmac.rs to new pyo3 APIs (#10726) 2024-04-05 07:04:42 -04:00
Alex Gaynor
c56ff9679c
Convert src/backend/ed25519.rs to new pyo3 APIs (#10722) 2024-04-05 02:32:56 +00:00
Alex Gaynor
0ac63a4bb9
Convert src/backend/x448.rs to new pyo3 APIs (#10723) 2024-04-05 02:20:48 +00:00
Alex Gaynor
852c45dc37
Convert src/backend/ec.rs to new pyo3 APIs (#10721) 2024-04-04 21:05:07 -05:00
Alex Gaynor
654e580a0c
Convert several functions to new pyo3 APIs (#10720) 2024-04-05 02:01:49 +00:00
Alex Gaynor
4c0859f558
Convert src/backend/dsa.rs to new pyo3 APIs (#10715) 2024-04-04 20:13:52 -05:00
Alex Gaynor
adc0873f64
Convert src/backend/keys.rs to new pyo3 APIs (#10719) 2024-04-05 00:59:48 +00:00
Alex Gaynor
b7602b2945
Convert src/backend/kdf.rs to new pyo3 APIs (#10717) 2024-04-04 19:38:28 -05:00
pyca-boringbot[bot]
0a2acb1ac6
Bump BoringSSL and/or OpenSSL in CI (#10718)
Co-authored-by: pyca-boringbot[bot] <pyca-boringbot[bot]+106132319@users.noreply.github.com>
2024-04-04 19:36:19 -05:00
Alex Gaynor
c913f8885a
Use native binop methods instead of weird calls (#10716) 2024-04-04 19:36:00 -05:00
Alex Gaynor
166d21a8c6
Convert src/backend/cmac.rs to new pyo3 APIs (#10702) 2024-04-04 19:17:00 -05:00