gnunet-ecc(1)

gnunet-ecc1

Manipulate gnunet ecc key files

Usage

gnunet-ecc [{-g COUNT | --generate-keys=COUNT}] [{-p | --print-public-key}] [{-P | --print-private-key}] [{-x | --print-hex}] [{-c FILENAME | --config=FILENAME}] [{-h | --help}] [{-L LOGLEVEL | --loglevel=LOGLEVEL}] [{-v | --version}] ⟨FILENAME⟩

Overview

gnunet-ecc 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.

-g COUNT | --generate-keys=COUNT

Create COUNT public-private key pairs and write them to FILENAME. Used for creating a file for testing.

-p | --print-public-key

Print the corresponding public key to stdout. This is the value used for PKEY records in GNS.

-P | --print-private-key

Print the corresponding private key to stdout. This is the value used for PKEY records in GNS.

-x | --print-hex

Print the corresponding public key to stdout in HEX format. Useful for comparing to Ed25519 keys in X.509 tools.

-c FILENAME | --config=FILENAME

Use the configuration file FILENAME.

-h | --help

Print short help on options.

-L LOGLEVEL | --loglevel=LOGLEVEL

Use LOGLEVEL for logging. Valid values are DEBUG, INFO, WARNING and ERROR.

-v | --version

Print GNUnet version number.

Releases

6 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8–10
  2. 11–13

--print-hex since Debian 11 (Bullseye); --print-private-key since Debian 11 (Bullseye); -x since Debian 11 (Bullseye).

--config until Debian 10 (Buster); --generate-keys until Debian 10 (Buster); --loglevel until Debian 10 (Buster); --print-peer-identity until Debian 10 (Buster); -L until Debian 10 (Buster); -c until Debian 10 (Buster); -g until Debian 10 (Buster).

Bugs

Report bugs by using https://bugs.gnunet.org or by sending electronic mail to ⟨[email protected]⟩.

From libgnunet0.20t64 0.20.0-7 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.