Skip to content

Instantly share code, notes, and snippets.

@thomsh
Last active August 9, 2018 12:41
Show Gist options
  • Save thomsh/cb651bf892617732b4ad48638e0a1a89 to your computer and use it in GitHub Desktop.
Save thomsh/cb651bf892617732b4ad48638e0a1a89 to your computer and use it in GitHub Desktop.
.gnupg/gpg.conf
# uncomment default key if needed
# default-key 0xCHANGEME
charset utf-8
keyserver hkp://keys.gnupg.net
# privacy concern
no-emit-version
no-comments
export-options export-minimal
# display
keyid-format 0xlong
with-fingerprint
list-options show-uid-validity
verify-options show-uid-validity
# limit cipher/hash algo
personal-cipher-preferences AES192
personal-digest-preferences SHA512
default-preference-list SHA512 SHA384 SHA256 RIPEMD160 AES192 TWOFISH BLOWFISH ZLIB BZIP2 ZIP Uncompressed
cipher-algo AES192
digest-algo SHA512
cert-digest-algo SHA512
compress-algo ZLIB
disable-cipher-algo 3DES
weak-digest SHA1
# s2k= string to key function, key derivation.
s2k-cipher-algo AES192
s2k-digest-algo SHA512
s2k-mode 3
s2k-count 65011712
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment