Commit Graph

99 Commits

Author SHA1 Message Date
Ian Coleman 20f459ce8f Change entropy Strength to Time To Crack
See issue 78
2017-06-20 10:58:31 +10:00
Karol Rychlicki c0386f3b78 add dash testnet 2017-06-16 19:30:15 +02:00
Ian Coleman 56b1275f40 Fix typo: s/litecoin/ripple 2017-06-14 13:45:11 +10:00
Ian Coleman 0163fe6a38 Fix ethereum test to include hex prefix 2017-06-14 12:37:29 +10:00
iancoleman 81ee6e8932 Merge pull request #70 from LedgerHQ/master
Add support for Ripple
2017-06-05 13:55:44 +10:00
amougel a96cfdf3d3 Added test 2017-06-02 14:27:12 +02:00
Graham Higgins 7a5a87a0b9 Add Slimcoin 2017-05-26 15:14:12 +01:00
mikeyb 00fd1a035c add test for GAME 2017-04-23 17:00:13 -07:00
Ian Coleman d2d98ef7a6 Regression test for seed from Japanese mnemonic 2017-03-03 08:30:06 +11:00
Ian Coleman e6f08c6a6d Issue 58 test - bitcore bip32 derivation bug
Closes #58
2017-02-24 09:56:18 +11:00
Ian Coleman 52d589ea8d Network order is alphabetical.
Closes #56
2017-02-21 12:38:32 +11:00
Ian Coleman cdfaaf00c6 BIP32 client select tests 2017-02-19 12:38:18 +11:00
Ian Coleman 49b21f122a Ethereum addresses include checksum 2017-02-15 19:45:03 +11:00
Ian Coleman ddeb86131e Test timeout increased for low performance devices 2017-02-11 20:50:21 +11:00
Ian Coleman 24137d9607 Ethereum tests
Expected values come from
https://www.myetherwallet.com/#view-wallet-info

Polyfill for ArrayBuffer.isView is required for phantomjs-2.1.1 but
seems not required in modern browsers. I'll keep it there because the
tests need to pass.

Also see https://github.com/kvhnuke/etherwallet/issues/337
Unusual capitalization of hex encoded ethereum address
2017-02-11 20:26:21 +11:00
Ian Coleman 5ed50bd903 Raw Entropy is the default for mnemonic length 2017-02-10 18:09:13 +11:00
Ian Coleman 53aaab270d Entropy is left-padded to 256 bits
Closes #49
2017-01-12 13:47:09 +11:00
Ian Coleman 40892aba50 Generation process stopped when table rows cleared
Closes #44
2017-01-04 11:31:45 +11:00
Ian Coleman 6ea15134a4 Test suggested word for first four letters of word
See https://github.com/iancoleman/bip39/pull/48
2017-01-04 10:59:21 +11:00
Ian Coleman 9d33c8925d Card entropy uses secure hashing when > 256 bits 2016-12-22 15:40:41 +11:00
Ian Coleman 0a1f0259d1 Root key validity is checked before deriving 2016-12-19 14:17:36 +11:00
Ian Coleman ba3cb9ecae xpub key can be used as bip32 root key 2016-12-19 13:55:21 +11:00
Ian Coleman c554e6ff5c BIP44 Account xprv and xpub keys are shown
which are used for import / export in most BIP44 wallets.
2016-12-12 11:04:41 +11:00
Ian Coleman e00964ccf7 QR code shown on hover for certain bits of data
QR code shown for:
* mnemonic
* seed
* root key
* derived extended private key
* derived extended public key
* addresses
* public keys
* private keys
2016-12-01 11:25:36 +11:00
Ian Coleman fc7c248faf Entropy with more than 4 decks can be calculated 2016-11-30 19:43:14 +11:00
Ian Coleman 87ad2c6e4c Card entropy has improved conversion to binary
See http://crypto.stackexchange.com/q/41886
and https://github.com/iancoleman/bip39/issues/33#issuecomment-263021856
2016-11-30 15:30:19 +11:00
Ian Coleman 92e73fd952 Test for issue 33 checks raw entropy is in use 2016-11-25 14:56:09 +11:00
Ian Coleman 55b592b498 Entropy defaults to generating a 15 word mnemonic 2016-11-25 14:34:11 +11:00
Ian Coleman 886f06ee6b Card entropy calculation bugfix
See https://github.com/iancoleman/bip39/issues/33
2016-11-25 14:24:58 +11:00
Ian Coleman 6422c1cd57 Entropy library assumes cards are discarded
and removed the duplicate logic from the UI logic.
2016-11-17 14:28:26 +11:00
Ian Coleman bbc29c80f4 Missing cards are detected 2016-11-17 11:59:15 +11:00
Ian Coleman 5c653a12e7 Duplicate card detection is case insensitive 2016-11-17 11:34:09 +11:00
Ian Coleman 0c6777eec4 testMaxTime increased from 5s to 10s
Specifically for test titled "Very large entropy results in very long
mnemonics"
2016-11-16 13:00:26 +11:00
Ian Coleman fc8c404133 Multiple decks of cards are possible
but also a needless oversupply of entropy
2016-11-16 12:43:08 +11:00
Ian Coleman 9bc39377aa zxcvbn errors are caught, with strength 'unknown' 2016-11-16 12:12:13 +11:00
Ian Coleman 391c7f267f Card duplicates and use of full deck is detected 2016-11-16 11:58:26 +11:00
Ian Coleman 02f05d3e46 Entropy strength for cards assumes no replacement 2016-11-16 11:19:49 +11:00
Ian Coleman d6fd8ebf86 Entropy is truncated from the left
This provides greater compatibility with bip32jp.github.io
2016-11-14 13:21:04 +11:00
Ian Coleman dd94490656 Tests pass with new entropy layout 2016-11-14 13:19:53 +11:00
Ian Coleman e6a799cc7e Strength tests include zxcvbn strength detection 2016-11-10 21:55:32 +11:00
Ian Coleman 439f0e252b Entropy types are clearly indicated in UI 2016-11-10 21:12:21 +11:00
Ian Coleman fb353f9d4d Entropy feedback tests all fields 2016-11-10 20:44:50 +11:00
Ian Coleman 3599674db4 Mnemonic length can be set when using raw entropy 2016-11-10 18:58:18 +11:00
Ian Coleman 1cf1bbaff5 Entropy feedback in tabular format, not sentence 2016-11-10 17:53:09 +11:00
Ian Coleman 0d0f07f937 No leading zeros for first char unless hex 2016-11-08 21:59:08 +11:00
Ian Coleman 425b75a925 Dice entropy conversion to Base 6 is simpler
Old: Every dice roll is reduced by 1
New: Replace all 6s with 0s
2016-11-07 16:56:44 +11:00
Ian Coleman adc8ce127d Cards can be used for entropy
Format is [A2-9TJQK][CDHS]
2016-11-07 16:01:21 +11:00
Ian Coleman 057722b034 Blank entropy does not generate addresses 2016-11-07 13:16:47 +11:00
Ian Coleman c6624d51f4 Entropy can be supplied by user 2016-11-04 15:14:13 +11:00
Ian Coleman 1b12b2f5f1 Public key column in table, shown as hex 2016-11-02 12:13:21 +11:00