Greetings, General Cygwin discussions and problem reports!
As promised, reporting back.
> On 2026-05-31 06:12, Andrey Repin via Cygwin wrote:
>> Greetings, All!
>> > I've started to work from home, and connecting to my work laptop via SSH
>> > and
>> Deskflow (Synergy).
>> It works fine except two things. One if that docker desktop is unable to pull
>> layers when inside the ssh session, and another one is that when I pull from
>> remote GIT repo, git calls to pass to retrieve stored passwords.Which in turn
>> calls to pinentry through gpg. Which is trying to display the GUI dialog in a
>> headless session.
>> Is there a ncurses or tty pinentry variant available for Cygwin?
> pinentry-w32 (obsolete) -> pinentry GnuPG password dialog (terminal)
> pinentry-emacs GnuPG password dialog (emacs)
> pinentry-gnome3 GnuPG password dialog (GNOME,MATE)
> pinentry-gtk2 GnuPG password dialog (GTK 2)
> pinentry-qt3 (obsolete) -> pinentry-qt GnuPG password dialog (Qt)
> pinentry-qt4 (obsolete) -> pinentry-qt GnuPG password dialog (Qt)
> Make sure DISPLAY is unset or no binaries other than pinentry{,-w32} exist;
> curses is the fallback for the GUI binaries.
anrdaemon@daemon2:xterm:~
$ set | grep -i DISPLAY
[1]anrdaemon@daemon2:xterm:~
$ printf "SETTITLE Script Authenticator\nSETDESC Accessing secure
resource\nSETPROMPT Enter Secret Key:\nGETPIN\nBYE\n" | pinentry -T "$(tty)" |
sed -Ee '/^D/s/^D //; t; d;'
1
It pops GUI dialog, unfortunately.
In SSH session, the invocation results in a warning printed to console:
# printf "SETTITLE Script Authenticator\nSETDESC Accessing secure
resource\nSETPROMPT Enter Secret Key:\nGETPIN\nBYE\n" | pinentry -T "$(tty)" |&
iconv -f CP1251
OK Pleased to meet you
OK
OK
OK
SendInput failed: Отказано в доступе. (Access denied)
but the application still starts.
--
With best regards,
Andrey Repin
Wednesday, June 3, 2026 11:24:14
Sorry for my terrible english...
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple