feat(git): add GPG signing (#14)

Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/14
This commit is contained in:
Victor Westerlund 2025-03-23 09:15:50 +00:00
parent 2281e92464
commit 9f5565ce1e
2 changed files with 7 additions and 0 deletions

View file

@ -3,6 +3,9 @@ if [ -f ~/.bashrc ]; then
. ~/.bashrc . ~/.bashrc
fi fi
# Export GPG_TTY for signing stuff with gpg
export GPG_TTY=$(tty)
# Create pathref envars to my frameworks # Create pathref envars to my frameworks
export VV="/var/www/fw/vegvisir/" export VV="/var/www/fw/vegvisir/"
export REFL="/var/www/fw/reflect/" export REFL="/var/www/fw/reflect/"

View file

@ -1,6 +1,8 @@
[user] [user]
email = victor@vlw.se email = victor@vlw.se
name = Victor Westerlund name = Victor Westerlund
signingkey = DCE987311CB5D2A252F58951D0AD730E1057DFC6
signkey = 1057DFC6
[core] [core]
fileMode = false fileMode = false
excludesfile = ~/.config/git/.gitignore excludesfile = ~/.config/git/.gitignore
@ -13,3 +15,5 @@
contenttype = 0 contenttype = 0
[help] [help]
autocorrect = prompt autocorrect = prompt
[commit]
gpgsign = true