On Jul 21, 2009, J. Bakshi wrote:

> Hello,

Hi -

> In my testbed;  the fwknop client can successfully communicate with
> fwknop server with gnupg key-pair.
> I am trying to deliver the gnupg password to my fwknop client; hence I
> am using --get-key option. I have given the key/password combination in
> a file but then fwknop reports as
> 
> `````````````````````````````
>  fwknop expects the following format:
> 192.168.1.3: <KEY/password>
> ````````````````````````````````````````````
> 
> well my fwknop server is running at 192.168.1.3
> So I have modified the file having key  as
> 
> `````````````````````````````````````````````````
> 192.168.1.3:  4D33AC84/12pas
> ```````````````````````````````````````````
> 
> Once again a check to confirm the key exists
> 
> `````````````````````````````````````
> ad...@linux-12ml:~> gpg --list-key 4D33AC84
> pub   1024D/4D33AC84 2009-07-21
> uid                  client key
> sub   2048g/E2491266 2009-07-21
> ``````````````````````````````````````````````
> 
> and now fwknop reports
> 
> ```````````````````````````````````````````
> gpg: no default secret key: Bad passphrase
> gpg: [stdin]: sign+encrypt failed: Bad passphrase
> ``````````````````````````````````````````````
> 
> Though I have no problem  if I use fwknop without --get-key. What might
> be the problem in my password file ?

The output of fwknop is a bit confusing when it says "192.168.1.3:
<KEY/password>".  It is that way because when using Rijndael, the
"password" is really used as the encryption key.  When using GnuPG, the
password is the string that links the public/private key pair together.

So, you should just have:

192.168.1.3:    password

Where "password" is your actual GnuPG password.

--Mike

> Please suggest.
> Thanks
> 
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge  
> This is your chance to win up to $100,000 in prizes! For a limited time, 
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize  
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Fwknop-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fwknop-discuss

------------------------------------------------------------------------------
_______________________________________________
Fwknop-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fwknop-discuss

Reply via email to