Ok, understood now.
Thak you for your feedback Damien.

2012/8/23 Damien Stuart <dstuart@dstuart.org>
Hello Bruno,

Unfortunately, the fwknop-static.exe (a fairly old version by the way) was statically compiled with a libfko that does not support the gpgme functions.   I had made a couple of attempts to see if I could get gpgme working under windows but had limited time to devote to it (and obviously - limited success).

Even if you get gpgme installed under cygwin (or even natively under windows),  that statically compiled version would work with them.  The GPG support has to be compiled into libfko itself in order for GPG encryption to work.

Though I haven't delved deeply into it, it may be less effort to build libfko and the fwknop client under Cygwin for a windows exe that would support GPG functions.

I'm sorry I don't have a better answer for you at this time.  Hopefully, in time, someone will work out a solution to this…

Regards, 

-Damien Stuart




On Aug 21, 2012, at 2:03 PM, Bruno Galindro da Costa <bruno.galindro@gmail.com> wrote:

Hi Michael

   I've executed fwknop-static.exe under cygwin version 1.7.16 with gpg package installed:

$ uname -a
CYGWIN_NT-5.1 inf-ws-0750-vm1 1.7.16(0.262/5/3) 2012-07-20 22:55 i686 Cygwin

Administrador@inf-ws-0750-vm1 ~
$ gpg --help
gpg (GnuPG) 1.4.12

   I don't know if I have libgpgme installed under Cygwin. 

   Is it a dependency of gpg package? 
   How can I check if it is installed? 
   How can I run fwknop with libgpgme under Cygwin? Is there any how-to explaining that?

   I've tried to install it via setup.exe putting the name libgpgme on the search field, but no package was listed...


2012/8/21 Michael Rash <mbr@cipherdyne.org>
On Aug 20, 2012, Bruno Galindro da Costa wrote:

> Hi!
>
>     I'm trying to use gpg auth between a Windows XP SP3 32bits client and
> an Ubuntu 10.04.4 64bits (fwknop server), but the following message is
> displayed when I execute the fwknop-static client downloaded from
> http://www.cipherdyne.org/fwknop/download/fwknop-static.exe :
>
> $ ./fwknop-static.exe -A tcp/22 --gpg-recipient-key 55AC3012 -a
> 10.50.30.120 -D 10.50.150.195
> *fwknop: fko_set_gpg_recipient: Error 19 - Unsupported or unimplemented
> feature or function*

I believe that gpg support from the native Windows binary has been
problematic.  Do you have Cywgin installed?  It might be worth seeing if
gpg support works from Cygwin with libgpgme.  I'll give this a try as
well.

--Mike


> $ ./fwknop-static.exe --help
>
> fwknop client version *2.0.0rc1*
> Single Packet Authorization client
>
> Usage: fwknop -A <port list> [-s|-R|-a] -D <spa_server> [options]
>
>
>
> --
> Att.
> Bruno Galindro da Costa

> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

> _______________________________________________
> Fwknop-discuss mailing list
> Fwknop-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fwknop-discuss


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fwknop-discuss mailing list
Fwknop-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fwknop-discuss



--
Att.
Bruno Galindro da Costa

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Fwknop-discuss mailing list
Fwknop-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fwknop-discuss




--
Att.
Bruno Galindro da Costa