Skip to content

Instantly share code, notes, and snippets.

@dan-turner
Last active January 16, 2018 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dan-turner/2bcf4e32332d1983cbf63926bb5ee67c to your computer and use it in GitHub Desktop.
Save dan-turner/2bcf4e32332d1983cbf63926bb5ee67c to your computer and use it in GitHub Desktop.
YubiKey PGP + SSH
https://0day.work/using-a-yubikey-for-gpg-and-ssh/
https://ocramius.github.io/blog/yubikey-for-ssh-gpg-git-and-local-login/
https://github.com/drduh/YubiKey-Guide/tree/1ad37577db92726eadde4dc302a6f982ba7e82dc
https://github.com/drduh/config/blob/master/gpg.conf
https://help.github.com/articles/associating-an-email-with-your-gpg-key/ For adding extra emails to your keys
https://github.com/keybase/keybase-issues/issues/2798
gpg.conf
```
auto-key-locate keyserver
keyserver hkps://pgp.mit.edu
keyserver-options no-honor-keyserver-url
personal-cipher-preferences AES256 AES192 AES CAST5
personal-digest-preferences SHA512 SHA384 SHA256 SHA224
default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed
cert-digest-algo SHA512
s2k-digest-algo SHA512
s2k-cipher-algo AES256
charset utf-8
fixed-list-mode
no-comments
no-emit-version
keyid-format 0xlong
list-options show-uid-validity
verify-options show-uid-validity
with-fingerprint
require-cross-certification
use-agent
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment