DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 6538oTbO991502 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 6538oTbO991502 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=oeI+JEor X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BECBD4BA2E14 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1780476628; bh=+pW46jfgeJ6llPiQYQmhjyVFXY1vglrFjok1FS6YLYE=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=oeI+JEorq+9WxYD12j8yCh2I/VJXgWR3NlBz8Nv3YrxagL3+qP59z4gwmMi7tBqVI B3XVJBEZc4o5oelQxbeThToZymF5Cnl6Lj58wdZWIFX17HMBqiw51ronXUgrYa0uq9 mONG7RQcKi0/8cB7bnwkZ6jtWH/0StmKyL26FzLQ= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EE2EB4BA2E04 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EE2EB4BA2E04 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780476608; cv=none; b=FnP8DpDlB+Qi/4eJ7SHcKx2Qe5Pjl8FapoCh+MUrRhC6mQJBIwHGBCu5KW1bwmwhkoZCE1Y00ginZ8QyTv2LdeTtpCe+Jgg/AmCFTlDH75DgSig6KKlg534kYa/vCyGaq0WzgzY+q0/MxF+YVLmrUd2aSsYH4iqw7Qr2q+e0YyY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780476608; c=relaxed/simple; bh=8nmzDe6VN03JBVCwu9zFgqum/J4ASTYfsVOB988WkQI=; h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version; b=CXR6+TWOCZ1JmR8q9jipsow1W++3AuAUQdu6DtZttCNmFpqB+XTMLrwr29US+dJPF1cyXEsohimY2vOZHHl/Orn+TZbAVx+T2xirWLTGL1s5lEXWj0i9VbRln9XzXDDhiNVMAgykwDH+/mSvySHzl2nq/Z0CdzdjS+k5eTQhhkQ= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=yandex.ru header.i=@yandex.ru header.a=rsa-sha256 header.s=mail header.b=UJUVCJ4k DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EE2EB4BA2E04 X-Yandex-Fwd: 1 Date: Wed, 3 Jun 2026 11:48:03 +0300 X-Mailer: The Bat! (v11.4.3) Home Message-ID: <47576149.20260603114803@yandex.ru> To: General Cygwin discussions and problem reports , cygwin AT cygwin DOT com Subject: Re: Is there a tty-only pinentry variant available for Cygwin? In-Reply-To: References: <50806439 DOT 20260531151218 AT yandex DOT ru> MIME-Version: 1.0 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrey Repin via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Andrey Repin Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 6538oTbO991502 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 AT daemon2:xterm:~ $ set | grep -i DISPLAY [1]anrdaemon AT 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