Commit Graph

9041 Commits

Author SHA1 Message Date
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
Joe Bryan
4303426c61 [CI] updates pinned vere and pier, uses new CLI args
removes -I, uses -F only on boot
2018-10-16 20:54:26 -04:00
Anthony Arroyo
7da389b8a1
Merge pull request #859 from jglukasik/remove-localhost-forced-ssl
Remove forced ssl upgrade for localhost http requests
2018-10-16 14:13:18 -07:00
Joseph Lukasik
7dc2f074ef Remove ++cook from ++auri parsing
Now that the uri parsing is not being modified by the localhost forced ssl
upgrade, this cook is not needed.
2018-10-12 16:12:44 -07:00
Joseph Lukasik
cb4a7a54f5 Remove forced ssl upgrade for localhost http reqs 2018-10-12 15:18:47 -07:00
Joe Bryan
7b5291f166
Merge pull request #856 from urbit/nock-4k
nock 4K
2018-10-12 16:18:00 -04:00
David Kerschner
9eb5c44001
Merge pull request #829 from baudtack/release-candidate
refactor %ask generators
2018-10-12 12:48:58 -07:00
Anthony Arroyo
ab3238c914
Merge pull request #857 from urbit/static-site-rc2
static site generator
2018-10-11 13:51:01 -07:00
Isaac Visintainer
da53d8b058 moved to new branch with updated arvo 2018-10-11 13:19:30 -07:00
Joe Bryan
06fa0d14a9 11. demacrotizes %6, %7, %8, and %9 2018-10-10 23:23:41 -04:00
Joe Bryan
6e2e6b001f 10. updates %5 to require two subformulas (4K) 2018-10-10 23:04:29 -04:00
Joe Bryan
f16f052401 9. emits %10 (4K) 2018-10-10 20:10:56 -04:00
Joe Bryan
48d67779df 8. adds and implements edit (%10) (4K) 2018-10-10 19:33:11 -04:00
Joe Bryan
f48ce3509c 7. removes %13 and %14 (4K) 2018-10-10 19:27:38 -04:00
Joe Bryan
ad6c489528 6. emits %11 and %12 (4K) 2018-10-10 18:58:19 -04:00
Joe Bryan
4693f111ff 5. implements hint at %11 and wish at %12 (4K) 2018-10-10 18:38:53 -04:00
Joe Bryan
a2187e308c 4. removes %10 and %11 (4K) 2018-10-10 18:23:22 -04:00
Joe Bryan
0cbd5e54e9 3. emits %13 and %14 (4K) 2018-10-10 18:00:52 -04:00