From 2a87cb1cc05f77e81c53e502520bcf929e85ded2 Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Thu, 29 Nov 2018 20:27:42 -0500 Subject: [PATCH] Add gpg config --- lain/.gnupg/gpg-agent.conf | 3 +++ lain/.gnupg/gpg.conf | 16 ++++++++++++++++ lain/.gnupg/scdaemon.conf | 3 +++ lain/.pam_environment | 2 ++ 4 files changed, 24 insertions(+) create mode 100644 lain/.gnupg/gpg-agent.conf create mode 100644 lain/.gnupg/gpg.conf create mode 100644 lain/.gnupg/scdaemon.conf create mode 100644 lain/.pam_environment diff --git a/lain/.gnupg/gpg-agent.conf b/lain/.gnupg/gpg-agent.conf new file mode 100644 index 0000000..242e10e --- /dev/null +++ b/lain/.gnupg/gpg-agent.conf @@ -0,0 +1,3 @@ +enable-ssh-support +default-cache-ttl 3600 +max-cache-ttl 3600 diff --git a/lain/.gnupg/gpg.conf b/lain/.gnupg/gpg.conf new file mode 100644 index 0000000..4e6f983 --- /dev/null +++ b/lain/.gnupg/gpg.conf @@ -0,0 +1,16 @@ +personal-cipher-preferences AES256 AES192 AES CAST5 +personal-digest-preferences SHA512 SHA384 SHA256 SHA224 +default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed +cert-digest-algo SHA512 +s2k-digest-algo SHA512 +s2k-cipher-algo AES256 +charset utf-8 +fixed-list-mode +no-comments +no-emit-version +keyid-format 0xlong +list-options show-uid-validity +verify-options show-uid-validity +with-fingerprint +require-cross-certification +use-agent diff --git a/lain/.gnupg/scdaemon.conf b/lain/.gnupg/scdaemon.conf new file mode 100644 index 0000000..cc9bd88 --- /dev/null +++ b/lain/.gnupg/scdaemon.conf @@ -0,0 +1,3 @@ +pcsc-driver /usr/lib/libpcsclite.so +card-timeout 5 +disable-ccid diff --git a/lain/.pam_environment b/lain/.pam_environment new file mode 100644 index 0000000..2e31e89 --- /dev/null +++ b/lain/.pam_environment @@ -0,0 +1,2 @@ +SSH_AGENT_PID DEFAULT= +SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh"