X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:references:in-reply-to:reply-to
	:from:date:message-id:subject:to:content-type; q=dns; s=default; b=
	WlEVwBiJqnxQSNJRQ0miDtM0tLjyOAIDF5a/n8TBm0Cs1fS/HGZCsCC90Y0+l3lR
	OtleMm69dhFxefWHUbVkv3ycBWkKqSPU7oF8XH1Eqp7orl/x8DTOAdSns3rYJQKf
	UUy9bIiVfUov9dQVD8EbvoEXSj6ZEyHYBIDGYXi9BDc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:references:in-reply-to:reply-to
	:from:date:message-id:subject:to:content-type; s=default; bh=s5i
	Ni7GqFiLIj68q+8XP1lRnI54=; b=R1sx75EdE4uJYKUixJ1NvkRWgdBT4tevacY
	5r/wRvo8sa8fRTuQg83Hiw40gvtiKpNH7oBiHGLwTxSTuZNaM6r+eDLL78pMdzQt
	ApF8cGqFQpg3TbssDDoMjEDu86oJ1Q07K4T+0/7IDZ++FNh8TAXELcxt7MLvQIRr
	5ZaufSGw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=stock, Hx-languages-length:1288, senior, Senior
X-HELO: mail-oi1-f181.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=20161025;        h=mime-version:references:in-reply-to:reply-to:from:date:message-id         :subject:to;        bh=f8nk4GItN+iC6eUmkQ9YpnXZnTh9REukb70D9z0u5TM=;        b=ZVBJGKSEYVvzs4pGMBNvm2PdZWwFtMx/yv1G/xPCjRnMTCzYhcgtAZatU45JRKfFav         MyiG8UhoEm2t0WyV1c4NGfM6iYCX/hJHLSaN5zsOh2Asr9CLaSoF+5NLoRJV6Y1ucxCo         tFxrCQcJNRRHF/CUKGyBYtFGOnaLl+3mhMd8lKCMbI1B+v6suS/2YaRHsnxPDCeCi7S0         BN2f2F6pCinvw+kyu4juj++1u4A1VX957JHNAW6THb/UqN0+8VUdO2idl+0Drcr6zcMv         sYnsTo8fMgG/aIDEe00egcX2ivwnlMELkf4rh81D3UOAGCjJzVFEvrZJ9k7oWf5BIVcf         rp3Q==
MIME-Version: 1.0
References: <CAHdnY6Pk62_ciujMvz319pUd6=Y7mQBj0POwnYgYh_sm1Lccwg@mail.gmail.com> <68db5725-5c97-4f30-1d63-4284a59fea0e@gmail.com>
In-Reply-To: <68db5725-5c97-4f30-1d63-4284a59fea0e@gmail.com>
Reply-To: davek@6thstreetradio.org
From: David Dombrowsky <6thstreetradio@gmail.com>
Date: Mon, 5 Nov 2018 11:06:19 -0500
Message-ID: <CAHdnY6O0_XTFYnwhQ-Eg5AVAhhTB5yuocGERBV_4TWPkdV+AoA@mail.gmail.com>
Subject: Re: pinentry-curses not available?
To: cygwin@cygwin.com
Content-Type: text/plain; charset="UTF-8"
X-IsSubscribed: yes

On Sat, Nov 3, 2018 at 2:23 PM Marco Atzeri <marco.atzeri@gmail.com> wrote:
> > In any case, I got pinentry-1.1.0 to compile against a cygwin-supplied
> > version of ncurses, and it mostly works (you still need to tell it to
> > not detach from the tty, not sure what's up with that).
>
> can you clarify ?
> May be it was the reason why I and Yaakov found it not functional

That's very possible.

I downloaded the stock source for pinentry 1.1.0 from gnupg.org and
tried to build it.  After "fixing" one of the build errors (ttytype is
a macro and needs to be renamed in the pinentry source, at least on my
cygwin install), I got it to build and install.  But it won't run
unless you pass `--keep-tty` to `gpg-agent`, and even then it's a
little picky and the agent needs to be killed and restarted
frequently.

I was just wondering if anyone had done anything beyond the 20 minutes
of work I put into it.  If not, then my somewhat hack-ish solution is
a sufficient workaround.

This is with cygwin 64-bit, setup 2.893
CYGWIN_NT-6.1 BL-ENG-P01 2.11.1(0.329/5/3) 2018-09-05 10:24 x86_64 Cygwin

-- 
David Dombrowsky, Senior Software Engineer
email: davek@6thstreetradio.org
https://www.linkedin.com/in/david-dombrowsky-94334415
http://6thstreetradio.org/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

