Skip to content

Conversation

@evanlinjin
Copy link
Member

@evanlinjin evanlinjin commented Nov 29, 2024

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

ValuedMammal added a commit to bitcoindevkit/bdk that referenced this pull request Nov 29, 2024
8e5a7c6 chore: Revert `rustls` pin dependency (志宇)

Pull request description:

  ### Description

  The recent release of `rustls` (0.23.19) reverts it's MSRV to 1.63 so the pin is no longer necessary.

  ### Notes to the reviewers

  Some context:
  * bitcoindevkit/rust-electrum-client#158
  * rustls/rustls#2244

  ### Changelog notice

  * Revert MSRV pin of `rustls`.

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

ACKs for top commit:
  LagginTimes:
    ACK 8e5a7c6
  ValuedMammal:
    ACK 8e5a7c6

Tree-SHA512: 355291f93a879effc8aa1d7fe0254d8f879f26d06f0d6b0ad3d7a508a53179f7c5b9ebcd2d450ee042fbd2867119cf9a15c3193af6f36c3e5548634ce689cdca
Copy link
Contributor

@oleonardolima oleonardolima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK dac38c0

You'd still need to update the rustls version on README.md too.

`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.
Copy link
Member

@notmandatory notmandatory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK ed0cdae

Thanks for fixing this up, I went ahead and updated the README and bumped the patch version so it's ready to release.

@notmandatory notmandatory added the bug Something isn't working label Dec 6, 2024
@notmandatory notmandatory merged commit 15f753f into bitcoindevkit:master Dec 6, 2024
4 checks passed
radiant-smith-lk20 added a commit to radiant-smith-lk20/rust-electrum-client that referenced this pull request Dec 15, 2025
…tls` version to 0.23.19

ed0cdae32971fe7b40d5587a55b2299fe74d554f chore: bump version to 0.22.1, update CHANGELOG (Steve Myers)
7ef3ff6873809b07bb2fccf35927b7f72598a03b 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 ed0cdae32971fe7b40d5587a55b2299fe74d554f

Tree-SHA512: 9b6319d520a1002b3404743f051019a5ff63f53a9fe37ed080ed8e761f3db3edd446d014d2145e9c098279d7b3e6e017e82dd633baeef202a904afb37c49c4d9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants