Page MenuHome GnuPG

curses: Change error reported for terminal issues
AcceptedPublic

Authored by saper on Mar 10 2023, 12:23 PM.

Details

Summary
  • pinentry/pinentry-curses.c (dialog_run): Change error reported

for terminal issues to "Required environment variable not set".

Signed-off-by: Marcin Cieślak <saper@saper.info>

Test Plan
  • Tell gpg-agent to use modified pinentry-curses
  • set TERM=assadsadhsuhqiheieiqw prior to invoking gpg2
  • The error reported should be "Required environment variable not set"

Diff Detail

Repository
rP Pinentry
Branch
curses-init-error
Lint
No Linters Available
Unit
No Unit Test Coverage