Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
81 lines (61 sloc) 2.4 KB
# David Wood's .gnupg/gpg.conf Configuration
# dotfiles: https://github.com/davidtwco/dotfiles
# website: https://davidtw.co
# =================================
# Based on: Riseup OpenPGP Best Practices
# https://help.riseup.net/en/security/message-security/openpgp/best-practices
# Default Key {{{
# ===========
default-key 9F53F154
# }}}
# Behaviour {{{
# =========
# Disable inclusion of the version string in ASCII armored output.
no-emit-version
# Use armoured output.
armor
# Disable comment string in clear text signatures and ASCII armored messages.
no-comments
# Display long key IDs.
keyid-format 0xlong
# List all keys (or the specified ones) along with their fingerprints.
with-fingerprint
# Display the calculated validity of user IDs during key listings.
list-options show-uid-validity
verify-options show-uid-validity
# Try to use the GnuPG-Agent. With this option, GnuPG first tries to connect to
# the agent before it asks for a passphrase.
use-agent
# Use unicode.
charset utf-8
# }}}
# Keyserver {{{
# =========
# This is the server that --recv-keys, --send-keys, and --search-keys will
# communicate with to receive keys from, send keys to, and search for keys on.
keyserver hkps://hkps.pool.sks-keyservers.net
# Don't leak DNS, see https://trac.torproject.org/projects/tor/ticket/2846.
# No longer exists.
# keyserver-options no-try-dns-srv
# When using --refresh-keys, if the key in question has a preferred keyserver
# URL, then disable use of that preferred keyserver to refresh the key from.
keyserver-options no-honor-keyserver-url
# When searching for a key with --search-keys, include keys that are marked on
# the keyserver as revoked.
keyserver-options include-revoked
# }}}
# Algorithm and Ciphers {{{
# =====================
# List of personal digest preferences. When multiple digests are supported by
# all recipients, choose the strongest one.
personal-cipher-preferences AES256 AES192 AES CAST5
# List of personal digest preferences. When multiple ciphers are supported by
# all recipients, choose the strongest one.
personal-digest-preferences SHA512 SHA384 SHA256 SHA224
# Message digest algorithm used when signing a key.
cert-digest-algo SHA512
# This preference list is used for new keys and becomes the default for
# "setpref" in the edit menu.
default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed
# }}}
# vim:foldmethod=marker:foldlevel=0