This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can't sign with gpg2 using pinentry-curses


When I try to sign a file using gpg2 in a mintty or xterm terminal (e.g., 'gpg2 -bs foo'), a dialogue box is drawn in the terminal, but I can't figure out how to enter my passphrase. Anything I type is just echoed at the bottom of the screen, regardless of what I do with the mouse. If I type Ctrl-C, the bash prompt returns but the pinentry-curses process keeps running for a while.

If I install pinentry-gnome3, then 'gpg2 -bs' works fine when run from an xterm window; a dialogue box pops up and I can enter the passphrase.

A second issue, which seems to just be cosmetic, is that I get the following message every time I run gpg2 -bs:

  gpg: selecting openpgp failed: No such device

Googling suggests that this has something to do with OpenPGP smart cards, but I don't have one:

$ gpg2 --card-status
gpg: selecting openpgp failed: No such device
gpg: OpenPGP card not available: No such device

Do I need to put something in ~/.gnupg/gpg.conf to tell gpg2 that I don't have a card?

cygcheck output is attached.

Ken

P.S. An unrelated matter: Shouldn't gnupg2 require pinentry?

Attachment: cygcheck.out
Description: Text document

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]