Add gnupg.

This commit is contained in:
Raghav Gururajan 2021-12-18 20:27:47 -05:00
parent 3f074dcb4b
commit 4c2ede234b
Signed by: raghavgururajan
GPG Key ID: 5F5816647F8BE551
6 changed files with 55 additions and 0 deletions

6
gnupg/dirmngr.conf Normal file
View File

@ -0,0 +1,6 @@
# Route all network access via Tor.
use-tor
# Specify keyserver to receive keys, send keys, and search for keys.
keyserver hkps://keys.openpgp.org

5
gnupg/gpa.conf Normal file
View File

@ -0,0 +1,5 @@
default-key 7F8BE551
backup-generated
advanced-ui
show-advanced-options

14
gnupg/gpg-agent.conf Normal file
View File

@ -0,0 +1,14 @@
# Set the time a cache entry is valid to 1 day.
default-cache-ttl 86400
default-cache-ttl-ssh 86400
# Set the maximum time a cache entry is valid to 1 day.
max-cache-ttl 86400
max-cache-ttl-ssh 86400
# Specify pinentry program.
pinentry-program /home/rg/.guix-home/profile/bin/pinentry
# Enable OpenSSH agent emulation.
enable-ssh-support

21
gnupg/gpg.conf Normal file
View File

@ -0,0 +1,21 @@
# Specify the default key to sign with.
default-key 7F8BE551
# Assume that command line arguments are given as UTF-8 strings.
utf8-strings
# Automatically locate and retrieve keys.
auto-key-locate keyserver,local
# Set the list of personal cipher preferences.
personal-cipher-preferences AES256
# Set the list of personal digest preferences.
personal-digest-preferences SHA512
# Set the list of personal compression preferences.
personal-compress-preferences ZLIB
# Set the digest for force-use.
digest-algo sha512

3
gnupg/scdaemon.conf Normal file
View File

@ -0,0 +1,3 @@
# Use shared mode to access the card via PC/SC.
pcsc-shared

6
gnupg/sshcontrol Normal file
View File

@ -0,0 +1,6 @@
# openpgp:0x7F8BE551
7410BE15F4A43508B43F6F94EDC713ECBDEAEBC0
# rg@secondary
28955BA9E8853437C51EBC9F82AE96C8D87EB59B