From 8b5b569f887924ca01b8e16b845f69cf8324e62c Mon Sep 17 00:00:00 2001 From: philemon Date: Mon, 16 Oct 2017 20:10:55 +0300 Subject: [PATCH] modified: Install-MMGen-on-Debian-or-Ubuntu-Linux.md modified: MMGen-command-help.md modified: man-addrgen.md modified: man-addrimport.md new file: man-autosign.md modified: man-keygen.md modified: man-passchg.md modified: man-passgen.md modified: man-tool.md modified: man-txbump.md modified: man-txcreate.md modified: man-txdo.md modified: man-txsend.md modified: man-txsign.md modified: man-walletchk.md modified: man-walletconv.md modified: man-walletgen.md --- Install-MMGen-on-Debian-or-Ubuntu-Linux.md | 2 +- MMGen-command-help.md | 1 + man-addrgen.md | 8 ++-- man-addrimport.md | 3 +- man-autosign.md | 53 ++++++++++++++++++++++ man-keygen.md | 8 ++-- man-passchg.md | 2 +- man-passgen.md | 2 +- man-tool.md | 2 +- man-txbump.md | 2 +- man-txcreate.md | 4 +- man-txdo.md | 5 +- man-txsend.md | 2 +- man-txsign.md | 3 +- man-walletchk.md | 2 +- man-walletconv.md | 2 +- man-walletgen.md | 2 +- 17 files changed, 77 insertions(+), 26 deletions(-) create mode 100644 man-autosign.md diff --git a/Install-MMGen-on-Debian-or-Ubuntu-Linux.md b/Install-MMGen-on-Debian-or-Ubuntu-Linux.md index aedefcc..c40e073 100644 --- a/Install-MMGen-on-Debian-or-Ubuntu-Linux.md +++ b/Install-MMGen-on-Debian-or-Ubuntu-Linux.md @@ -2,7 +2,7 @@ > Install required Debian/Ubuntu packages: - $ sudo apt-get install python-pip python-dev python-pexpect python-ecdsa python-scrypt libssl-dev git autoconf libtool wipe python-setuptools + $ sudo apt-get install python-pip python-dev python-pexpect python-ecdsa python-scrypt libssl-dev git autoconf libtool wipe python-setuptools libgmp-dev > Install the Python Cryptography Toolkit: diff --git a/MMGen-command-help.md b/MMGen-command-help.md index 812d858..f33d349 100644 --- a/MMGen-command-help.md +++ b/MMGen-command-help.md @@ -1,5 +1,6 @@ * [mmgen-addrgen](man-addrgen) * [mmgen-addrimport](man-addrimport) +* [mmgen-autosign](man-autosign) * [mmgen-keygen](man-keygen) * [mmgen-passchg](man-passchg) * [mmgen-passgen](man-passgen) diff --git a/man-addrgen.md b/man-addrgen.md index 3d82a43..d80d5f8 100644 --- a/man-addrgen.md +++ b/man-addrgen.md @@ -37,9 +37,9 @@ If available, the secp256k1 library will be used for address generation. ADDRESS TYPES: - 'C','compressed' - Compressed Bitcoin P2PKH address - 'S','segwit' - Bitcoin Segwit P2SH-P2WPK address - 'L','legacy' - Legacy uncompressed Bitcoin address + 'C','compressed' - Compressed P2PKH address + 'S','segwit' - Segwit P2SH-P2WPK address + 'L','legacy' - Legacy uncompressed address NOTES FOR ALL GENERATOR COMMANDS @@ -66,4 +66,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.9.3 October 2017 MMGEN-ADDRGEN(1) + MMGEN v0.9.4 October 2017 MMGEN-ADDRGEN(1) diff --git a/man-addrimport.md b/man-addrimport.md index b889628..75697e4 100644 --- a/man-addrimport.md +++ b/man-addrimport.md @@ -11,11 +11,10 @@ -q, --quiet Suppress warnings -r, --rescan Rescan the blockchain. Required if address to import is on the blockchain and has a balance. Rescanning is slow. - -t, --test Simulate operation; don't actually import addresses This command can also be used to update the comment fields of addresses already in the tracking wallet. The --batch and --rescan options cannot be used together. - MMGEN v0.9.3 October 2017 MMGEN-ADDRIMPORT(1) + MMGEN v0.9.4 October 2017 MMGEN-ADDRIMPORT(1) diff --git a/man-autosign.md b/man-autosign.md new file mode 100644 index 0000000..842c861 --- /dev/null +++ b/man-autosign.md @@ -0,0 +1,53 @@ + MMGEN-AUTOSIGN: Auto-sign MMGen transactions + USAGE: mmgen-autosign [opts] [command] + OPTIONS: + -h, --help Print this help message + --longhelp Print help message for long options (common options) + -l, --led Use status LED to signal standby, busy and error + -s, --stealth-led Stealth LED mode - signal busy and error only, and only + after successful authorization. + + + COMMANDS + + gen_secret - generate the shared secret and copy to /dev/shm and USB stick + wait - start in loop mode: wait - mount - sign - unmount - wait + + + USAGE NOTES + + If invoked with no command, the program mounts the USB stick, signs any + unsigned transactions, unmounts the USB stick and exits. + + If invoked with 'wait', the program waits in a loop, mounting, signing + and unmounting every time the USB stick is inserted. The status LED + indicates whether the program is busy or in standby mode, i.e. ready for + USB stick insertion or removal. + + The USB stick must have a partition with the label MMGEN_TX and a user- + writable directory '/tx', where unsigned MMGen transactions are placed. + + On the signing machine the directory /mnt/tx must exist and /etc/fstab must + contain the following entry: + + LABEL='MMGEN_TX' /mnt/tx auto noauto,user 0 0 + + The signing wallet or wallets must be in MMGen mnemonic format and + present in /dev/shm. The wallet(s) can be created interactively with + the following command: + + $ mmgen-walletconv -i words -o words -d /dev/shm + + mmgen-autosign checks that a shared secret is present on the USB stick + before signing transactions. The shared secret is generated by invoking + the command with 'gen_secret' with the USB stick inserted. For good + security, it's advisable to re-generate a new shared secret before each + signing session. + + Status LED functionality is supported on Orange Pi and Raspberry Pi boards. + + This program is a helper script and is not installed by default. You + may copy it to your executable path if you wish, or just run it in place + in the scripts directory of the MMGen repository root where it resides. + + MMGEN v0.9.4 October 2017 MMGEN-AUTOSIGN(1) diff --git a/man-keygen.md b/man-keygen.md index 24c1118..8e2f1a9 100644 --- a/man-keygen.md +++ b/man-keygen.md @@ -41,9 +41,9 @@ If available, the secp256k1 library will be used for address generation. ADDRESS TYPES: - 'C','compressed' - Compressed Bitcoin P2PKH address - 'S','segwit' - Bitcoin Segwit P2SH-P2WPK address - 'L','legacy' - Legacy uncompressed Bitcoin address + 'C','compressed' - Compressed P2PKH address + 'S','segwit' - Segwit P2SH-P2WPK address + 'L','legacy' - Legacy uncompressed address NOTES FOR ALL GENERATOR COMMANDS @@ -70,4 +70,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.9.3 October 2017 MMGEN-KEYGEN(1) + MMGEN v0.9.4 October 2017 MMGEN-KEYGEN(1) diff --git a/man-passchg.md b/man-passchg.md index c3b0e99..a326ddf 100644 --- a/man-passchg.md +++ b/man-passchg.md @@ -43,4 +43,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.9.3 October 2017 MMGEN-PASSCHG(1) + MMGEN v0.9.4 October 2017 MMGEN-PASSCHG(1) diff --git a/man-passgen.md b/man-passgen.md index 9c4ac32..a1322eb 100644 --- a/man-passgen.md +++ b/man-passgen.md @@ -78,4 +78,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.9.3 October 2017 MMGEN-PASSGEN(1) + MMGEN v0.9.4 October 2017 MMGEN-PASSGEN(1) diff --git a/man-tool.md b/man-tool.md index e1051ad..15a0310 100644 --- a/man-tool.md +++ b/man-tool.md @@ -91,4 +91,4 @@ Type 'mmgen-tool help for help on a particular command - MMGEN v0.9.3 October 2017 MMGEN-TOOL(1) + MMGEN v0.9.4 October 2017 MMGEN-TOOL(1) diff --git a/man-txbump.md b/man-txbump.md index e53937a..da86dac 100644 --- a/man-txbump.md +++ b/man-txbump.md @@ -77,4 +77,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.9.3 October 2017 MMGEN-TXBUMP(1) + MMGEN v0.9.4 October 2017 MMGEN-TXBUMP(1) diff --git a/man-txcreate.md b/man-txcreate.md index 767a476..144142d 100644 --- a/man-txcreate.md +++ b/man-txcreate.md @@ -31,7 +31,7 @@ if specified. Ages of transactions are approximate based on an average block discovery - interval of 9 minutes. + interval of one per 600 seconds. All addresses on the command line can be either Bitcoin addresses or MMGen addresses of the form :. @@ -44,4 +44,4 @@ a plain decimal number, or as satoshis per byte, using an integer followed by the letter 's'. - MMGEN v0.9.3 October 2017 MMGEN-TXCREATE(1) + MMGEN v0.9.4 October 2017 MMGEN-TXCREATE(1) diff --git a/man-txdo.md b/man-txdo.md index 5b79244..c9b0101 100644 --- a/man-txdo.md +++ b/man-txdo.md @@ -3,7 +3,6 @@ OPTIONS: -h, --help Print this help message --longhelp Print help message for long options (common options) - -A, --aug1hf Sign transaction for the Aug. 1 2017 UAHF chain -a, --tx-fee-adj f Adjust transaction fee by factor 'f' (see below) -b, --brain-params l,p Use seed length 'l' and hash preset 'p' for brainwallet input @@ -55,7 +54,7 @@ if specified. Ages of transactions are approximate based on an average block discovery - interval of 9 minutes. + interval of one per 600 seconds. All addresses on the command line can be either Bitcoin addresses or MMGen addresses of the form :. @@ -102,4 +101,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.9.3 October 2017 MMGEN-TXDO(1) + MMGEN v0.9.4 October 2017 MMGEN-TXDO(1) diff --git a/man-txsend.md b/man-txsend.md index 24a1557..dcaabb8 100644 --- a/man-txsend.md +++ b/man-txsend.md @@ -8,4 +8,4 @@ -s, --status Get status of a sent transaction -y, --yes Answer 'yes' to prompts, suppress non-essential output - MMGEN v0.9.3 October 2017 MMGEN-TXSEND(1) + MMGEN v0.9.4 October 2017 MMGEN-TXSEND(1) diff --git a/man-txsign.md b/man-txsign.md index 1e0cc85..9149de7 100644 --- a/man-txsign.md +++ b/man-txsign.md @@ -3,7 +3,6 @@ OPTIONS: -h, --help Print this help message --longhelp Print help message for long options (common options) - -A, --aug1hf Sign transaction for the Aug. 1 2017 UAHF chain -b, --brain-params l,p Use seed length 'l' and hash preset 'p' for brainwallet input -d, --outdir d Specify an alternate directory 'd' for output @@ -68,4 +67,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.9.3 October 2017 MMGEN-TXSIGN(1) + MMGEN v0.9.4 October 2017 MMGEN-TXSIGN(1) diff --git a/man-walletchk.md b/man-walletchk.md index e8bbc92..4e480dc 100644 --- a/man-walletchk.md +++ b/man-walletchk.md @@ -42,4 +42,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.9.3 October 2017 MMGEN-WALLETCHK(1) + MMGEN v0.9.4 October 2017 MMGEN-WALLETCHK(1) diff --git a/man-walletconv.md b/man-walletconv.md index ac34098..0def3e4 100644 --- a/man-walletconv.md +++ b/man-walletconv.md @@ -52,4 +52,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.9.3 October 2017 MMGEN-WALLETCONV(1) + MMGEN v0.9.4 October 2017 MMGEN-WALLETCONV(1) diff --git a/man-walletgen.md b/man-walletgen.md index 7203f68..6a3e846 100644 --- a/man-walletgen.md +++ b/man-walletgen.md @@ -45,4 +45,4 @@ SeedFile .mmseed mmseed,seed,s Wallet .mmdat wallet,w - MMGEN v0.9.3 October 2017 MMGEN-WALLETGEN(1) + MMGEN v0.9.4 October 2017 MMGEN-WALLETGEN(1)