Support SHA256 SSH key fingerprints
complete
N

Nick Bialostosky
At the moment we currently only display the MD5 fingerprint on the project settings page, while most other services (such as GitHub) show the SHA256 fingerprint. This can cause issues trying to determine which key is matched with which in GitHub or other services who show the SHA256 fingerprint.
It would be nice if the SHA256 fingerprint was also included, supported, and shown on the CircleCI project settings for SSH keys. In addition, when adding those fingerprints to jobs via the "add_ssh_keys" command both types of fingerprints should be supported.
S
Sebastian Lerner
updated the status to
complete
https://circleci.com/changelog/project-settings-ui-uses-sha256-fingerprints-instead-of-md5/
M
Moses Mendoza
The UI now displays sha256 fingeprints instead of MD5. You can also now specify a sha256 fingerprint for all V1 and V2 ssh key operations, and sha256 fingerprints are supported in the
add_ssh_keys
config step for injecting additional keys into a build. Thank you for your feedback!H
Horace Williams
+1 to this. We've been troubleshooting an issue where circleci keeps wiping out our deploy keys and replacing them with new ones, and not being able to see the same fingerprints between Github and Circle makes it maddening to debug.
M
Moses Mendoza
Hi Horace Williams! I believe that specific bug has now been addressed, if it's the one I'm thinking of. Please comment back if it happens again? Thank you!
J
Johanna Griffin
These are now available using our v1 API and the additional query parameter
?ssh-key-digest=sha256
:For SHA256 fingerprints for Additional SSH Keys, these are available in the
ssh_key
field via https://circleci.com/api/v1.1/project/:vcs-type/:org/:project/settings?ssh-key-digest=sha256 For the SHA256 fingerprints for Deploy and User keys, find these via https://circleci.com/api/v1.1/project/:vcs-type/:org/:project/checkout-key?digest=sha256
D
David Beitey
After the recent security incident (https://circleci.com/blog/january-4-2023-security-alert/), all SSH keys need to be replaced. Having different types of fingerprints shown on GitHub vs CircleCI has made it difficult trying to match keys between platforms, as the OP highlights.