Add fingerprints post.
authorW. Trevor King <wking@drexel.edu>
Sat, 14 May 2011 11:53:30 +0000 (07:53 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 14 May 2011 11:53:30 +0000 (07:53 -0400)
posts/Fingerprints.mdwn [new file with mode: 0644]

diff --git a/posts/Fingerprints.mdwn b/posts/Fingerprints.mdwn
new file mode 100644 (file)
index 0000000..e5f02e0
--- /dev/null
@@ -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 <nowhere@invalid.com>
+    
+    ... (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