Merge pull request #386 from aaronjanse/security-pinentry-curses

Use _verbose for pinentry-curses in ask_password
This commit is contained in:
Denis Roio 2020-11-11 14:41:09 +01:00 committed by GitHub
commit 9ddfdc426f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
tomb
View File

@ -480,7 +480,7 @@ ask_password() {
if _is_found "pinentry-curses"; then if _is_found "pinentry-curses"; then
_verbose "using pinentry-curses" _verbose "using pinentry-curses"
_warning "Detected DISPLAY, but only pinentry-curses is found." _verbose "Detected DISPLAY, but only pinentry-curses is found."
output=$(pinentry_assuan_getpass | pinentry-curses) output=$(pinentry_assuan_getpass | pinentry-curses)
else else
_failure "Cannot find any pinentry: impossible to ask for password." _failure "Cannot find any pinentry: impossible to ask for password."