Skip to content

Instantly share code, notes, and snippets.

@figadore
Last active August 16, 2021 19:00
Show Gist options
  • Save figadore/769066540efcedf881d3d763aa7f3297 to your computer and use it in GitHub Desktop.
Save figadore/769066540efcedf881d3d763aa7f3297 to your computer and use it in GitHub Desktop.
Get ssh private key fingerprint in GitHub's format (e.g. for GitHub Apps)
openssl rsa -in /path/to/key.pem -pubout -outform DER | openssl sha256 -binary | openssl base64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment