summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-05-15 14:03:55 +0200
committerSimon Josefsson <simon@josefsson.org>2008-05-15 14:03:55 +0200
commit7a9fc785ad6d6a477bc35d6fe0f0d4838a38b3b5 (patch)
tree5c7eb6e94b3fdef1dbf4190b21ba799e950868ee
parentd7b633d417e864487956eaf18d8e14c7914758fa (diff)
downloadgnutls-7a9fc785ad6d6a477bc35d6fe0f0d4838a38b3b5.tar.gz
Document gnutls-cli PSK fix.
-rw-r--r--NEWS3
-rw-r--r--doc/gnutls.texi7
2 files changed, 10 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 24e07cfe05..94a409108f 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,9 @@ Based on report and tiny patches from
** libgnutls: Translation fixes.
+** gnutls-cli: Fix so that PSK authentication works.
+Also improve manual to give example for gnutls-cli PSK authentication.
+
** guile: Fix -fgnu89-inline test.
** Update of gnulib files.
diff --git a/doc/gnutls.texi b/doc/gnutls.texi
index e55e86ec2f..b14ab2cd27 100644
--- a/doc/gnutls.texi
+++ b/doc/gnutls.texi
@@ -2612,6 +2612,13 @@ Usage: gnutls-cli [options] hostname
--copyright prints the program's license
@end verbatim
+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
+@end smallexample
+
@node Invoking gnutls-cli-debug
@section Invoking gnutls-cli-debug
@cindex gnutls-cli-debug