Merge branch 'fix_social'
[oweals/gnunet.git] / doc / man / gnunet-ecc.1
1 .TH GNUNET\-ECC 1 "Jun 5, 2017" "GNUnet"
2
3 .SH NAME
4 gnunet\-ecc \- manipulate GNUnet ECC key files
5
6 .SH SYNOPSIS
7 .B gnunet\-ecc
8 .RI [ options ] FILENAME
9 .br
10
11 .SH DESCRIPTION
12 \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.
13
14 .SH OPTIONS
15 .B
16 .IP "\-g COUNT, \-\-generate-keys=COUNT"
17 Create COUNT public-private key pairs and write them to FILENAME.  Used for creating a file for testing.
18 .B
19 .IP "\-p, \-\-print-public-key"
20 Print the corresponding public key to stdout.  This is the value used for PKEY records in GNS.
21 .B
22 .IP "\-P, \-\-print-private-key"
23 Print the corresponding private key to stdout.  This is the value used for PKEY records in GNS.
24 .B
25 .IP "\-x, \-\-print-hex"
26 Print the corresponding public key to stdout in HEX format.  Useful for comparing to Ed25519 keys in X.509 tools.
27 .B
28 .IP "\-c FILENAME,  \-\-config=FILENAME"
29 Use the configuration file FILENAME.
30 .B
31 .IP "\-h, \-\-help"
32 Print short help on options.
33 .B
34 .IP "\-L LOGLEVEL, \-\-loglevel=LOGLEVEL"
35 Use LOGLEVEL for logging.  Valid values are DEBUG, INFO, WARNING and ERROR.
36 .B
37 .IP "\-v, \-\-version"
38 Print GNUnet version number.
39
40
41 .SH BUGS
42 Report bugs by using Mantis <https://gnunet.org/bugs/> or by sending electronic mail to <gnunet\-developers@gnu.org>