Commit Graph

9128 Commits

Author SHA1 Message Date
Joe Bryan
369ccc41dd
Merge pull request #872 from urbit/philip/ames-eth-keys
Allow booting from ethereum snapshot
2018-10-31 22:19:32 -04:00
Joshua Reagan
db0f014d87
Merge pull request #871 from urbit/joshuareagan-patch-3
Bug fix for metal-wrapping runes
2018-10-31 19:51:06 -05:00
Philip Monk
0db24cf208
clean and add tests 2018-10-31 15:18:40 -07:00
Philip Monk
6660d697ec
allow booting from ethereum snapshot 2018-10-31 14:34:21 -07:00
Joshua Reagan
9f431d965f
update pin-vere-commit.txt 2018-10-31 14:35:28 -05:00
Joshua Reagan
58cf323aa7
Bug fix for metal-wrapping runes
A bug causes this cast to go through:

```
^+(|=(@ 15) ^&(|=(@ 15)))
```

It should nest-fail.  This change makes the cast work correctly with the metal wrapping runes `^&`, `^|`, and `^?`.
2018-10-31 13:56:56 -05:00
Fang
5c6bcee523 Apply two more small fixes to achieve parity with keygen-js
- argon2u salt
- account for larger seed when deriving from mnemonic
2018-10-30 18:18:17 -07:00
Philip Monk
999255bc39
Merge pull request #870 from urbit/philip/ames-eth-keys
%jael: Allow manual restore from snapshot
2018-10-30 17:42:38 -07:00
Fang
76ef4ae9e3 Do renaming, error correction, cleanup 2018-10-30 17:15:56 -07:00
Philip Monk
aaed5b992a
fix dawn tests 2018-10-30 17:05:33 -07:00
Philip Monk
871857f4c6
only snapshot eth-derived state 2018-10-30 17:05:05 -07:00
Philip Monk
c82315382b
fix for parity 2018-10-30 16:18:54 -07:00
Philip Monk
c1f86dc296
manually restore from snapshot 2018-10-30 11:41:54 -07:00
Fang
b71e68b3b4 No longer rev ahead of time 2018-10-30 11:10:52 -07:00
Joe Bryan
420e99dc61 sets ships contract address to ropsten deployment 2018-10-29 21:55:24 -04:00
Joe Bryan
3e09b9b6c5 includes block number and ethereum gateway url in boot event 2018-10-29 15:38:14 -04:00
Joe Bryan
ff0564338c finishes incomplete +test-take-bloq from previous 2018-10-29 15:36:53 -04:00
Joe Bryan
087b6c92b0 pins pre-boot validation eth rpc requests to a single block 2018-10-29 14:02:36 -04:00
Philip Monk
fb07d9eada
Merge pull request #864 from urbit/philip/ames-eth-keys
add chunking and start snapshotting
2018-10-26 18:35:25 -07:00
rmariani
579efd9972
Remove old-zuse (#867)
* removes old-zuse
2018-10-26 16:19:18 -07:00
benjamin-tlon
a7c967795d
Type Analysis (#865) 2018-10-26 15:43:45 -07:00
Joe Bryan
64f9a06555
Merge pull request #860 from cgyarvin/release-candidate
Merge research-final branch (but not finally).
2018-10-26 12:49:09 -04:00
Fang
e0f5a9db7a Work with BIP39 mnemonics as outward-facing seeds
Then apply the password in turning them into internally usable seeds.
2018-10-25 19:10:40 -07:00
Fang
22e689adbe Implement functions to get address from Ethereum keys 2018-10-25 18:37:34 -07:00
Philip Monk
c806694271
add robustness 2018-10-25 16:15:42 -07:00
Philip Monk
dc1888e112
add chunking and start snapshotting 2018-10-25 15:03:40 -07:00
Joe Bryan
0e59788dff fixes bugs in individual continuity breaches 2018-10-25 17:41:05 -04:00
Joe Bryan
7269c09771 adds life-mismatch checks to pre-boot validation 2018-10-25 17:39:34 -04:00
Fang
6d89026468 Use argon2u salt from the spec 2018-10-25 13:22:18 -07:00
Joe Bryan
345cc92578 makes the "removed" property optional in eth json event logs 2018-10-24 19:55:16 -04:00
Fang
68234ca138 Derive BIP32 at specific path 2018-10-24 16:32:16 -07:00
Fang
ad9bd39db0 Derive the owner seed, and all other seeds, from "master seed" 2018-10-24 16:31:40 -07:00
Fang
75800ef997 Continue with fixed seed-length changes, don't append pass 2018-10-24 16:30:45 -07:00
Fang
715f801722 Cast the BIP39 wordlist
To give it a more elegant type signature.
2018-10-24 16:28:23 -07:00
ixv
8b4425bafc
Merge pull request #863 from urbit/release-candidate-fix-dead-ire
remove clam from error sigpam
2018-10-24 15:45:58 -07:00
Fang
bb7c301c62 Disable some of the more expensive PBKDF tests
So that CI is happy again.
2018-10-24 15:27:13 -07:00
Philip Monk
eaa65a9e75
handle json objects without all keys 2018-10-24 15:18:25 -07:00
Fang
1556402668 Implement BIP39 as a library
Currently only uses the official English wordlist, but could be expanded
to use various other wordlists in the future.

Includes tests.
2018-10-24 14:55:35 -07:00
Anthony Arroyo
0c38349e56 remove clam from error sigpam 2018-10-24 14:45:24 -07:00
Fang
aeeb075ddd Add a more generic PBKDF implementation into zuse
Can be fed arbitrary KDF functions and operate using those.
Includes arms for calling with HMAC-SHA variants.

Still takes @t rather than sane-byte-order @ though...

Includes tests.
2018-10-24 13:42:35 -07:00
Joe Bryan
db08708fe6 fixes bug in forwarded packet routing 2018-10-24 16:31:50 -04:00
Philip Monk
90419eb009
better handling of lost filters
- add `etn` to `++abet:su` and `++curd` for propogation of `latest-block`
- start new filters 40 blocks before `latest-block` to allow for reorgs
while we weren't looking
- add getLogs in case we need it later
2018-10-24 13:25:02 -07:00
Philip Monk
1819be5139 add a convenient error message (#862) 2018-10-24 12:18:04 -04:00
Fang
9527a002f3 Make seeds always 256 bits in size 2018-10-22 16:37:42 -07:00
Curtis Yarvin
31df8efda8 Fix compiler error. 2018-10-22 15:38:27 -07:00
Curtis Yarvin
603e796deb Remove temporary type analysis work. 2018-10-22 12:48:08 -07:00
Curtis Yarvin
3333d47de2 Merge branch 'research-final' into release-candidate 2018-10-22 12:47:26 -07:00
Joe Bryan
5e4ead1353 sets request id in +hull:give:dawn 2018-10-22 13:39:33 -04:00
Joe Bryan
4d3b204769 implements key rotation with continuity
also not quite working
2018-10-18 14:45:54 -04:00
Joe Bryan
a29a40b0d9 refines %sunk discontinuity notifications
still not completely correct ...
2018-10-18 12:38:43 -04:00