Skip to content

Instantly share code, notes, and snippets.

@dan-turner
Last active January 16, 2018 06:01
Show Gist options
  • 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