For sending me encrypted things in a work context (ryan.lewis@lhv.com).
| Field | Value |
|---|---|
ryan.lewis@lhv.com |
|
| Key ID | 68A698ADACB3C08D |
| Fingerprint | 66F5 806C A493 A452 F834 0E05 68A6 98AD ACB3 C08D |
| Algorithm | RSA 4096 |
Published on GitHub (ryanlewis).
curl -sS https://api.github.com/users/ryanlewis/gpg_keys \
| jq -r '.[] | select(.emails[]?.email == "ryan.lewis@lhv.com") | .raw_key' \
| gpg --importAlways cross-check against an out-of-band channel before trusting:
gpg --fingerprint ryan.lewis@lhv.com
# expect: 66F5 806C A493 A452 F834 0E05 68A6 98AD ACB3 C08DASCII-armoured ciphertext is safe to paste into Slack, email, a Jira ticket, anywhere.
gpg --encrypt --armor --recipient ryan.lewis@lhv.com secrets.txt
# produces secrets.txt.asc — send thatecho "the secret" | gpg --encrypt --armor --recipient ryan.lewis@lhv.com | pbcopyAdds a signature so I can verify it really came from you:
gpg --encrypt --sign --armor --recipient ryan.lewis@lhv.com secrets.txtIf gpg prompts There is no assurance this key belongs to the named user, you haven't set explicit trust on my key. For a one-off, bypass with:
gpg --encrypt --armor --trust-model always --recipient ryan.lewis@lhv.com secrets.txt