Commit Graph

9058 Commits

Author SHA1 Message Date
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
Joe Bryan
13ada085b6 simplifies and refactors %dill initialization 2018-10-18 11:51:17 -04:00
Joe Bryan
fbebdeb81c self-sign own comet deed in %jael scry 2018-10-17 22:54:03 -04:00
Joe Bryan
e3d91efc35 supports generating keys at an arbitrary life 2018-10-17 15:55:28 -04:00
Joe Bryan
f3ee59561f updates +moon to create keyfile with signature
user-specified moon, or generated from hashed entropy
2018-10-17 15:52:54 -04:00
Joe Bryan
124f54c8f5 adds comet miner, stars sponsor comets
and +crub:crypto fingerprints include both keypairs
2018-10-17 15:44:25 -04:00
Joe Bryan
835ce129a1 adds +deed scry to %jael, uses in %ames 2018-10-17 15:31:44 -04:00
Joe Bryan
ba5414cae3 use jael scrys for (almost) all +sein/+saxo calls in vanes 2018-10-17 15:23:33 -04:00
Joe Bryan
1e0408b445 updates sein:title to use %jael scry, adds ^sein:title 2018-10-17 15:22:07 -04:00
Joe Bryan
b24bd2fcbf removes womb and all its accoutrements 2018-10-17 14:54:28 -04:00
Joe Bryan
83661c095a clarifies comments, removes todos, minor refactoring 2018-10-17 14:51:23 -04:00
Joe Bryan
7a97a1c78a adds %jael scry (sein,saxo,life,earl) 2018-10-17 14:39:44 -04:00
Joe Bryan
8ea97d270c saves our public keys and deed sig in %jael on boot 2018-10-17 14:29:18 -04:00
Joe Bryan
5931d6a3b5 refactors %jael identity, moves structures to +state-relative 2018-10-17 14:18:22 -04:00
Isaac Visintainer
91432cf75f added sunk note to jael, implements %ames, stubs other vanes 2018-10-17 14:05:39 -04:00
Joe Bryan
becf9d1a04 %meet neighbors in %jael 2018-10-17 13:53:41 -04:00
Joe Bryan
f7c721fd25 enforces fake/not domain invariants in %jael 2018-10-17 12:44:00 -04:00
Joe Bryan
cf06e987bb updates %eyre to get domains from jael
so that galaxies automatically get ACME certificates
2018-10-17 12:43:49 -04:00
Joe Bryan
8f70f09950 reverts deferral of initial %clay merge
fixing race condition between stars and galaxies on first boot
2018-10-17 12:06:47 -04:00
Joe Bryan
d9fa9a75c4 refactors |dawn (pre-boot validation)
adds comments, fixes moons, simplifies product type
2018-10-16 23:47:39 -04:00
Joe Bryan
535ab6e90b updates %jael to save and %ames to give domains (on boot/startup)
also defers initial clay merge,
renames +turf (utf8 to utf32) to +taft,
and removes duplicate +turf (domain) declarations,
and updates pinned vere to use them
2018-10-16 21:02:41 -04:00