about summary refs log tree commit diff
path: root/gnupg
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>1970-01-01 03:00:00 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-20 11:51:54 +0300
commit38bab29776950ac2364ed64195b89887717c33de (patch)
treeedaaf366a55dbe96d268019124536bc504c64e87 /gnupg
chore: init HEAD master
Diffstat (limited to '')
-rw-r--r--gnupg/.gnupg/dirmngr.conf1
-rw-r--r--gnupg/.gnupg/gpg-agent.conf6
-rw-r--r--gnupg/.gnupg/gpg.conf38
-rwxr-xr-xgnupg/@install10
4 files changed, 55 insertions, 0 deletions
diff --git a/gnupg/.gnupg/dirmngr.conf b/gnupg/.gnupg/dirmngr.conf
new file mode 100644
index 0000000..f000ca5
--- /dev/null
+++ b/gnupg/.gnupg/dirmngr.conf
@@ -0,0 +1 @@
+hkp-cacert /usr/share/gnupg/sks-keyservers.netCA.pem
diff --git a/gnupg/.gnupg/gpg-agent.conf b/gnupg/.gnupg/gpg-agent.conf
new file mode 100644
index 0000000..c3b7562
--- /dev/null
+++ b/gnupg/.gnupg/gpg-agent.conf
@@ -0,0 +1,6 @@
+enable-ssh-support
+
+default-cache-ttl 999999
+default-cache-ttl-ssh 999999
+max-cache-ttl 999999
+max-cache-ttl-ssh 999999
diff --git a/gnupg/.gnupg/gpg.conf b/gnupg/.gnupg/gpg.conf
new file mode 100644
index 0000000..77a0bfb
--- /dev/null
+++ b/gnupg/.gnupg/gpg.conf
@@ -0,0 +1,38 @@
+display-charset utf-8
+enable-progress-filter
+fixed-list-mode
+keyid-format 0xlong
+no-comments
+no-emit-version
+no-greeting
+with-fingerprint
+
+armor
+
+use-agent
+
+list-options show-uid-validity show-usage
+verify-options show-uid-validity
+
+default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES ZLIB BZIP2 ZIP Uncompressed
+
+personal-cipher-preferences AES256 AES192 AES
+s2k-cipher-algo AES256
+
+personal-digest-preferences SHA512 SHA384 SHA256 SHA224
+digest-algo SHA512
+cert-digest-algo SHA512
+s2k-digest-algo SHA512
+
+personal-compress-preferences ZLIB BZIP2 ZIP Uncompressed
+
+no-random-seed-file
+
+keyserver hkps://hkps.pool.sks-keyservers.net
+keyserver hkps://keys.gnupg.net
+keyserver hkps://keys.openpgp.org
+keyserver hkps://pgp.mit.edu
+
+keyserver-options auto-key-retrieve
+keyserver-options no-include-revoked
+keyserver-options no-honor-keyserver-url
diff --git a/gnupg/@install b/gnupg/@install
new file mode 100755
index 0000000..16c43a8
--- /dev/null
+++ b/gnupg/@install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+[ ! -d "${HOME}/.gnupg" ] && \
+    mkdir -p "${HOME}/.gnupg"
+
+stow \
+    --target="${HOME}" \
+    --ignore="^@.*" \
+    --verbose \
+    gnupg

Consider giving Nix/NixOS a try! <3