diff --git a/.config/fish/config.fish b/.config/fish/config.fish index e794f35..5040317 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,5 +1,7 @@ set fish_greeting +set -x GPG_TTY (tty) + set -x GOPATH $HOME/dev/go set -x PATH $PATH $GOPATH/bin diff --git a/.gnupg/gpg.conf b/.gnupg/gpg.conf new file mode 100644 index 0000000..cb5327c --- /dev/null +++ b/.gnupg/gpg.conf @@ -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 diff --git a/README.md b/README.md index a0d32a7..1319f4b 100644 --- a/README.md +++ b/README.md @@ -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 ``` git config --global user.name git config --global user.email +git config --global gpg.program gpg +git config --global user.signingkey 0x... (signing subkey ID) +git config --global commit.gpgsign true ``` ### Configure vim