pass edit leaking secrets

Amir Yalon quoiceehoh-20180826 at yxejamir.net
Mon Nov 15 08:26:55 UTC 2021


FWIW, my setup includes:

export EDITOR=~/bin/custom-editor

Where ~/bin/custom-editor contains:

#!/bin/sh
if [ $# = 1 ] && [ -z "${1##*/pass.*/*.txt}" ]; then
    exec vim --cmd 'source /usr/share/doc/pass/examples/vim/redact_pass.vim' "$1"
fi
exec /usr/bin/editor

(Change /usr/bin/editor to your preferred editor.)


More information about the Password-Store mailing list