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

Backport #11883 and #11889 to 1.68.2 #11890

Closed
wants to merge 2 commits into from
Closed

Conversation

pietroalbini
Copy link
Member

This PR backports the following PRs to the 1.68 stable branch, for inclusion in Rust 1.68.2:

r? @ehuss

mitsuhiko and others added 2 commits March 26, 2023 21:56
GitHub rotated their RSA host key which means that cargo needs to
update it.  Thankfully the other keys were not rotated so the impact
depends on how cargo connected to github.

Refs https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/
The patch to update the bundled ssh github host key did not
change anything for users who already had connected to github
one time before via ssh: if the attacker had access to the old
key, they'd be vulnerable to MITM attacks as their known_hosts
file would list the old github key. Only if they connected
again to github without attacker access, or if they saw the
announcement of the key rotation, they would update their key.

There is sadly no other way to distribute revocations of old host
keys to clients other than to bundle them with client software.
@rustbot
Copy link
Collaborator

rustbot commented Mar 26, 2023

⚠️ Warning ⚠️

  • Pull requests are usually filed against the master branch for this repo, but this one is against rust-1.68.0. Please double check that you specified the right target!

@rustbot rustbot added A-git Area: anything dealing with git S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 26, 2023
@pietroalbini
Copy link
Member Author

@ehuss was faster than me.

@pietroalbini pietroalbini deleted the pa-1.68.1 branch March 26, 2023 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-git Area: anything dealing with git S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants