Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: devel

gpg-agent in windows

 

 

GnuPG devel RSS feed   Index | Next | Previous | View Threaded


nelg at linuxsolutions

Jan 16, 2006, 5:48 PM

Post #1 of 7 (1374 views)
Permalink
gpg-agent in windows

Hi,

Does anyone have a compiled binary of gpg and gpg-agent that works on
MS windows?

I've written an application in perl, which uses GPG to decrypt various
config files. In linux, this works well, as it can use gpg-agent so
the user is not prompted all the time for their passphrase.

However, under windows, when I try gpg --use-agent, in gpg 1.4.2, it tells
me it's unsupported, and I don't have a gpg-agent.exe binary. Does the
development version, 1.9.20 have gpg-agent and gpg that will compile on
windows.

Thanks
Glen Ogilvie

_______________________________________________
Gnupg-devel mailing list
Gnupg-devel[at]gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


JPClizbe at comcast

Jan 16, 2006, 9:56 PM

Post #2 of 7 (1342 views)
Permalink
Re: gpg-agent in windows [In reply to]

Glen Ogilvie wrote:
> Hi,
>
> Does anyone have a compiled binary of gpg and gpg-agent that works on
> MS windows?
>
> I've written an application in perl, which uses GPG to decrypt various
> config files. In linux, this works well, as it can use gpg-agent so
> the user is not prompted all the time for their passphrase.
>
> However, under windows, when I try gpg --use-agent, in gpg 1.4.2, it tells
> me it's unsupported, and I don't have a gpg-agent.exe binary. Does the
> development version, 1.9.20 have gpg-agent and gpg that will compile on
> windows.

I'm in the process of building the dependency libraries for GnuPG 1.9 at the
moment (which includes gpg-agent) on Windows. So far, it's not too promising.
I may punt and try a Cygwin build first.

There's a windows binary in
ftp://ftp.gnupg.org/gcrypt/alpha/binary/gnupg-w32cli-1.9.14.zip

You may wish to try a mirror. I haven't been able to access the server via FTP.
http://ftp.gnupg.org/gcrypt/alpha/binary/gnupg-w32cli-1.9.14.zip seems to work.

--
John P. Clizbe Inet: JPClizbe(a)comcast DOT nyet
"Be who you are and say what you feel because those who mind don't matter
and those who matter don't mind." - Dr Seuss, "Oh the Places You'll Go"
Attachments: signature.asc (0.65 KB)


wk at gnupg

Jan 16, 2006, 11:34 PM

Post #3 of 7 (1343 views)
Permalink
Re: gpg-agent in windows [In reply to]

On Tue, 17 Jan 2006 14:48:23 +1300 (NZDT), Glen Ogilvie said:

> However, under windows, when I try gpg --use-agent, in gpg 1.4.2, it tells
> me it's unsupported, and I don't have a gpg-agent.exe binary. Does the
> development version, 1.9.20 have gpg-agent and gpg that will compile on

In theory that will work, there is even a very experimental pinentry
for W32 in the pinentry SVN. Whether 1.9.20 can be build for W32 is
not clear; I have not done such a build for more than a year and the
version then was only useful for server applications.


Shalom-Salam,

Werner


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel[at]gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


anthony.metcalf at anferny

Jan 17, 2006, 1:00 AM

Post #4 of 7 (1350 views)
Permalink
Re: gpg-agent in windows [In reply to]

On Tue, 17 Jan 2006 14:48:23 +1300 (NZDT)
Glen Ogilvie <nelg[at]linuxsolutions.co.nz> wrote:

> I've written an application in perl, which uses GPG to decrypt
> various config files. In linux, this works well, as it can use
> gpg-agent so the user is not prompted all the time for their
> passphrase.

Would it not be possible to have the script use pagent, the agent from
putty, when in windows?

Possibly by renaming the pagent binary in windows?

I use svn in windows and have it working using pagent so I don't have
to re-key my pass phrase.

Kind Regards

Anthony
Attachments: signature.asc (0.18 KB)


wk at gnupg

Jan 17, 2006, 9:21 AM

Post #5 of 7 (1344 views)
Permalink
Re: gpg-agent in windows [In reply to]

On Tue, 17 Jan 2006 09:00:11 +0000, Anthony Metcalf said:

> Would it not be possible to have the script use pagent, the agent from
> putty, when in windows?

Unlikely, I doubt that this tool speaks the same protocol. To the
contrary, gpg-agent speaks ssh's protocol in addition to its native
protocol.


Salam-Shalom,

Werner



_______________________________________________
Gnupg-devel mailing list
Gnupg-devel[at]gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


nelg at linuxsolutions

Jan 17, 2006, 11:51 AM

Post #6 of 7 (1339 views)
Permalink
Re: gpg-agent in windows [In reply to]

On Tuesday 17 January 2006 18:56, John Clizbe wrote:
>
> I'm in the process of building the dependency libraries for GnuPG 1.9 at
> the moment (which includes gpg-agent) on Windows. So far, it's not too
> promising. I may punt and try a Cygwin build first.
>

Sounds good. Do you have an estimate of when you expect to have a build
complete?

> There's a windows binary in
> ftp://ftp.gnupg.org/gcrypt/alpha/binary/gnupg-w32cli-1.9.14.zip
Yes, I've had a look at that. It has a gpg-agent.exe, but does not have a
gpg.exe, so I am unsure as to how I should use it.

If I run the gpg-agent, it gives me a GPG_AGENT_INFO variable, but the
packages does not seem to have any client that can use this, except for maybe
gpgsm, which does not seem to be able to do much, I think, because 1.9.14 is
still very much alpha and quite old.

Regards
Glen Ogilvie
New Zealand


wk at gnupg

Jan 18, 2006, 2:06 AM

Post #7 of 7 (1330 views)
Permalink
Re: gpg-agent in windows [In reply to]

On Wed, 18 Jan 2006 08:51:02 +1300, Glen Ogilvie said:

> packages does not seem to have any client that can use this, except for maybe
> gpgsm, which does not seem to be able to do much, I think, because 1.9.14 is

Yes, gpgsm is the reasons why I did the port at all. The stuff is
currently used in a server environment to encrypt/decrypt large S/MIME
messages. It works, but it is hard to setup.

Quite possible that gpg has not been converted. You may take the
gpg-agent from that package and modify a gpg 1.4 for Windows. The
main thing to do is to add the socket emulation
(gnupg-1.9/util/w32_afunix.[ch]). Of course it would be better to
trun the gpg-agent into a system service.


Salam-Shalom,

Werner


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel[at]gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel

GnuPG devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.