From f6f0c8cfcbf1011dd65072741b9a55e3ec09114f Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Thu, 26 Dec 2024 19:29:24 +0100 Subject: [PATCH] Update keys and it's configs --- git/.gitconfig | 10 +++++----- ssh/.ssh/config | 5 ++--- zsh/.zshrc | 4 +++- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/git/.gitconfig b/git/.gitconfig index 3c88aa5..a0a123f 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -1,9 +1,7 @@ [user] - name = wzykubek - email = wz-git@mailbox.org - signingkey = ~/.ssh/id_ed25519_sk_rk -[gpg] - format = ssh + name = Wiktor Zykubek + email = dev@wzykubek.xyz + signingkey = 0xE2F941AEA250AFFC [format] pretty = oneline [log] @@ -18,3 +16,5 @@ cmd = kitten diff $LOCAL $REMOTE [difftool "kitty.gui"] cmd = kitten diff $LOCAL $REMOTE +[commit] + gpgsign = true diff --git a/ssh/.ssh/config b/ssh/.ssh/config index f78ec7f..e074155 100644 --- a/ssh/.ssh/config +++ b/ssh/.ssh/config @@ -11,6 +11,5 @@ Host alma User cloud Port 2222 -Host * - IdentityFile ~/.ssh/id_ed25519_sk_rk - IdentitiesOnly yes + Host * + IdentityFile ~/.ssh/id_rsa.pub diff --git a/zsh/.zshrc b/zsh/.zshrc index ec31a08..19add2e 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -46,7 +46,9 @@ alias dotfiles='nvim +"cd $HOME/.dotfiles" +"NvimTreeFocus"' export PATH="$PATH:.:$HOME/.local/bin/scripts/:$HOME/.local/bin/" export EDITOR='nvim' -export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" +export GPG_TTY="$(tty)" +export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) +gpgconf --launch gpg-agent # I need to find better place for this line #: }}}