summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-11-20 23:52:16 +0100
committerNora Widdecke <nora@sequoia-pgp.org>2021-11-29 11:53:54 +0100
commite1405c80ca26ee3967ddf6a99a9a30bce98449c7 (patch)
tree65a511fa8d9be14d08418cd4540da35df5107319
parentb20d343628e341c832b40f24929515a290b7d0ce (diff)
Move MSRV to 1.56.1
- Rust 1.56.0 is affected by CVE-2021-42574, which is addressed in 1.56.1.
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--README.md8
-rw-r--r--openpgp/NEWS1
-rw-r--r--openpgp/README.md2
-rw-r--r--rust-toolchain2
5 files changed, 8 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c2345221..323e7f69 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -359,7 +359,7 @@ windows-msvc-32:
- $CI_PROJECT_NAMESPACE == "sequoia-pgp"
before_script:
- rm rust-toolchain
- - rustup default 1.54.0-x86_64-pc-windows-msvc
+ - rustup default 1.56.0-x86_64-pc-windows-msvc
- rustup target add i686-pc-windows-msvc
- rustup show
- rustc --version --verbose
diff --git a/README.md b/README.md
index b54a9dd1..7193efc8 100644
--- a/README.md
+++ b/README.md
@@ -195,7 +195,7 @@ $ docker run --rm -i sq packet dump < cert.asc
## Requirements
-To build Sequoia, you need at least Rust 1.48 and a few libraries,
+To build Sequoia, you need at least Rust 1.56 and a few libraries,
notably the Nettle cryptographic library version 3.4.1 or up. Please
see below for OS-specific commands to install the needed libraries:
@@ -207,9 +207,9 @@ $ sudo apt install git rustc cargo clang libclang-dev make pkg-config nettle-dev
Notes:
- - You need at least `rustc` version 1.48. The version in Debian 10
- (Buster) is too old, but you can use [rustup]. The version from
- Debian 11 (Bullseye) works fine.
+ - You need at least `rustc` version 1.56. This is the version included in
+ Debian 12 (bookworm) at the time of writing. You can use [rustup] if your
+ distribution only includes an older Rust version.
- You need at least Nettle 3.4.1. Both the versions in Debian 10 (Buster)
and Debian 11 (Bullseye) are fine.
diff --git a/openpgp/NEWS b/openpgp/NEWS
index 2142aeff..cfb8261f 100644
--- a/openpgp/NEWS
+++ b/openpgp/NEWS
@@ -5,6 +5,7 @@
* Changes in 1.7.0
** Notable fixes
- sequoia-openpgp can now be compiled to WASM.
+ - The MSRV is now 1.56.1.
* Changes in 1.6.0
** Notable fixes
- Decryption of encrypted messages and verification of
diff --git a/openpgp/README.md b/openpgp/README.md
index dc2a10cc..d238b557 100644
--- a/openpgp/README.md
+++ b/openpgp/README.md
@@ -124,4 +124,4 @@ sequoia-openpgp = { version = "*", default-features = false, features = ["crypto
# Minimum Supported Rust Version (MSRV)
-`sequoia-openpgp` requires Rust 1.48.
+`sequoia-openpgp` requires Rust 1.56.
diff --git a/rust-toolchain b/rust-toolchain
index 9db5ea12..43c989b5 100644
--- a/rust-toolchain
+++ b/rust-toolchain
@@ -1 +1 @@
-1.48.0
+1.56.1