Skip to content

Commit

Permalink
update GitHub SSH fingerprints (#4826)
Browse files Browse the repository at this point in the history
  • Loading branch information
zkoppert committed Nov 1, 2023
1 parent d900509 commit 35c3fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/functions/setupSSH.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function SetupGithubComSshKeys() {
info "Adding github.com SSH keys"
# Fetched out of band from
# https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints
GITHUB_RSA_FINGERPRINT="SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8"
GITHUB_RSA_FINGERPRINT="SHA256:uNiVztksCsDhcc0u9e8BujQXVUpKZIDTMczCvj3tD2s"
ssh-keyscan -t rsa github.com >/tmp/github.pub 2>/dev/null
if [[ "${SSH_INSECURE_NO_VERIFY_GITHUB_KEY}" == "true" ]]; then
warn "Skipping github.com key verification and adding without checking fingerprint"
Expand Down

0 comments on commit 35c3fa4

Please sign in to comment.