Update SSH and GPG config

This commit is contained in:
Snoweuph 2024-10-18 18:05:03 +02:00
parent c4c5b2b1e4
commit da957d2706
Signed by: Snoweuph
GPG key ID: BEFC41DA223CEC55
7 changed files with 28 additions and 3 deletions

View file

@ -1,5 +1,6 @@
[ActivityManager]
_k_friendly_name=Activity Manager
switch-to-activity-06e56b50-274c-44d5-bd05-253d1e88a244=none,none,Switch to activity "Standard"
switch-to-activity-10eae782-cee3-42c7-b63f-6cfa29a432f4=none,none,Switch to activity "Default"
switch-to-activity-12c956f8-79d2-4e10-ba60-c476b4f44bc6=none,none,Switch to activity "Default"
switch-to-activity-c9029e69-ec79-4399-8d82-a2b36f65b1d5=none,none,Switch to activity "Default"
@ -34,7 +35,7 @@ mute=Volume Mute,Volume Mute,Mute
[ksmserver]
Halt Without Confirmation=none,,Shut Down Without Confirmation
Lock Session=Screensaver,Meta+L\tScreensaver,Lock Session
Log Out=Ctrl+Alt+Del,Ctrl+Alt+Del,Show Logout Screen
Log Out=Ctrl+Alt+Del,Ctrl+Alt+Del,Show Logout Prompt
Log Out Without Confirmation=none,,Log Out Without Confirmation
LogOut=none,,Log Out
Reboot=none,,Reboot
@ -298,7 +299,7 @@ PowerOff=Power Off,Power Off,Power Off
Sleep=Sleep,Sleep,Suspend
Toggle Keyboard Backlight=Keyboard Light On/Off,Keyboard Light On/Off,Toggle Keyboard Backlight
Turn Off Screen=none,none,Turn Off Screen
_k_friendly_name=Power Management
_k_friendly_name=KDE Power Management System
powerProfile=Battery\tMeta+B,Battery\tMeta+B,Switch Power Profile
[plasmashell]

View file

@ -16,3 +16,4 @@ Host portainer.admin.euph.site
IdentityFile ~/.ssh/admin-yubikey-primary
IdentityFile ~/.ssh/admin-yubikey-secondary
IdentitiesOnly yes

View file

@ -1,7 +1,7 @@
[user]
name = Snoweuph
email = snow+git@euph.email
signingKey = BEFC41DA223CEC55
signingkey = 99ED4727EFBFF719
[commit]
gpgSign = true

3
.gitignore vendored
View file

@ -22,5 +22,8 @@
# Include ssh Symlink
!.ssh
# Include Gnupg
!.gnupg/
# Include Resource
!Resources/

1
.gnupg/gpg-agent.conf Normal file
View file

@ -0,0 +1 @@
enable-ssh-support

12
.gnupg/sshcontrol Normal file
View file

@ -0,0 +1,12 @@
# 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.
F0DAEE5CEB66D4072981216F672366437DC9D04

7
.zshrc
View file

@ -37,6 +37,13 @@ WORDCHARS="_-" # Define These Characters as Part of "Words"
# Application Envs
#########################################################
# GPG
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
# Git
zinit snippet OMZP::git