mkogg.py: Fix 'self.get_mp4_metadata(self, source)'
[blog.git] / posts / Fingerprints.mdwn
1 Here are some quick reminders on extracting fingerprints from various
2 encryption keys.
3
4 With [[GNU Privacy Guard|gpg]] ([[OpenPGP|PGP]] keys):
5
6     $ gpg --fingerprint
7     /path/to/pubring.gpg
8     ------------------------------
9     pub   1024D/12345678 2008-08-09 [expires: 2011-08-08]
10           Key fingerprint = 1234 5678 90AB CDEF 1234  5678 90AB CDEF 1234 5678
11     uid                  John Doe <nowhere@invalid.com>
12     
13     ... (other accounts in your keyring) ...
14
15 With OpenSSH ([[SSH]] keys):
16
17     $ ssh-keygen -lf some-key.pub
18     2048 12:34:56:78:90:ab:cd:ef:12:34:56:78:90:ab:12:34 some-key.pub (RSA)
19
20 With OpenSSL ([[SSL]] keys):
21
22     $ openssl x509 -noout -in cert.pem -fingerprint
23     SHA1 Fingerprint=12:34:56:78:90:AB:CD:EF:12:34:56:78:90:AB:CD:EF:12:34:56:78