Commit graph

114 commits

Author SHA1 Message Date
e978b759d8
test/test.py,scripts/test-release.py: minor changes 2018-07-25 15:34:50 +03:00
e0dad2e108
test/test.py: update eth ref tx files 2018-07-25 14:08:58 +03:00
fad573eccd
tx.py,tw.py: cleanups, support tx inputs from cmdline 2018-07-24 00:17:05 +03:00
9d04a244ec
test.py: rewrite create_ref_tx, update reference tx files 2018-06-05 00:15:52 +03:00
1877571691
Run Parity with non-standard ports for testnet and dev mode 2018-06-05 00:09:05 +03:00
10879615b3
test.py: update reference address file checksums for testnet 2018-06-05 00:03:02 +03:00
7fb07cf5cf
test.py: delete extraneous list element in cmd_groups 2018-06-04 12:54:15 +03:00
90e89ad291
test.py: update testnet reference address and key-address files 2018-06-04 12:13:52 +03:00
09b3ef7cc8
test.py: cleanups, refactoring 2018-06-03 22:53:46 +03:00
3f93bc7d00
test.py: basic Ethereum transaction and tracking wallet tests
- tests use Parity's dev mode; daemon is started automatically
2018-06-02 16:03:12 +03:00
80df86aca7
New options for write_data_to_file(); minor fixes
New options:
- 'ignore_opt_outdir': override creation of absolute path
- 'check_data','cmp_data': check data before writing
2018-06-02 15:49:48 +03:00
2c97f61ea4
Ethereum autosigning 2018-05-31 22:02:00 +03:00
fe26ea935b
setup.py: add eth modules; test.py: minor fixes 2018-05-31 22:01:36 +03:00
26210569f8
Minor changes and fixes
- eth/tw.py,main_txsign.py,protocol.py,rpc.py,tx.py: changes
- test.py,addr.py: fixes
2018-05-30 18:33:14 +03:00
6526aa7ed4
test.py: altcoin generation tests 2018-05-16 18:36:51 +03:00
f14606669e
Ethereum wallet passwords
- A password is now generated for each privkey in Ethereum key-address list
  - As with Monero wallet passwords (df03851), password is first 16 bytes of
    SHA256x2(privkey)
  - Password can be used with geth's private.importRawKey() method to create a
    relatively secure online wallet.  Unlock using private.unlockAccount()
2018-05-16 18:35:23 +03:00
a14bd9fdfb
Release notes formatting 2018-05-14 23:06:41 +03:00
6972153248
Test UTF-8 passwords; add release notes 2018-05-14 19:36:08 +03:00
1b25452c8e
Rename some tests and test groups 2018-05-12 18:52:35 +03:00
9f2153c3a8
Require UTF-8 for brainwallet; other UTF-8 fixes
- This commit introduces a backwards incompatibility.  Users with non-UTF-8
  brainwallets (if there are any, which is very unlikely) must export them to
  another MMGen wallet format using an older version of MMGen.
2018-05-12 18:26:54 +03:00
a2a3c87d6d
test.py: update zcash address file data 2018-05-10 13:54:53 +03:00
2cb4df72c4
Litecoin Bech32 address support 2018-05-09 17:37:18 +03:00
21042737fe
Support UTF-8 wallet labels; new UTF-8 restrictions
- this means .mmdat wallet file itself is now UTF-8 (formerly ASCII-only)
- control and combining characters are now forbidden in all labels
2018-05-08 14:00:16 +03:00
0b6d047c25
test.py: add throwaway tmp dir 2018-05-08 13:44:12 +03:00
ea6629d644
Format full-width CJK characters properly 2018-04-27 10:48:00 +03:00
3deb346133
Minor changes, bugfixes 2018-04-27 10:37:36 +03:00
00079ae156
Implement _b58tonum() as generator func; utf8 label test, bugfixes 2018-04-25 16:14:28 +03:00
d49c8627aa
Support 40-character UTF-8 tracking wallet comments 2018-03-09 18:16:20 +03:00
896c7fe996
Support UTF-8 filenames and paths 2018-03-09 16:16:10 +03:00
b230b43d4b
MMGEN_DEBUG_ALL env var; tw display and other fixes 2018-03-09 14:29:58 +03:00
351f5f9118
Use new-style string formatting 2018-03-07 12:59:35 +03:00
b80b059815
Use map() instead of list comprehension where possible 2018-03-07 12:55:06 +03:00
27c3196269
TX size estimation: --vsize-adj fixes, tests 2018-03-06 10:29:20 +03:00
6f572cddde
Bech32: additional tests 2018-03-06 10:28:41 +03:00
e4114eedf3
Bech32 address support
- Address type code is 'B'
- Generate with `--type=B` or `--type=bech32`
2018-03-05 12:46:35 +03:00
ed2b94caca
tx size estimation: reworked code, bugfixes, --vsize-adj option
- Estimated vsize is compared with actual vsize after signing.
  If estimate is off by more than 5%, the program aborts, asking
  the user to re-create the tx using --vsize-adj
- Estimated and actual vsizes will differ meaningfully only in the
  rare situation where non-MMGen addrs with uncompressed pubkeys
  are used as inputs
2018-03-05 11:59:50 +03:00
e9385725cf
Add g.proto.witness_ver_num, minor fixes and changes 2018-03-05 09:29:20 +03:00
ebabea39ce
tw.add_label(): code cleanups, tests 2018-02-26 15:34:59 +03:00
d5d81b8c02
test/test.py: no_msg option for MMGenPexpect 2018-02-26 15:31:47 +03:00
8fe92de627
Coverage support for tests via Python trace module 2018-02-24 14:39:49 +03:00
6aca0f2986
use estimatesmartfee if the daemon supports it 2018-02-22 23:13:20 +03:00
MMGen
6b9df0ea44
Change all eval() calls to ast.literal_eval()
- closes an exploit whereby an infected online MMGen installation could craft
  a special TX file to trick an offline signing MMGen into executing an
  arbitrary expression
- update TX file format (to v3) to permit calling literal_eval() on unmodified
  inputs and outputs data (old v2 file format continues to be supported)
- new TX file conversion script: `scripts/tx-v2-to-v3.py`
- `scripts/tx-old2new.py` modified and renamed to `scripts/tx-v1-to-v3.py`
2018-02-17 15:35:45 +03:00
MMGen
f7e54cce93
Minor fixes and improvements
- mmgen-tool listaddresses: add 'show_age','show_days' options
- init_fail(): make 'silent' override 'MMGEN_TRACEBACK', fixing regression
  introduced by 3909339
- test/test.py: improve formatting of --list output
- test/{test,objtest,scrambletest}.py, mmgen/tool.py: indentation (whitespace) fixes
2018-02-17 12:34:15 +03:00
MMGen
65e2db0512
Monero,autosign: minor improvements
- Monero (create,sync): specify addr range; display total balance for all wallets
- autosign: improve exception handling, launch the standard way
2018-02-10 19:54:17 +03:00
MMGen
83e9899b38
Version 0.9.6 2018-01-14 17:24:36 +03:00
MMGen
df0385160b
XMR (Monero) key/address generation support and wallet generating utility
- Monero key-address files include spendkey, viewkey and wallet password
- Wallet password is first 16 bytes of SHA256x2(spendkey)
- Generate Monero wallets either by hand with:
    1) `monero-wallet-cli --generate-from-spend-key walletfile`, using the keyaddrfile data,
  or automatically, using:
    2) `mmgen-tool keyaddrlist2monerowallet keyaddrfile`
  The utility will generate a wallet for each key/address pair in the keyaddrfile and encrypt
  it using the password.  The password is supplied via stdin.

- Other feature: 32-byte hexadecimal password generation with `mmgen-passgen --hex`
2017-12-28 16:03:28 +03:00
MMGen
91ac2effb3
Key/address generation support for 144 altcoins
Support for these coins is EXPERIMENTAL, use at your own risk

    EXAMPLE: generate 10 Dogecoin key/address pairs with your default wallet:

        `mmgen-keygen --coin=doge 1-10`

    Keys for different coins are distinct, so users needn't worry about key reuse.

    Supported alts: 2give,42,611,ac,acoin,alf,anc,apex,arco,arg,aur,b2x,bcf,bch,blk,bmc,bqc,bsty,btcd,btq,bucks,cann,cash,cat,cbx,ccn,cdn,chc,clam,con,cpc,crps,csh,dash,dcr,dfc,dgb,dgc,doge,doged,dope,dvc,efl,emc,emd,enrg,esp,etc,eth,fai,fc2,fibre,fjc,flo,flt,fst,ftc,gcr,good,grc,gun,ham,html5,hyp,icash,infx,inpay,ipc,jbs,judge,lana,lat,ldoge,lmc,ltc,mars,mcar,mec,mint,mobi,mona,moon,mrs,mue,mxt,myr,myriad,mzc,neos,neva,nka,nlg,nmc,nto,nvc,ok,omc,omni,onion,onx,part,pink,pivx,pkb,pnd,pot,ppc,ptc,pxc,qrk,rain,rbt,rby,rdd,ric,sdc,sib,smly,song,spr,start,sys,taj,tit,tpc,trc,ttc,tx,uno,via,vpn,vtc,wash,wdc,wisc,wkc,wsx,xcn,xgb,xmg,xpm,xpoke,xred,xst,xvc,zec,zet,zlq,zoom,zrc

	Test the new functionality with `scripts/test-release.sh -Pn master alts`

B2X support disabled pending further testing
2017-12-24 15:26:23 +03:00
MMGen
4876ee47ed
View key support for Zcash z-addresses
- view keys are included in key-address lists
- tests updated to test the new functionality

- mmgen-tool: `compressed` and `segwit` args replaced by --type option
2017-12-18 20:19:01 +03:00
MMGen
1cc64e1eb9
Zcash z-address generation with custom sha256 implementation
- Tests have been updated, test with `scripts/test-release.sh -Pn master alts`
2017-12-16 12:48:47 +03:00
MMGen
bafea57134
Key/address generation for Ethereum, Eth Classic, DASH, and Zcash
- supported commands:
  - mmgen-addrgen
  - mmgen-keygen (decrypt encrypted key-addr files with `mmgen-tool decrypt`)
  - mmgen-tool addrfile_chksum, keyaddrfile_chksum

- ETH and ETC keys are distinct, so users needn't worry about key reuse
- Only Zcash-t addresses supported for now (but z-addresses coming soon)

- Test the new functionality with `scripts/test-release.sh -Pn master alts`
2017-12-16 09:31:00 +03:00