Commit Graph

73 Commits

Author SHA1 Message Date
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
Ian Coleman
e1bae8436a Non-English language tests added 2016-10-20 16:22:49 +11:00
Ian Coleman
b630f83d23 Links and author changed to iancoleman 2016-10-11 10:11:00 +11:00
Ian Coleman
b0fb45b9f1 Template code in comment for future tests. 2016-10-05 12:37:01 +11:00
Ian Coleman
558ef9ac05 Test derivation from root key with other networks 2016-10-05 12:36:18 +11:00
Ian Coleman
af4fd3a203 Test coin selection is used in derivation path 2016-10-05 12:35:40 +11:00
Ian Coleman
e300153919 Test github issue 23: derivation path on bip32 tab 2016-10-05 12:20:35 +11:00
Ian Coleman
a7becc4305 Test mnemonic is not sensitive to whitespace 2016-10-05 12:11:31 +11:00
Ian Coleman
c97627faa4 Test generate more addresses with privkeys hidden 2016-10-05 11:43:14 +11:00
Ian Coleman
ca976aa99b Test default word length is 15 2016-10-05 11:23:29 +11:00
Ian Coleman
55c0ffcbdf Test derivation path containing invalid characters 2016-10-03 11:22:49 +11:00
Ian Coleman
f976b5410f Test derivation path not starting with m 2016-10-03 11:18:37 +11:00
Ian Coleman
02f4a90ebb Test incorrect root key shows error 2016-10-03 11:04:44 +11:00
Ian Coleman
20f80cfa27 Test incorrect word shows suggested replacement 2016-09-29 18:53:09 +10:00
Ian Coleman
c3719b00d0 Test incorrect mnemonic shows error 2016-09-29 18:52:51 +10:00
Ian Coleman
7ff86d4c98 Test derivation path changes for BIP32 root key 2016-09-15 13:10:50 +10:00
Ian Coleman
abfbe45086 Test phrase is retained unless user confirms 2016-09-15 12:16:02 +10:00
Ian Coleman
bc324fd228 Test setting BIP32 root key clears phrase 2016-09-15 12:15:54 +10:00
Ian Coleman
61ed16a9ce Test BIP32 root key being set by user 2016-09-14 16:46:20 +10:00
Ian Coleman
4d387bf5e3 Test additional addresses ordering 2016-09-05 13:57:36 +10:00
Ian Coleman
8a89b9da97 Test custom number of additional addresses 2016-09-03 15:35:58 +10:00
Ian Coleman
3563165943 Test more addresses can be generated 2016-08-31 13:46:07 +10:00
Ian Coleman
bfb3dab65c Tests for namecoin and peercoin 2016-08-30 15:56:20 +10:00
Ian Coleman
6848d03ba1 Test toggling private key visibility 2016-08-26 12:33:47 +10:00
Ian Coleman
8cd5e23162 Test private keys are shown in address table 2016-08-26 12:29:31 +10:00
Ian Coleman
21372fab36 Test toggling address visibility 2016-08-26 12:26:33 +10:00
Ian Coleman
3f1faa4d0e Test ordering of addresses in table 2016-08-26 12:21:55 +10:00