diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-01-26 21:45:50 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-01-26 21:45:50 +0100 |
commit | db83b526373744c4e652827a45f1d7c97d9235d2 (patch) | |
tree | 3a24dab64a75f7aa6a9901b85fb086f9f5ef1c2a /manpages | |
parent | b35bb74a826d74018f9d5b3ac4856a1abe57c966 (diff) | |
download | docs-db83b526373744c4e652827a45f1d7c97d9235d2.tar.gz docs-db83b526373744c4e652827a45f1d7c97d9235d2.tar.bz2 docs-db83b526373744c4e652827a45f1d7c97d9235d2.zip |
document #6724 in man pages
Diffstat (limited to 'manpages')
-rw-r--r-- | manpages/taler-auditor-offline.1.rst | 24 | ||||
-rw-r--r-- | manpages/taler-exchange-offline.1.rst | 24 |
2 files changed, 25 insertions, 23 deletions
diff --git a/manpages/taler-auditor-offline.1.rst b/manpages/taler-auditor-offline.1.rst index 7c10f35a..59065e72 100644 --- a/manpages/taler-auditor-offline.1.rst +++ b/manpages/taler-auditor-offline.1.rst @@ -79,19 +79,11 @@ by the auditor. To obtain the auditor's public key, use: .. code-block:: console - $ AUDITOR_PRIV_FILE=`taler-config -f -c $CONF -s AUDITOR -o AUDITOR_PRIV_FILE` - $ gnunet-ecc -p $AUDITOR_PRIV_FILE - -Note that if the private key file does not yet exist, the above will fail. -In this case, create the private key using: - -.. code-block:: console - - $ AUDITOR_PRIV_FILE=`taler-config -f -c $CONF -s AUDITOR -o AUDITOR_PRIV_FILE` - $ AUDITOR_PRIV_DIR=`dirname $AUDITOR_PRIV_FILE` - $ mkdir -p $AUDITOR_PRIV_DIR - $ gnunet-ecc -g1 $AUDITOR_PRIV_FILE + $ taler-auditor-offline setup +Note that if the private key file already exists, the above will simply output +the existing key. Passing additional arguments after setup (including "-") +will cause the output to be encapsulated in JSON. Relevant configuration options for **taler-auditor-offline** are: @@ -102,6 +94,14 @@ Relevant configuration options for **taler-auditor-offline** are: Subcommands =========== +setup +----- + +When run the first time, this subcommand sets up the offline private key and +outputs the resulting public key. Subsequent invocations will simply again +output the (same) public key (in the format usable for the exchange +configuration). + download -------- diff --git a/manpages/taler-exchange-offline.1.rst b/manpages/taler-exchange-offline.1.rst index 1c901b8c..f779339c 100644 --- a/manpages/taler-exchange-offline.1.rst +++ b/manpages/taler-exchange-offline.1.rst @@ -74,18 +74,11 @@ obtain the master public key, use: .. code-block:: console - $ MASTER_PRIV_FILE=`taler-config -f -c $CONF -s EXCHANGE -o MASTER_PRIV_FILE` - $ gnunet-ecc -p $MASTER_PRIV_FILE + $ taler-exchange-offline setup -Note that if the private key file does not yet exist, the above will fail. -In this case, create the private key using: - -.. code-block:: console - - $ MASTER_PRIV_FILE=`taler-config -f -c $CONF -s EXCHANGE -o MASTER_PRIV_FILE` - $ MASTER_PRIV_DIR=`dirname $MASTER_PRIV_FILE` - $ mkdir -p $MASTER_PRIV_DIR - $ gnunet-ecc -g1 $MASTER_PRIV_FILE +Note that if the private key file already exists, the above will simply output +the existing key. Passing additional arguments after setup (including "-") +will cause the output to be encapsulated in JSON. Relevant configuration options for **taler-exchange-offline** are: @@ -99,6 +92,15 @@ Relevant configuration options for **taler-exchange-offline** are: Subcommands =========== +setup +----- + +When run the first time, this subcommand sets up the offline private key and +outputs the resulting public key. Subsequent invocations will simply again +output the (same) public key (in the format usable for the exchange +configuration). + + download -------- |