Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to use gpg-agent from cygwin, but installing gpg on cygwin doesn't provide it, and google doesn't have much recent information about this. Is it possible to use gpg-agent under cygwin (with something like keychain), or can I use a "native" windows agent with cygwin's gpg?

share|improve this question
up vote 2 down vote accepted

Unfortunately, no (or not yet, as of March 2016). As the following thread from the Cygwin package maintainer for GnuPG suggests, gpg-agent is only available in GnuPG 2 and newer, but Cygwin is packaged with GnuPG 1.4.

On 04/09/2015 12:31, Andrew Schulman wrote:

So, why isn't there a gpg-agent for Cygwin? Any hope of having one some day?

From: Adam Dinwoodie

I suspect simply because nobody has packaged one, and somebody has to do the work to make it available. I doubt anyone would object to you submitting an Intent To Package per https://cygwin.com/setup.html.

On Thu, Sep 03, 2015 at 03:20:45PM -0400, Andrew Schulman wrote:

If that's the only reason, I could certainly look at packaging it. I guess I'd like to hear from Marco first though, the gnupg maintainer, to tell us if there isn't some other reason.

From: Marco Atzeri

for what I know gpg-agent belongs to GnuPG > 2.0 while we have only the classic gnupg-1.4.19

If I remember right GnuPG > 2.0 requires memory protection features that do not exist on cygwin. But I could be wrong.

Regards Marco

share|improve this answer

The best solution would be to switch to MobaXterm !

MobaXterm has a keychain–like utility that saves ssh sessions much like mRemote-ng, but is a native Unix terminal for Windows (like Cygwin).

share|improve this answer
    
Good idea, but I thought MobaXterm's MobAgent feature was intended as an SSH agent for forwarding SSH keys. Can you provide any details about how to set MobaXterm up in a way that it can act as a substitute for GnuPG, or where to find examples or documentation? – Steve HHH Mar 8 at 21:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.