Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Enforce min rustls version to 0.23.19 #158

Merged
merged 2 commits into from
Dec 6, 2024

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
Collaborator

@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
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