1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

shell: disable throw-keyids in pass

This commit is contained in:
Ryan Kes 2022-06-11 15:16:45 +02:00
parent 344c010895
commit 6fe6334522
2 changed files with 8 additions and 2 deletions

View File

@ -56,6 +56,9 @@ set -g PASSWORD_STORE_ENABLE_EXTENSIONS "true"
# Make sure pass uses the proper directory
set -g PASSWORD_STORE_DIR ~/.local/share/pass
# Make sure pass ignores throw-keyids config
set -g PASSWORD_STORE_GPG_OPTS "--no-throw-keyids"
# Use alternative muhome
set -xg MU_HOME ~/.cache/mu
@ -114,7 +117,7 @@ abbr --add weechat "weechat -d ~/.config/weechat"
abbr --add tmux "tmux -f ~/.config/tmux/tmux.conf"
# pass
abbr --add pass "PASSWORD_STORE_DIR=$PASSWORD_STORE_DIR /usr/bin/pass"
abbr --add pass "PASSWORD_STORE_DIR=$PASSWORD_STORE_DIR PASSWORD_STORE_GPG_OPTS=$PASSWORD_STORE_GPG_OPTS /usr/bin/pass"
# pacman aliases
abbr --add pacrmorphans "sudo pacman -Rs (pacman -Qtdq)"

View File

@ -42,6 +42,9 @@ export PASSWORD_STORE_ENABLE_EXTENSIONS="true"
# Make sure pass uses the proper directory
export PASSWORD_STORE_DIR=~/.local/share/pass
# Make sure pass ignores throw-keyids config
export PASSWORD_STORE_GPG_OPTS="--no-throw-keyids"
# Use alternative muhome
export MU_HOME=~/.cache/mu