gnutls-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU gnutls branch, master, updated. gnutls_2_11_4-18-g03512d4


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_2_11_4-18-g03512d4
Date: Thu, 11 Nov 2010 11:51:24 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=03512d4cdfaad9caeadb5d9c34575c5958d2b3bf

The branch, master has been updated
       via  03512d4cdfaad9caeadb5d9c34575c5958d2b3bf (commit)
       via  fdf17456940ffff93a9cd9391f6904171a976e1a (commit)
      from  782adfec341218d70b06f1e9cfc9d9439849fe20 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 03512d4cdfaad9caeadb5d9c34575c5958d2b3bf
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Thu Nov 11 12:51:14 2010 +0100

    Added manpage for p11tool.

commit fdf17456940ffff93a9cd9391f6904171a976e1a
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Thu Nov 11 12:31:19 2010 +0100

    Corrected my name.

-----------------------------------------------------------------------

Summary of changes:
 doc/manpages/Makefile.am   |    2 +-
 doc/manpages/certtool.1    |    2 +-
 doc/manpages/gnutls-cli.1  |    2 +-
 doc/manpages/gnutls-serv.1 |    2 +-
 doc/manpages/p11tool.1     |  100 ++++++++++++++++++++++++++++++++++++++++++++
 doc/manpages/srptool.1     |    2 +-
 6 files changed, 105 insertions(+), 5 deletions(-)
 create mode 100644 doc/manpages/p11tool.1

diff --git a/doc/manpages/Makefile.am b/doc/manpages/Makefile.am
index 0285018..f9c1887 100644
--- a/doc/manpages/Makefile.am
+++ b/doc/manpages/Makefile.am
@@ -21,7 +21,7 @@
 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
 dist_man_MANS = gnutls-cli.1 gnutls-cli-debug.1 gnutls-serv.1  \
-       certtool.1 psktool.1
+       certtool.1 psktool.1 p11tool.1
 
 if ENABLE_SRP
 dist_man_MANS += srptool.1
diff --git a/doc/manpages/certtool.1 b/doc/manpages/certtool.1
index 53df4ba..892ac4b 100644
--- a/doc/manpages/certtool.1
+++ b/doc/manpages/certtool.1
@@ -153,7 +153,7 @@ $ certtool \-\-load\-certificate cert.pem \-\-load\-privkey 
key.pem \\
 
 .SH AUTHOR
 .PP
-Nikos Mavroyanopoulos <address@hidden> and others; see
+Nikos Mavrogiannopoulos <address@hidden> and others; see
 /usr/share/doc/gnutls\-bin/AUTHORS for a complete list.
 .PP
 This manual page was written by Ivo Timmermans <address@hidden>, for
diff --git a/doc/manpages/gnutls-cli.1 b/doc/manpages/gnutls-cli.1
index 3f5dfc8..9b3b408 100644
--- a/doc/manpages/gnutls-cli.1
+++ b/doc/manpages/gnutls-cli.1
@@ -173,7 +173,7 @@ Use Opaque PRF Input DATA.
 .BR gnutls\-serv (1)
 .SH AUTHOR
 .PP
-Nikos Mavroyanopoulos <address@hidden> and others; see
+Nikos Mavrogiannopoulos <address@hidden> and others; see
 /usr/share/doc/gnutls\-bin/AUTHORS for a complete list.
 .PP
 This manual page was written by Ivo Timmermans <address@hidden>, for
diff --git a/doc/manpages/gnutls-serv.1 b/doc/manpages/gnutls-serv.1
index 0edb53e..4f6413c 100644
--- a/doc/manpages/gnutls-serv.1
+++ b/doc/manpages/gnutls-serv.1
@@ -134,7 +134,7 @@ X.509 key file to use.
 .BR gnutls\-cli\-debug (1)
 .SH AUTHOR
 .PP
-Nikos Mavroyanopoulos <address@hidden> and others; see
+Nikos Mavrogiannopoulos <address@hidden> and others; see
 /usr/share/doc/gnutls\-bin/AUTHORS for a complete list.
 .PP
 This manual page was written by Ivo Timmermans <address@hidden>, for
diff --git a/doc/manpages/p11tool.1 b/doc/manpages/p11tool.1
new file mode 100644
index 0000000..e66c1df
--- /dev/null
+++ b/doc/manpages/p11tool.1
@@ -0,0 +1,100 @@
+.TH p11tool 1 "November 11th 2010"
+.SH NAME
+p11tool \- Manipulate PKCS #11 tokens.
+.SH SYNOPSIS
+p11tool [\fIoptions\fR]
+.SH DESCRIPTION
+Export/import data from PKCS #11 tokens. To use PKCS #11 tokens with
+gnutls the configuration file /etc/gnutls/pkcs11.conf has to exist and
+contain a number of lines of the form "load=/usr/lib/opensc-pkcs11.so".
+.SH OPTIONS
+.SS Program control options
+.IP "\-d, \-\-debug LEVEL"
+Specify the debug level. Default is 1.
+.IP "\-h, \-\-help"
+Shows this help text
+
+.SS Generic options
+.IP "\-\-login"
+Force login to the token for the intended operation.
+.IP "\-\-provider MODULE"
+In addition to /etc/gnutls/pkcs11.conf, load the specified module.
+.IP "\-\-outfile FILE"
+Print output to FILE.
+.IP "\-\-inder, \-\-inraw"
+Input is DER formatted.
+
+.SS Getting information on available X.509 certificates
+.IP "\-\-list\-tokens"
+Prints all available tokens.
+.IP "\-\-initialize URL"
+Initializes (formats) the specified by the URL token. Note that
+several tokens do not support this fascility.
+
+.SS Getting information on available X.509 certificates
+.IP "\-\-list\-all\-certs"
+Prints all available certificates.
+.IP "\-\-list\-certs"
+Prints all certificates that have a corresponding private key stored in the 
token.
+.IP "\-\-list\-trusted"
+Prints all certificates that have been marked as trusted.
+
+.SS Getting information on private keys
+.IP "\-\-list\-privkeys"
+Prints all available private keys.
+
+.SS Handling generic objects
+.IP "\-\-export URL"
+Exports the object (e.g. certificate) specified by the URL.
+.IP "\-\-delete URL"
+Deletes the object specified by the URL. Note that several tokens do not
+support deletion.
+.IP "\-\-detailed-url"
+When printing URLs print them in a detailed (to the PKCS #11 module used)
+form.
+.IP "\-\-no\-detailed-url"
+When printing URLs, do not print details on the module used.
+
+.SS Storing objects
+.IP "\-\-write URL"
+Flag to set when writing an object. Requires one of \-\-load\-privkey, 
\-\-load\-pubkey,
+\-\-load\-certificate or \-\-secret\-key options.
+.IP "\-\-load\-privkey"
+Load a private key for the write operations.
+.IP "\-\-load\-pubkey"
+Load an X.509 subjectPublicKey for the write operation.
+.IP "\-\-load\-certificate"
+Load an X.509 certificate for the write operation.
+.IP "\-\-secret\-key"
+Specify a hex encoded secret key for the write operation.
+.IP "\-\-trusted"
+The object stored will be marked as trusted.
+.IP "\-\-label"
+The label of the object stored.
+
+.SS Controlling output
+.IP "\-8, \-\-pkcs8"
+Use PKCS #8 format for private keys.
+
+.SH EXAMPLES
+To store a private key and certificate, run:
+
+.RS
+.nf
+$ p11tool \-\-login \-\-write "pkcs11:XXX"  \-\-load-privkey key.pem --label 
"MyKey"
+$ p11tool \-\-login \-\-write "pkcs11:XXX"  \-\-load-certificate cert.pem 
--label "MyCert"
+.fi
+.RE
+
+To view all objects in a token, use:
+
+.RS
+.nf
+$ p11tool \-\-login \-\-list\-all 
+.fi
+.RE
+
+.SH AUTHOR
+.PP
+Nikos Mavrogiannopoulos <address@hidden> and others; see
+/usr/share/doc/gnutls\-bin/AUTHORS for a complete list.
diff --git a/doc/manpages/srptool.1 b/doc/manpages/srptool.1
index 51c8093..0904b6f 100644
--- a/doc/manpages/srptool.1
+++ b/doc/manpages/srptool.1
@@ -66,7 +66,7 @@ $ srptool \-\-passwd /etc/tpasswd \\
 
 .SH AUTHOR
 .PP
-Nikos Mavroyanopoulos <address@hidden> and others; see
+Nikos Mavrogiannopoulos <address@hidden> and others; see
 /usr/share/doc/gnutls\-bin/AUTHORS for a complete list.
 .PP
 This manual page was written by Ivo Timmermans <address@hidden>, for


hooks/post-receive
-- 
GNU gnutls



reply via email to

[Prev in Thread] Current Thread [Next in Thread]