aboutsummaryrefslogtreecommitdiffstats
path: root/gnupg/gpg.conf
diff options
context:
space:
mode:
Diffstat (limited to 'gnupg/gpg.conf')
-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