http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/src/8e469324756067cacc6c9cf652572fb69023818e/test/misc/get_passphrase.py
/usr/bin/env python3 import sys,os pn = os.path.abspath(os.path.dirname(sys.argv[0])) os.chdir(os.path.dirname(os.path.dirname(pn))) sys.path[0] = os.curdir from mmgen.cfg import Config,gc from mmgen.util import msg opts_data = { 'text': { 'desc': '', 'usage': 'crypto | seed', 'options': """ -h, --help Print this help message -P, --passwd-file=f a -p, --hash-preset=p b -r, --usr-randchars=n c -L, --label=l d -m, --keep-label e """ } } cfg = Config( opts_data=opts_data,...