Add GPG related configurations

This commit is contained in:
adrien 2021-05-06 21:06:36 +02:00
parent a386af77cd
commit a9034ac6fb
Signed by: adrien
GPG Key ID: 4F17BEA67707AC21
3 changed files with 25 additions and 0 deletions

View File

@ -1,5 +1,7 @@
set fish_greeting
set -x GPG_TTY (tty)
set -x GOPATH $HOME/dev/go
set -x PATH $PATH $GOPATH/bin

19
.gnupg/gpg.conf Normal file
View File

@ -0,0 +1,19 @@
personal-cipher-preferences AES256 AES192 AES
personal-digest-preferences SHA512 SHA384 SHA256
personal-compress-preferences ZLIB BZIP2 ZIP Uncompressed
default-preference-list SHA512 SHA384 SHA256 AES256 AES192 AES ZLIB BZIP2 ZIP Uncompressed
cert-digest-algo SHA512
s2k-digest-algo SHA512
s2k-cipher-algo AES256
charset utf-8
fixed-list-mode
no-comments
no-emit-version
no-greeting
keyid-format 0xlong
list-options show-uid-validity
verify-options show-uid-validity
with-fingerprint
require-cross-certification
no-symkey-cache
throw-keyids

View File

@ -8,6 +8,7 @@ cp dotfiles/.fehbg ~/
cp dotfiles/.bash_profile ~/
cp dotfiles/.tmux.conf ~/
cp dotfiles/.gemrc ~/
mkdir -p ~/.gnupg && cp dotfiles/.gnupg/.gpg.conf ~/.gnupg/
chmod +x ~/.fehbg
mkdir -p ~/.config/{spectrwm,alacritty,rofi,fish/functions}
cp dotfiles/.config/spectrwm/spectrwm.conf ~/.config/
@ -118,6 +119,9 @@ wpa_passphrase <ssid>
```
git config --global user.name <username>
git config --global user.email <e-mail>
git config --global gpg.program gpg
git config --global user.signingkey 0x... (signing subkey ID)
git config --global commit.gpgsign true
```
### Configure vim