mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Raise MSRV to 1.65 (#10481)
This commit is contained in:
parent
e12b8ae5e0
commit
43b8b7910d
10 changed files with 12 additions and 14 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -47,11 +47,8 @@ jobs:
|
|||
# Latest commit on the OpenSSL master branch, as of Feb 23, 2024.
|
||||
- {VERSION: "3.12", NOXSESSION: "tests", OPENSSL: {TYPE: "openssl", VERSION: "11adf9a75d6b34723d1a20a0da4e4100ea6ca593"}}
|
||||
# Builds with various Rust versions. Includes MSRV and next
|
||||
# potential future MSRV:
|
||||
# 1.64 - maturin, workspace inheritance
|
||||
# 1.65 - Generic associated types (GATs), std::backtrace
|
||||
- {VERSION: "3.12", NOXSESSION: "rust-noclippy,tests", RUST: "1.63.0"}
|
||||
- {VERSION: "3.12", NOXSESSION: "rust,tests", RUST: "1.64.0"}
|
||||
# potential future MSRV.
|
||||
- {VERSION: "3.12", NOXSESSION: "rust,tests", RUST: "1.65.0"}
|
||||
- {VERSION: "3.12", NOXSESSION: "rust,tests", RUST: "beta"}
|
||||
- {VERSION: "3.12", NOXSESSION: "rust,tests", RUST: "nightly"}
|
||||
timeout-minutes: 15
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ Changelog
|
|||
* **BACKWARDS INCOMPATIBLE:** Support for OpenSSL less than 1.1.1e has been
|
||||
removed. Users on older version of OpenSSL will need to upgrade.
|
||||
* **BACKWARDS INCOMPATIBLE:** Dropped support for LibreSSL < 3.8.
|
||||
* Updated the minimum supported Rust version (MSRV) to 1.65.0, from 1.63.0.
|
||||
* :func:`~cryptography.hazmat.primitives.asymmetric.rsa.generate_private_key`
|
||||
now enforces a minimum RSA key size of 1024-bit. Note that 1024-bit is still
|
||||
considered insecure, users should generally use a key size of 2048-bits.
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ Fedora/RHEL/CentOS
|
|||
.. warning::
|
||||
|
||||
For RHEL and CentOS you must be on version 8.8 or newer for the command
|
||||
below to install a sufficiently new Rust. If your Rust is less than 1.63.0
|
||||
below to install a sufficiently new Rust. If your Rust is less than 1.65.0
|
||||
please see the :ref:`Rust installation instructions <installation:Rust>`
|
||||
for information about installing a newer Rust.
|
||||
|
||||
|
|
@ -312,7 +312,7 @@ Rust
|
|||
a Rust toolchain.
|
||||
|
||||
Building ``cryptography`` requires having a working Rust toolchain. The current
|
||||
minimum supported Rust version is 1.63.0. **This is newer than the Rust some
|
||||
minimum supported Rust version is 1.65.0. **This is newer than the Rust some
|
||||
package managers ship**, so users may need to install with the
|
||||
instructions below.
|
||||
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ pep8test = ["ruff", "mypy", "check-sdist", "click"]
|
|||
target = "cryptography.hazmat.bindings._rust"
|
||||
path = "src/rust/Cargo.toml"
|
||||
py-limited-api = "auto"
|
||||
rust-version = ">=1.63.0"
|
||||
rust-version = ">=1.65.0"
|
||||
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ authors = ["The cryptography developers <cryptography-dev@python.org>"]
|
|||
edition = "2021"
|
||||
publish = false
|
||||
# This specifies the MSRV
|
||||
rust-version = "1.63.0"
|
||||
rust-version = "1.65.0"
|
||||
|
||||
[dependencies]
|
||||
once_cell = "1"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ authors = ["The cryptography developers <cryptography-dev@python.org>"]
|
|||
edition = "2021"
|
||||
publish = false
|
||||
# This specifies the MSRV
|
||||
rust-version = "1.63.0"
|
||||
rust-version = "1.65.0"
|
||||
|
||||
[dependencies]
|
||||
pyo3 = { version = "0.20", features = ["abi3"] }
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ authors = ["The cryptography developers <cryptography-dev@python.org>"]
|
|||
edition = "2021"
|
||||
publish = false
|
||||
# This specifies the MSRV
|
||||
rust-version = "1.63.0"
|
||||
rust-version = "1.65.0"
|
||||
|
||||
[dependencies]
|
||||
asn1 = { version = "0.16.0", default-features = false }
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ authors = ["The cryptography developers <cryptography-dev@python.org>"]
|
|||
edition = "2021"
|
||||
publish = false
|
||||
# This specifies the MSRV
|
||||
rust-version = "1.63.0"
|
||||
rust-version = "1.65.0"
|
||||
|
||||
[dependencies]
|
||||
cfg-if = "1"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ authors = ["The cryptography developers <cryptography-dev@python.org>"]
|
|||
edition = "2021"
|
||||
publish = false
|
||||
# This specifies the MSRV
|
||||
rust-version = "1.63.0"
|
||||
rust-version = "1.65.0"
|
||||
|
||||
[dependencies]
|
||||
asn1 = { version = "0.16.0", default-features = false }
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ authors = ["The cryptography developers <cryptography-dev@python.org>"]
|
|||
edition = "2021"
|
||||
publish = false
|
||||
# This specifies the MSRV
|
||||
rust-version = "1.63.0"
|
||||
rust-version = "1.65.0"
|
||||
|
||||
[dependencies]
|
||||
asn1 = { version = "0.16.0", default-features = false }
|
||||
|
|
|
|||
Loading…
Reference in a new issue