tsuyoshicho / vim-pass

Vim password-store API
https://tsuyoshicho.github.io/vim-pass/
MIT License
3 stars 0 forks source link

fix: passphrase normal input verify #25

Closed tsuyoshicho closed 5 years ago

tsuyoshicho commented 5 years ago

see sample

$ gpg --no-verbose --quiet --batch --dry-run --pinentry-mode loopback --passphrase "?" --local-user 95E823E6A359A5967AB30E0D55526347D4D76A9F --output - entry.gpg

if fail

gpg: 復号に失敗しました: 秘密鍵がありません exit status 2

exit code non zero check...

tsuyoshicho commented 5 years ago

https://vim-jp.org/vimdoc-ja/eval.html#v:shell_error

check v:shell_error