summaryrefslogtreecommitdiff
path: root/manpages/taler-exchange-offline.1.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-26 21:45:50 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-26 21:45:50 +0100
commitdb83b526373744c4e652827a45f1d7c97d9235d2 (patch)
tree3a24dab64a75f7aa6a9901b85fb086f9f5ef1c2a /manpages/taler-exchange-offline.1.rst
parentb35bb74a826d74018f9d5b3ac4856a1abe57c966 (diff)
downloaddocs-db83b526373744c4e652827a45f1d7c97d9235d2.tar.gz
docs-db83b526373744c4e652827a45f1d7c97d9235d2.tar.bz2
docs-db83b526373744c4e652827a45f1d7c97d9235d2.zip
document #6724 in man pages
Diffstat (limited to 'manpages/taler-exchange-offline.1.rst')
-rw-r--r--manpages/taler-exchange-offline.1.rst24
1 files changed, 13 insertions, 11 deletions
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
--------