pinentry-curses should ring the terminal bell
Open, NormalPublic

Description

when pinentry-curses connects to a terminal during a getpin command, it should ring the bell in the terminal.

this would help when running under screen in a dedicated window, to give the user an indication that activity is requested in that window.

dkg created this task.Nov 27 2018, 3:51 PM
werner triaged this task as Normal priority.Nov 27 2018, 5:20 PM

Pinentry already has a ttyalert option which may be set to beep or flash to ring the bell or flash the terminal, respectively (see commit 1dba96fafa123f3631c0a50bb01835306c23b903).

AFAIK this option is currently not used (it is disabled by default and is not explicitly set by gpg-agent when calling pinentry). Should we set it to beep by default?