Commit Graph

82 Commits

Author SHA1 Message Date
Carl Beekhuizen
3be3723a24
Actually shortens words for abbrviated mnemonic test vectors 2022-03-29 15:03:24 +02:00
Carl Beekhuizen
885826c526 Adds abbriavted words to new-mnemonics 2022-03-28 12:50:56 +00:00
Carl Beekhuizen
202a620a62 Adds tests for existing mnemonic abbreviated words 2022-03-28 12:50:56 +00:00
Thorsten Behrens
bbeeb1f439 Fix lint; revert new-mnemonic text change 2022-03-28 12:50:56 +00:00
Carl Beekhuizen
567ae36295 Adds abbreviation tests 2022-03-28 12:50:56 +00:00
Thorsten Behrens
fb5ffe64e6 Allow 4-character abbreviations of mnemonic words 2022-03-28 12:50:56 +00:00
Carl Beekhuizen
a5c4651028
rename eth2deposit -> staking deposit 2021-08-23 12:33:04 +02:00
Carl Beekhuizen
afad2b6980
Fixes/removes incorrect help text about folders 2021-05-05 14:00:08 +02:00
Carl Beekhuizen
7962d4c140
Mnemonic password warnign via repeated input 2021-05-03 12:16:30 +02:00
Carl Beekhuizen
261fdd9e56
adds confirm to start index for non-english languages 2021-04-30 17:17:36 +02:00
Carl Beekhuizen
126ebe26ac
intl start_index confirmation 2021-04-30 16:15:05 +02:00
Carl Beekhuizen
06470b0b7f
Small param typo 2021-04-26 15:32:22 +02:00
Carl Beekhuizen
ff34c4bd33
Intl password confirmations 2021-04-23 16:23:23 +02:00
Carl Beekhuizen
b31f8142b8
Move int-range checking from click to custom 2021-04-19 15:27:33 +02:00
Carl Beekhuizen
3a06e92822
Adds revert to "en" if option does not exist for intl language 2021-04-14 12:30:11 +02:00
Carl Beekhuizen
5bf8e54151
Revert all CLI arguments to hard-coded English 2021-04-13 16:59:26 +02:00
Carl Beekhuizen
6affab33a8
Adds intl tests 2021-04-13 10:46:05 +02:00
Carl Beekhuizen
bcc64dd0c7
Linting fixes 2021-04-12 12:38:24 +02:00
Carl Beekhuizen
0542c1d3d1
Adds indexing to language options 2021-04-12 12:31:04 +02:00
Carl Beekhuizen
7c998808de
Fuzzy language matching + hella callbacks 2021-04-08 13:56:10 +02:00
Carl Beekhuizen
a92890a4f6
Adds schema tests to intl json 2021-04-07 13:13:14 +02:00
Carl Beekhuizen
a84baf3832
Merge in dev 2021-04-07 11:15:20 +02:00
Carl Beekhuizen
df09118505
tests fix 2021-04-06 14:48:52 +02:00
Carl Beekhuizen
b2882776cb
Enables intl language selection for existing_mnemonic options 2021-04-01 11:24:00 +02:00
Carl Beekhuizen
da8eab9d68
Merge pull request #183 from ceroma/dev
Add Portuguese Word List
2021-03-30 14:24:37 +02:00
Hsiao-Wei Wang
40b78dc1e5
Add assertions for eth1_withdrawal_address 2021-03-30 19:45:22 +08:00
Hsiao-Wei Wang
a6a62ac5e0
PR feedback from Carl 2021-03-30 19:14:41 +08:00
Hsiao-Wei Wang
a35c09ffe9
Add withdrawal credential validation 2021-03-25 23:08:36 +08:00
Hsiao-Wei Wang
5819eb4208
Add --eth1_withdrawal_address flag to set the eth1_withdrawal_address 2021-03-25 22:21:40 +08:00
Carl Beekhuizen
388191dc55
Depricate support for old testnets (Witti, Altona, Medalla, Spadina, Zinken) 2021-03-22 15:31:55 +01:00
Hsiao-Wei Wang
b7f4188633
Use load_text in test_new_mnemonic.py 2021-02-24 18:58:53 +08:00
Hsiao-Wei Wang
4f10175238
Add msg_mnemonic_presentation back 2021-02-23 20:43:23 +08:00
ceroma
d3e6689b86 Add Portuguese Word List
From: https://github.com/bitcoin/bips/tree/master/bip-0039
2021-02-21 14:49:58 -08:00
Carl Beekhuizen
f271d96ad2
chmod keystores and deposit_data.json to 440 2020-12-18 16:54:46 +01:00
Hsiao-Wei Wang
e9b0b6605e
Merge pull request #157 from ethereum/hwwhww/pyrmont
Add Prymont + Add `eth2_network_name` field to deposit_data*.json file
2020-11-13 21:23:55 +08:00
Hsiao-Wei Wang
935588287e
Add eth2_network_name field to deposit_data.json 2020-11-13 00:25:11 +08:00
Hsiao-Wei Wang
b6f7ca93c3
Fix 2020-11-05 17:13:32 +08:00
Hsiao-Wei Wang
eb37e129c0
Apply suggestions from code review
Co-authored-by: Carl Beekhuizen <carl@ethereum.org>
2020-11-04 03:39:55 +08:00
Hsiao-Wei Wang
fb498650f3
Update tests/test_cli/test_regeneration.py 2020-11-04 02:33:08 +08:00
Hsiao-Wei Wang
1208820864
Rename test_deposit test case to test_existing_mnemonic 2020-11-04 02:09:23 +08:00
Hsiao-Wei Wang
6f54965486
Add test_regeneration.py 2020-11-04 02:05:03 +08:00
Carl Beekhuizen
014e34ce1b
Merge in dev 2020-11-02 16:59:19 +01:00
Carl Beekhuizen
f4d734173d
Adds tests for both new and existing mnemonics via CLI 2020-10-28 19:07:13 +01:00
Hsiao-Wei Wang
076469a531
Add password length validation - take 2 (#138)
* [WIP] Add password length validation

* Workaround: use click callback function

* Minor rewording
2020-10-27 14:05:12 +08:00
Carl Beekhuizen
633409c059
Implement @hwwhww's code review suggestions 2020-10-26 17:51:38 +01:00
Carl Beekhuizen
4ff9f2a01f
Clarifies the dangers of mnemonic-passwords 2020-10-20 15:51:20 +02:00
Carl Beekhuizen
016d2c9391
merge in dev and resolve conflicts 2020-10-14 17:29:09 +02:00
Carl Beekhuizen
6839782b14
Merge pull request #121 from ethereum/safe_crypto_wrappers
Adds parameter safety checks to crypto wrappers
2020-10-01 12:56:49 +02:00
Hsiao-Wei Wang
45e2093116
Bump py-ecc to v5.0.0 2020-10-01 01:57:23 +08:00
Carl Beekhuizen
1e04ab2566
Linting is a thing 2020-09-29 16:31:22 +02:00