summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-17 18:31:56 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-17 18:31:56 +0000
commitb2cc48dd6da7a5faf6bf2f17abd305fe4a4b157a (patch)
tree9cbabfff061608bf9d6d9f8c132ef169a9049bd4 /doc
parente139f199dde40b3d65886e74cb41747f6ba6bc48 (diff)
-ecc man page
Diffstat (limited to 'doc')
-rw-r--r--doc/man/Makefile.am1
-rw-r--r--doc/man/gnunet-ecc.143
2 files changed, 44 insertions, 0 deletions
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
index 34ea50d21..3bcea3213 100644
--- a/doc/man/Makefile.am
+++ b/doc/man/Makefile.am
@@ -6,6 +6,7 @@ man_MANS = \
gnunet-directory.1 \
gnunet-download.1 \
gnunet-download-manager.1 \
+ gnunet-ecc.1 \
gnunet-fs.1 \
gnunet-gns.1 \
gnunet-namestore.1 \
diff --git a/doc/man/gnunet-ecc.1 b/doc/man/gnunet-ecc.1
new file mode 100644
index 000000000..943f85e0d
--- /dev/null
+++ b/doc/man/gnunet-ecc.1
@@ -0,0 +1,43 @@
+.TH GNUNET\-ECC 1 "Mar 15, 2012" "GNUnet"
+
+.SH NAME
+gnunet\-ecc \- manipulate GNUnet ECC key files
+
+.SH SYNOPSIS
+.B gnunet\-ecc
+.RI [ options ] FILENAME
+.br
+
+.SH DESCRIPTION
+\fBgnunet\-ecc\fP can be used to create an ECC private key and to print the corresponding public key. You must specify a filename containing an ECC private key in GNUnet format as an argument. If the file does not exist, gnunet\-ecc will create a key. This may then take a while. If the option \-p is given, the corresponding public key will be printed to the console.
+
+.SH OPTIONS
+.B
+.IP "\-g COUNT, \-\-generate-keys=COUNT"
+Create COUNT public-private key pairs and write them to FILENAME. Used for creating a file for testing.
+.B
+.IP "\-p, \-\-print-public-key"
+Print the corresponding public key to stdout.
+.B
+.IP "\-P, \-\-print-peer-identity"
+Print the corresponding peer identity (hash of the public key) to stdout. This hash is used for the name of peers.
+.B
+.IP "\-s, \-\-print-short-identity"
+Print the corresponding short hash (256-bit hash of the public key) to stdout. This hash is used for names in the zkey zone.
+.B
+.IP "\-c FILENAME, \-\-config=FILENAME"
+Use the configuration file FILENAME.
+.B
+.IP "\-h, \-\-help"
+Print short help on options.
+.B
+.IP "\-L LOGLEVEL, \-\-loglevel=LOGLEVEL"
+Use LOGLEVEL for logging. Valid values are DEBUG, INFO, WARNING and ERROR.
+.B
+.IP "\-v, \-\-version"
+Print GNUnet version number.
+
+
+.SH BUGS
+Report bugs by using Mantis <https://gnunet.org/bugs/> or by sending electronic mail to <gnunet\-developers@gnu.org>
+