[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnutls] RE: How do I run ex-client-srp ?
From: |
Avasarala Ranjit-A20990 |
Subject: |
[Help-gnutls] RE: How do I run ex-client-srp ? |
Date: |
Thu, 25 Jan 2007 19:16:49 +0800 |
Thanks Simon for the help
Regards
Ranjit
-----Original Message-----
From: Simon Josefsson [mailto:address@hidden
Sent: Thursday, January 25, 2007 3:44 PM
To: Avasarala Ranjit-A20990
Cc: address@hidden
Subject: Re: How do I run ex-client-srp ?
"Avasarala Ranjit-A20990" <address@hidden> writes:
> Hi Simon
>
> How do I run ex-client-srp? I mean what are the arguments I need to
> give? I tried this:
Hi! The tool doesn't take any arguments. Did you read an earlier post
about this:
http://article.gmane.org/gmane.network.gnutls.general/613
> ./ex-serv-srp
> Echo Server ready. Listening to port '5556'.
>
> - connection from 127.0.0.1, port 36417
> *** Handshake has failed (Error in password file.)
>
> *** Handshake failed
> GNUTLS ERROR: A TLS packet with unexpected length was received.
> address@hidden examples]$
Did you create the password file as described in the URL above?
I now verified that the steps I explained earlier works fine with GnuTLS
1.6.1 under Windows XP.
To use the ex-*-srp examples, you'll need to invoke:
C:\> srptool -u user -p tpasswd -c tpasswd.conf Enter password: [Type
'pass'] C:\>
Then invoke './ex-serv-srp' in the same directory as the tpasswd* files
are in, and then invoke ./ex-client-srp'.
Or change the username/password in the source code.
/Simon