diff options
author | ng0 <ng0@n0.is> | 2019-04-20 12:36:20 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-04-20 12:36:20 +0000 |
commit | 411226726e65c55706dd33571a450638e3442858 (patch) | |
tree | 23d1842249ffff09965457f2085b615c0b2d6fa0 /doc | |
parent | 3eb7c485eb4552c85601cd227f4e4b4fd94428bc (diff) | |
download | gnunet-411226726e65c55706dd33571a450638e3442858.tar.gz gnunet-411226726e65c55706dd33571a450638e3442858.zip |
gnunet-ecc.1
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/gnunet-ecc.1 | 126 |
1 files changed, 68 insertions, 58 deletions
diff --git a/doc/man/gnunet-ecc.1 b/doc/man/gnunet-ecc.1 index 2aa7743b2..d31b87e26 100644 --- a/doc/man/gnunet-ecc.1 +++ b/doc/man/gnunet-ecc.1 | |||
@@ -1,65 +1,75 @@ | |||
1 | .TH GNUNET\-ECC 1 "June 5, 2017" "GNUnet" | 1 | .Dd June 5, 2017 |
2 | 2 | .Dt GNUNET-ECC 1 | |
3 | .SH NAME | 3 | .Os |
4 | gnunet\-ecc \- manipulate GNUnet ECC key files | 4 | .Sh NAME |
5 | 5 | .Nm gnunet-ecc | |
6 | .SH SYNOPSIS | 6 | .Nd |
7 | .B gnunet\-ecc | 7 | manipulate GNUnet ECC key files |
8 | .RI [ options ] FILENAME | 8 | .Sh SYNOPSIS |
9 | .br | 9 | .Nm |
10 | 10 | .Op Fl g Ar COUNT | Fl \-generate-keys= Ns Ar COUNT | |
11 | .SH DESCRIPTION | 11 | .Op Fl p | \-print-public-key |
12 | \fBgnunet\-ecc\fP can be used to create an ECC private key and to | 12 | .Op Fl P | \-print-private-key |
13 | print the corresponding public key. You must specify a filename | 13 | .Op Fl x | \-print-hex |
14 | containing an ECC private key in GNUnet format as an argument. If the | 14 | .Op Fl c Ar FILENAME | Fl \-config= Ns Ar FILENAME |
15 | file does not exist, gnunet\-ecc will create a key. This may then | 15 | .Op Fl h | \-help |
16 | take a while. If the option \-p is given, the corresponding public | 16 | .Op Fl L Ar LOGLEVEL | Fl \-loglevel= Ns Ar LOGLEVEL |
17 | key will be printed to the console. | 17 | .Op Fl v | \-version |
18 | 18 | .Ao Ar FILENAME Ac | |
19 | .SH OPTIONS | 19 | .sp |
20 | .IP "\-g COUNT, \-\-generate-keys=COUNT" | 20 | .Sh DESCRIPTION |
21 | .Nm | ||
22 | can be used to create an ECC private key and to print the corresponding public key. | ||
23 | You must specify a filename containing an ECC private key in GNUnet format as an argument. | ||
24 | If the file does not exist, gnunet-ecc will create a key. | ||
25 | This may then take a while. | ||
26 | If the option | ||
27 | .Fl p | ||
28 | is given, the corresponding public key will be printed to the console. | ||
29 | .Bl -tag -width Ds | ||
30 | .It Fl g Ar COUNT | Fl \-generate-keys= Ns Ar COUNT | ||
21 | Create COUNT public-private key pairs and write them to FILENAME. | 31 | Create COUNT public-private key pairs and write them to FILENAME. |
22 | Used for creating a file for testing. | 32 | Used for creating a file for testing. |
23 | .IP "\-p, \-\-print-public-key" | 33 | .It Fl p | \-print-public-key |
24 | Print the corresponding public key to stdout. This is the value used | 34 | Print the corresponding public key to stdout. |
25 | for PKEY records in GNS. | 35 | This is the value used for PKEY records in GNS. |
26 | .IP "\-P, \-\-print-private-key" | 36 | .It Fl P | \-print-private-key |
27 | Print the corresponding private key to stdout. This is the value used | 37 | Print the corresponding private key to stdout. |
28 | for PKEY records in GNS. | 38 | This is the value used for PKEY records in GNS. |
29 | .IP "\-x, \-\-print-hex" | 39 | .It Fl x | \-print-hex |
30 | Print the corresponding public key to stdout in HEX format. Useful | 40 | Print the corresponding public key to stdout in HEX format. |
31 | for comparing to Ed25519 keys in X.509 tools. | 41 | Useful for comparing to Ed25519 keys in X.509 tools. |
32 | .IP "\-c FILENAME, \-\-config=FILENAME" | 42 | .It Fl c Ar FILENAME | Fl \-config= Ns Ar FILENAME |
33 | Use the configuration file FILENAME. | 43 | Use the configuration file FILENAME. |
34 | .IP "\-h, \-\-help" | 44 | .It Fl h | \-help |
35 | Print short help on options. | 45 | Print short help on options. |
36 | .IP "\-L LOGLEVEL, \-\-loglevel=LOGLEVEL" | 46 | .It Fl L Ar LOGLEVEL | Fl \-loglevel= Ns Ar LOGLEVEL |
37 | Use LOGLEVEL for logging. Valid values are DEBUG, INFO, WARNING and | 47 | Use LOGLEVEL for logging. |
38 | ERROR. | 48 | Valid values are DEBUG, INFO, WARNING and ERROR. |
39 | .IP "\-v, \-\-version" | 49 | .It Fl v | \-version |
40 | Print GNUnet version number. | 50 | Print GNUnet version number. |
41 | 51 | .El | |
42 | 52 | .Sh SEE ALSO | |
43 | .SH BUGS | 53 | The full documentation for gnunet is maintained as a Texinfo manual. |
44 | Report bugs by using Mantis <https://bugs.gnunet.org/> or by sending | 54 | If the |
45 | electronic mail to <gnunet\-developers@gnu.org> | 55 | .Xr info 1 |
46 | .SH SEE ALSO | 56 | and gnunet programs are properly installed at your site, the command |
47 | The full documentation for | 57 | .Pp |
48 | .B gnunet | 58 | .Dl info gnunet |
49 | is maintained as a Texinfo manual. If the | 59 | .Pp |
50 | .B info | ||
51 | and | ||
52 | .B gnunet | ||
53 | programs are properly installed at your site, the command | ||
54 | .IP | ||
55 | .B info gnunet | ||
56 | .PP | ||
57 | should give you access to the complete handbook, | 60 | should give you access to the complete handbook, |
58 | .IP | 61 | .Pp |
59 | .B info gnunet-c-tutorial | 62 | .Dl info gnunet-c-tutorial |
60 | .PP | 63 | .Pp |
61 | will give you access to a tutorial for developers. | 64 | will give you access to a tutorial for developers. |
62 | .PP | 65 | .sp |
63 | Depending on your installation, this information is also | 66 | Depending on your installation, this information is also available in |
64 | available in | 67 | .Xr gnunet 7 and |
65 | \fBgnunet\fP(7) and \fBgnunet-c-tutorial\fP(7). | 68 | .Xr gnunet-c-tutorial 7 . |
69 | .\".Sh HISTORY | ||
70 | .\".Sh AUTHORS | ||
71 | .Sh BUGS | ||
72 | Report bugs by using | ||
73 | .Lk https://bugs.gnunet.org | ||
74 | or by sending electronic mail to | ||
75 | .Aq Mt gnunet-developers@gnu.org . | ||