From c80560354b69dee80515e52922f666282364526a Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 14 May 2011 07:53:30 -0400 Subject: [PATCH] Add fingerprints post. --- posts/Fingerprints.mdwn | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 posts/Fingerprints.mdwn diff --git a/posts/Fingerprints.mdwn b/posts/Fingerprints.mdwn new file mode 100644 index 0000000..e5f02e0 --- /dev/null +++ b/posts/Fingerprints.mdwn @@ -0,0 +1,23 @@ +Here are some quick reminders on extracting fingerprints from various +encryption keys. + +With [[GNU Privacy Guard|gpg]] ([[OpenPGP|PGP]] keys): + + $ gpg --fingerprint + /path/to/pubring.gpg + ------------------------------ + pub 1024D/12345678 2008-08-09 [expires: 2011-08-08] + Key fingerprint = 1234 5678 90AB CDEF 1234 5678 90AB CDEF 1234 5678 + uid John Doe + + ... (other accounts in your keyring) ... + +With OpenSSH ([[SSH]] keys): + + $ ssh-keygen -lf some-key.pub + 2048 12:34:56:78:90:ab:cd:ef:12:34:56:78:90:ab:12:34 some-key.pub (RSA) + +With OpenSSL ([[SSL]] keys): + + $ openssl x509 -noout -in cert.pem -fingerprint + SHA1 Fingerprint=12:34:56:78:90:AB:CD:EF:12:34:56:78:90:AB:CD:EF:12:34:56:78 -- 2.26.2