Skip to content

Instantly share code, notes, and snippets.

@NiklasMerz
Last active May 10, 2018 21:38
Show Gist options
  • Save NiklasMerz/41d9d68c6cef31ea253514a7bb86d0b3 to your computer and use it in GitHub Desktop.
Save NiklasMerz/41d9d68c6cef31ea253514a7bb86d0b3 to your computer and use it in GitHub Desktop.
GPG-Linux config
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
enable-ssh-support
pinentry-program /usr/bin/pinentry-gnome3
default-cache-ttl 60
max-cache-ttl 120
write-env-file
use-standard-socket
use-agent
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
keyserver hkps://hkps.pool.sks-keyservers.net
keyserver-options ca-cert-file=/xxxx/.gnupg/sks-keyservers.netCA.pem
keyserver-options no-honor-keyserver-url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment