public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Pinentry-curses on cygwin environment
@ 2019-04-27 21:26 pigreco erre
  2019-04-28  3:56 ` Thomas Wolff
  0 siblings, 1 reply; 3+ messages in thread
From: pigreco erre @ 2019-04-27 21:26 UTC (permalink / raw)
  To: cygwin

Dear all,
sorry if I put the message in wrong chan,
I try to compile the pinentry-curses package into Cyg environment (pinentry version 1.1.0)
I obtain the executable file and I use it into the mintty/bash.
I obtain a strange behaviour when I  decrypt a gpg file using curses version and I try to insert the passphrase.
A dialogue box is drawn on the terminal with all keys information correctly.
When I enter my passphrase anything I type on the terminal window is just echoed at the bottom of the screen,
I can't exit normally (i.e by pressing enter or escape).
The only way is by typing Ctrl-C.
The mintty-bash prompt, returns but the pinentry-curses process remain running for additional time.
What do you think about this problem?
I thank you in advance for your precious assistance and the oppotunity to write this email.
With my best regards
A.




--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Pinentry-curses on cygwin environment
  2019-04-27 21:26 Pinentry-curses on cygwin environment pigreco erre
@ 2019-04-28  3:56 ` Thomas Wolff
  2019-05-13 20:33   ` pigreco erre
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Wolff @ 2019-04-28  3:56 UTC (permalink / raw)
  To: cygwin

Am 27.04.2019 um 23:26 schrieb pigreco erre:
> Dear all,
> sorry if I put the message in wrong chan,
No, but reproducible description of what you did would be a good 
prerequisite to expect a reasonable response.
> I try to compile the pinentry-curses package into Cyg environment (pinentry version 1.1.0)
What package? Reference, download link? How did you compile?
> I obtain the executable file and I use it into the mintty/bash.
The one you compiled or a downloaded Windows binary? The symptoms sound 
more like the latter.
> I obtain a strange behaviour when I decrypt a gpg file using curses version and I try to insert the passphrase.
What's the command you run?
> A dialogue box is drawn on the terminal with all keys information correctly.
> When I enter my passphrase anything I type on the terminal window is just echoed at the bottom of the screen,
> I can't exit normally (i.e by pressing enter or escape).
> The only way is by typing Ctrl-C.
> The mintty-bash prompt, returns but the pinentry-curses process remain running for additional time.
> What do you think about this problem?
I think you likely run a Windows binary that is not compatible with the 
terminal pty interface. But I cannot be sure without the requested 
information.
> I thank you in advance for your precious assistance and the oppotunity to write this email.
> With my best regards
> A.

--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Pinentry-curses on cygwin environment
  2019-04-28  3:56 ` Thomas Wolff
@ 2019-05-13 20:33   ` pigreco erre
  0 siblings, 0 replies; 3+ messages in thread
From: pigreco erre @ 2019-05-13 20:33 UTC (permalink / raw)
  To: cygwin

Hi Thomas,
below my detailed items:

What package? Reference, download link? How did you compile?

    I downloaded the package directly from gpg site into download page version.
    The version of pinentry package 1.1.0 (2017-12-03).
    I compile with read me process indicated which is included into the package.
    I run ~/.configure and after ./make.
    I obtained pinentry-courses.exe

What's the command you run?

    I execute this command on mintty-bash prompt:
    $ gpg-agent --daemon --disable-scdaemon --no-detach --ttyname /dev/pty0 --ttytype xterm --pinentry-program /bin/pinentry-curses.exe
    $ gpg --decrypt myencryptedfilename.gpg.
    From this moment the behaviour is :
     A dialogue box is drawn on the terminal with all keys information correctly.
     When I enter my passphrase anything I type on the terminal window is just echoed at the bottom of the
     I must type CTRL-C to return on shell and the

    I can noted also that this test is OK:
    $ echo -e "OPTION ttyname=/dev/pty0 \nSETDESC MESSAGE TO PRINT IN CURSES WINDOW\nGETPIN" | pinentry-curses
    The output is correct so I obtained on prompt :
    OK Pleased to meet you
    OK
    OK
    D characters interted into right window curses space
    OK
Is the pinentry-curses and pinentry-tty not compatible with cygwin-mintty-bash environment?
Thanks for your precious support
Alessandro

--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-13 20:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-27 21:26 Pinentry-curses on cygwin environment pigreco erre
2019-04-28  3:56 ` Thomas Wolff
2019-05-13 20:33   ` pigreco erre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).