aboutsummaryrefslogtreecommitdiffstats
path: root/gnupg
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2021-12-26 16:18:52 +0100
committerÓscar Nájera <hi@oscarnajera.com>2021-12-26 16:18:52 +0100
commit97c14018570d437e5c2ffcc2dc2de10a31054b67 (patch)
tree50b628b10b32b90fcce468794b3099913d8ec941 /gnupg
parentfca1c57d9965e39a90467a603fc479d13ef6e942 (diff)
downloaddotfiles-97c14018570d437e5c2ffcc2dc2de10a31054b67.tar.gz
dotfiles-97c14018570d437e5c2ffcc2dc2de10a31054b67.tar.bz2
dotfiles-97c14018570d437e5c2ffcc2dc2de10a31054b67.zip
gpg config: keygrip + algorithms
Diffstat (limited to 'gnupg')
-rw-r--r--gnupg/gpg.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnupg/gpg.conf b/gnupg/gpg.conf
new file mode 100644
index 0000000..8c9535b
--- /dev/null
+++ b/gnupg/gpg.conf
@@ -0,0 +1,7 @@
+with-keygrip
+## SHA1 is too weak.
+## https://www.schneier.com/blog/archives/2005/02/cryptanalysis_o.html
+personal-digest-preferences SHA256
+cert-digest-algo SHA256
+default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed
+cipher-algo AES256