Skip to content

Instantly share code, notes, and snippets.

@R41D3NN
Created February 14, 2017 18:45
Show Gist options
  • Save R41D3NN/aefaf2f6a9d3f747e3165da1c261fd3c to your computer and use it in GitHub Desktop.
Save R41D3NN/aefaf2f6a9d3f747e3165da1c261fd3c to your computer and use it in GitHub Desktop.
Get the hex representation of a public key from base64 format.
awk '{$print $2}' id_xxx.pub | openssl base64 -d -A | openssl sha1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment