Created
December 26, 2022 04:19
-
-
Save bekcpear/ea30609b36c416b5c0900b73b1525d80 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/drduh/config/blob/master/gpg.conf | |
# https://www.gnupg.org/documentation/manuals/gnupg/GPG-Configuration-Options.html | |
# https://www.gnupg.org/documentation/manuals/gnupg/GPG-Esoteric-Options.html | |
# Use AES256, 192, or 128 as cipher | |
personal-cipher-preferences AES256 AES192 AES | |
# Use SHA512, 384, or 256 as digest | |
personal-digest-preferences SHA512 SHA384 SHA256 | |
# Use ZLIB, BZIP2, ZIP, or no compression | |
personal-compress-preferences ZLIB BZIP2 ZIP Uncompressed | |
# Default preferences for new keys | |
default-preference-list SHA512 SHA384 SHA256 AES256 AES192 AES ZLIB BZIP2 ZIP Uncompressed | |
# SHA512 as digest to sign keys | |
cert-digest-algo SHA512 | |
# SHA512 as digest for symmetric ops | |
s2k-digest-algo SHA512 | |
# AES256 as cipher for symmetric ops | |
s2k-cipher-algo AES256 | |
# UTF-8 support for compatibility | |
charset utf-8 | |
# Show Unix timestamps | |
#fixed-list-mode # default since 2.0.10 | |
# No comments in signature | |
no-comments | |
# No version in signature | |
no-emit-version | |
# Long hexidecimal key format | |
keyid-format 0xlong | |
# Display UID validity | |
list-options show-uid-validity show-unusable-uids show-sig-expire show-notations | |
verify-options show-uid-validity | |
# Display all keys and their fingerprints | |
with-fingerprint | |
with-sig-check | |
# Display key origins and updates | |
#with-key-origin | |
# Cross-certify subkeys are present and valid | |
require-cross-certification | |
# Disable caching of passphrase for symmetrical ops | |
no-symkey-cache | |
# Disable putting recipient key IDs into messages | |
throw-keyids | |
# fix the s2k mode to iterate and salted | |
s2k-mode 3 | |
# Enable smartcard | |
use-agent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment