diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-05-25 23:31:30 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-05-25 23:34:26 +0200 |
commit | e93bf40128090de59917f45b460753c2cbdcd409 (patch) | |
tree | 0ff38db83ab31578ee9c13af635fd4e8d173b546 /doc/cha-programs.texi | |
parent | 6b3e506317a0733d70160777c1bbdbbaa86ed7eb (diff) | |
download | gnutls-e93bf40128090de59917f45b460753c2cbdcd409.tar.gz |
updated documentation on PSK.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'doc/cha-programs.texi')
-rw-r--r-- | doc/cha-programs.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/cha-programs.texi b/doc/cha-programs.texi index 8b9aea55d2..1c5fd4ba69 100644 --- a/doc/cha-programs.texi +++ b/doc/cha-programs.texi @@ -404,7 +404,7 @@ To connect to a server using PSK authentication, you may use something like: @smallexample -$ gnutls-cli -p 5556 test.gnutls.org --pskusername jas --pskkey 9e32cf7786321a828ef7668f09fb35db --priority NORMAL:+PSK:-RSA:-DHE-RSA -d 4711 +$ gnutls-cli -p 5556 test.gnutls.org --pskusername jas --pskkey 9e32cf7786321a828ef7668f09fb35db --priority NORMAL:+DHE-PSK:+PSK:-RSA:-DHE-RSA -d 4711 @end smallexample @menu @@ -422,10 +422,10 @@ should be as simple as connecting to the server: $ ./gnutls-cli -p 5556 localhost Resolving 'localhost'... Connecting to '127.0.0.1:5556'... -- PSK client callback. PSK hint 'psk_identity_hint' +- PSK client callback. Enter PSK identity: psk_identity Enter password: -- PSK authentication. PSK hint 'psk_identity_hint' +- PSK authentication. - Version: TLS1.1 - Key Exchange: PSK - Cipher: AES-128-CBC @@ -446,10 +446,10 @@ password, you can also give the PSK username and key directly on the command line: @smallexample -$ ./gnutls-cli -p 5556 localhost --pskusername psk_identity --pskkey 88f3824b3e5659f52d00e959bacab954b6540344 +$ ./gnutls-cli -p 5556 localhost --pskusername psk_identity --pskkey 88f3824b3e5659f52d00e959bacab954b6540344 --priority NORMAL:+DHE-PSK:+PSK Resolving 'localhost'... Connecting to '127.0.0.1:5556'... -- PSK authentication. PSK hint 'psk_identity_hint' +- PSK authentication. - Version: TLS1.1 - Key Exchange: PSK - Cipher: AES-128-CBC |