Configuration files for gnupg and ssh

This commit is contained in:
Eduardo Cueto-Mendoza 2025-01-16 15:04:29 +00:00
parent c65e1fe274
commit 28c8dac8f1
Signed by: TastyPancakes
GPG Key ID: 941DF56C7242C3F1
6 changed files with 69 additions and 0 deletions

1
.gnupg/common.conf Executable file
View File

@ -0,0 +1 @@
use-keyboxd

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

@ -0,0 +1,13 @@
# https://github.com/drduh/config/blob/master/gpg-agent.conf
# https://www.gnupg.org/documentation/manuals/gnupg/Agent-Options.html
#pinentry-program /usr/bin/pinentry-gnome3
#pinentry-program /usr/bin/pinentry-tty
#pinentry-program /usr/bin/pinentry-x11
#pinentry-program /usr/local/bin/pinentry-curses
#pinentry-program /usr/local/bin/pinentry-mac
#pinentry-program /opt/homebrew/bin/pinentry-mac
pinentry-program /usr/bin/pinentry-curses
enable-ssh-support
ttyname $GPG_TTY
default-cache-ttl 60
max-cache-ttl 120

2
.gnupg/gpg.conf Executable file
View File

@ -0,0 +1,2 @@
use-agent
pinentry-mode loopback

11
.gnupg/sshcontrol Normal file
View File

@ -0,0 +1,11 @@
# List of allowed ssh keys. Only keys present in this file are used
# in the SSH protocol. The ssh-add tool may add new entries to this
# file to enable them; you may also add them manually. Comment
# lines, like this one, as well as empty lines are ignored. Lines do
# have a certain length limit but this is not serious limitation as
# the format of the entries is fixed and checked by gpg-agent. A
# non-comment line starts with optional white spaces, followed by the
# keygrip of the key given as 40 hex digits, optionally followed by a
# caching TTL in seconds, and another optional field for arbitrary
# flags. Prepend the keygrip with an '!' mark to disable it.

41
.ssh/config Normal file
View File

@ -0,0 +1,41 @@
#Host eduardo-cueto.com
# HostName eduardo-cueto.com
# User deb-ser-adm
# IdentityFile ~/.ssh/id_admin
#Host bsd-talk.com
# IdentityFile ~/.ssh/id_server
#Host github.com
# IdentityFile ~/.ssh/id_gittest
#Host unix-talk.com
# IdentityFile ~/.ssh/id_nitro_1
# Port 33
#Host fd98:f0b:88f:10::1
# IdentityFile ~/.ssh/id_nitro_1
# Port 22
#Host 2a02:8084:d6be:1298::1
# IdentityFile ~/.ssh/id_openwrt
# Port 22
#Host unix-talk.com
#IdentityFile ~/.ssh/id_secure
#Host bsd-talk.com
#IdentityFile ~/.ssh/id_local_server_2
#Host 216.238.68.117
# IdentityFile ~/.ssh/id_admin
Host unix-talk.com
IdentitiesOnly yes
IdentityFile ~/.ssh/id_rsa_yubikey.pub
Port 33
Host unix-talk.com
IdentitiesOnly yes
IdentityFile ~/.ssh/id_rsa_yubikey.pub
Port 22

1
.ssh/id_rsa_yubikey.pub Normal file
View File

@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCprFFmFGk8tPme6drgEjrC4ZZvhKEM524A82aX+2l+ikWN83++4RLQe5IoOqE8S4J2wBv5JLsds8IJDigwaVPYOaRNse3cRnBId+ESdDsYT4d5hikYv0/JORpooynCX4ortBq0Us++IB3bwyZiRk3uS7SprDmUioTHtup1CO1yEWR9SppZjOOU/YYoeVAuLzLPL4TC64zwrUKrxDq/Q30db30Jt5/4VXoeAfL62LA8sCckEtpyhro5QHagzKypXkkOlp7CUPK1eUmVt1v6SIXMmw7R1X52SvTauMavWgiV1kW7bJlE89PJ5hHoPnfHEHMhIQs5JMvXGkSCwVsaKRcOSg9lII9Py4sCy3ky9l/7Xi/WTfG5xORZ5C3ea9oJcDwP3I5fIJ6cyr7W3R2Q7KhaT4NoNHbuq0kY/EfeQKHkaqWqJPEogg/1SQm6/oPUmg2hPId99+E3H/EAGkwxE8ZkfsAXbPO5mmZlxHKzLtA6MyQ8XKNnVi9rCPyhSbuRhN+HE7QaTvFue5mKtJqgTJfRz3l2IuN6oYXTh5fMnhM7P8BeZulZf2dg7ypKb9nncdjOVCt3sxLBwz2cO2vOVswjaxR/H+tqP+kCpmKtqoYa8PeMCkSvl7kxvdS26vjjfF6pUInb+SXF799IPbYY4vPfLSH1gk7VRa8z/DqvhHPCDw== cardno:000F_63793DE6