Created
June 21, 2019 01:11
-
-
Save ejfox/d64a7da835ef51ef67c376fdf6d0b542 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Confirm all publicly-posted PGP fingerprints match | |
# Fingerprint: 5D30 A33E 08E3 5B89 15B4 C7E2 E207 8E65 3FE3 89CD | |
curl https://github.com/ejfox.gpg | gpg --with-colons --import-options import-show --dry-run --import >> fp.txt | |
curl https://ejfox.com/pgp.txt | gpg --with-colons --import-options import-show --dry-run --import >> fp.txt | |
curl https://keybase.io/ejfox/pgp_keys.asc | gpg --with-colons --import-options import-show --dry-run --import >> fp.txt | |
# Look for the last 4 chars of expected fingerprint | |
grep 89CD fp.txt | |
# Should return 3 matching responses that look like | |
# fpr:::::::::5D30A33E08E35B8915B4C7E2E2078E653FE389CD: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment