Skip to content

Commit 15f753f

Browse files
committed
Merge #158: chore: Enforce min rustls version to 0.23.19
ed0cdae chore: bump version to 0.22.1, update CHANGELOG (Steve Myers) 7ef3ff6 chore: Enforce min `rustls` version to 0.23.19 (志宇) Pull request description: `rustls` versions 0.23.18 and 0.23.19 contains fix for vulnerability RUSTSEC-2024-0399. However, 0.23.18 bumps MSRV to 1.71. 0.23.19 reverts MSRV back to 1.63. We enforce min `rustls` version to 0.23.19 to make it easier to compile on MSRV and ensure we include the RUSTSEC-2024-0399 fix. Note that in CI, I decided to pin `rustls` dependency to 0.23.19 explicitly. This is because in future versions of `rustls`, the MSRV will be changed to 1.71. Context: rustls/rustls#2244 ACKs for top commit: notmandatory: ACK ed0cdae Tree-SHA512: 9b6319d520a1002b3404743f051019a5ff63f53a9fe37ed080ed8e761f3db3edd446d014d2145e9c098279d7b3e6e017e82dd633baeef202a904afb37c49c4d9
2 parents f00b999 + ed0cdae commit 15f753f

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/cont_integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Pin dependencies for MSRV
3232
if: matrix.rust == '1.63.0'
3333
run: |
34-
cargo update -p rustls --precise "0.23.17"
34+
cargo update -p rustls --precise "0.23.19"
3535
- name: Test
3636
run: cargo test --verbose --all-features
3737
- name: Setup iptables for the timeout test

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [Unreleased]
1111

12+
## [0.22.1]
13+
14+
- Enforce min `rustls` version 0.23.19 to support MSRV with fix for RUSTSEC-2024-0399 #158
15+
1216
## [0.22.0]
1317

1418
- Updates the NoCertificateVerification implementation for the rustls::client::danger::ServerCertVerifier to use the rustls::SignatureScheme from CryptoProvider in use #150
@@ -43,4 +47,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4347
[0.20.0]: https://github.com/bitcoindevkit/rust-electrum-client/compare/0.19.0...v0.20.0
4448
[0.21.0]: https://github.com/bitcoindevkit/rust-electrum-client/compare/0.20.0...v0.21.0
4549
[0.22.0]: https://github.com/bitcoindevkit/rust-electrum-client/compare/0.21.0...v0.22.0
46-
[Unreleased]: https://github.com/bitcoindevkit/rust-electrum-client/compare/0.22.0...HEAD
50+
[0.22.1]: https://github.com/bitcoindevkit/rust-electrum-client/compare/0.22.0...v0.22.1
51+
[Unreleased]: https://github.com/bitcoindevkit/rust-electrum-client/compare/0.22.1...HEAD

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "electrum-client"
3-
version = "0.22.0"
3+
version = "0.22.1"
44
authors = ["Alekos Filini <[email protected]>"]
55
license = "MIT"
66
homepage = "https://github.com/bitcoindevkit/rust-electrum-client"
@@ -26,7 +26,7 @@ serde_json = { version = "^1.0" }
2626

2727
# Optional dependencies
2828
openssl = { version = "0.10", optional = true }
29-
rustls = { version = "0.23", optional = true, default-features = false }
29+
rustls = { version = "0.23.19", optional = true, default-features = false }
3030
webpki-roots = { version = "0.25", optional = true }
3131

3232
byteorder = { version = "1.0", optional = true }

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ This library should compile with any combination of features with Rust 1.63.0.
1717
To build with the MSRV you will need to pin dependencies as follows:
1818

1919
```shell
20-
cargo update -p rustls --precise "0.23.17"
20+
cargo update -p rustls --precise "0.23.19"
2121
```
2222

0 commit comments

Comments
 (0)