Commit Graph

7912 Commits

Author SHA1 Message Date
Fang
19144c7610 Add HMAC-SHA1 2018-06-29 00:46:08 +02:00
Fang
a756d69b8f Put +=byts to use 2018-06-29 00:34:07 +02:00
Fang
9aba5593a6 Restructure and complete BIP32 core
It now contains features it was missing, and those have been verified
for correctness. Behaves more like an object now, with initialization
and state change arms, and easy ways to get data out.
2018-06-29 00:12:14 +02:00
Fang
7a02a6c796 Fix bug in RIPEMD-160 implementation. 2018-06-28 20:39:45 +02:00
Fang
125956413d BIP32 key derivation logic.
Messy, in dire need of restructuring.
2018-06-28 00:47:20 +02:00
Fang
d2770cd221 Fix bug in HMAC implementation. 2018-06-27 23:17:03 +02:00
Fang
2d7163876c SHA-1 re-implementation, can account for leading zeroes. 2018-06-27 20:21:16 +02:00
Fang
beae8cc01a Converting points on curve to un/compressed numbers. 2018-06-27 20:20:35 +02:00
Fang
3ac9b33697 RIPEMD-160 implementation. 2018-06-27 01:03:18 +02:00
Fang
f5f9c209d0 Start work on BIP32 support.
Library file includes wrappers for the SHA family to make it take and produce sane byte order data, and a new HMAC implementation that depends on it.
Also includes @belisarius222's secp256k1 implementation, plus experimental (and broken) support for other secp variants.
2018-06-22 20:33:53 +02:00
Fang
a9340d7d68 Add ++rev to bit arithmetic,
for reversing block order while accounting for leading zeroes.
2018-06-21 18:49:10 +02:00
Fang
c6756467ed Update structures and events to match on-chain data. 2018-06-20 14:17:22 +02:00
Fang
11d02ee307
Merge pull request #2 from eglaysher/research-constitution
Add +test-jael with one test that checks results of %init
2018-06-01 19:20:16 +02:00
Elliot Glaysher
521777cc72 Add +test-jael with one test that asserts the moves sent in response to %init. 2018-06-01 10:08:45 -07:00
Fang
2a30a653ad Rename block to logs. 2018-06-01 17:30:14 +02:00
Fang
6e2b907522 Make use of new Spawned event to ensure one diff per event.
This allows us to simplify logic and semantics.
2018-06-01 17:14:35 +02:00
Fang
00b34a1422 Small notes and cleanup. 2018-06-01 00:34:21 +02:00
Fang
3b660e92a8 Add %pubs for subscribing to public keys of a specific ship. 2018-06-01 00:31:45 +02:00
Fang
b79ebf066d Squash all DNS changes into a single diff, simplifying some logic. 2018-06-01 00:23:29 +02:00
Fang
574b5f6347 Initial inline docs for ++et.
Also minor cleanup.
2018-05-30 00:40:00 +02:00
Fang
d1091d6e9c When configuring a new source, refer to the old source for cleanup actions. 2018-05-30 00:36:13 +02:00
Fang
5a25e87dec Remove old jael structs from old-zuse. 2018-05-29 22:43:49 +02:00
Fang
a50d8b7442 Misc TODOs. 2018-05-29 22:06:22 +02:00
Fang
1b6f353d93 Misc cleanup. 2018-05-29 22:02:41 +02:00
Fang
9bcb065d96 Move last bit of subscription update logic out of ++et,
and make sure subscription results actually make it across.
2018-05-29 20:20:25 +02:00
Fang
4846fb1c8f Make sure wires are consistent wrt including our. 2018-05-29 13:50:02 +02:00
Fang
7ffecaf55f Actually call init. 2018-05-29 13:49:16 +02:00
Fang
f8981097bb Integrate Ethereum logic more closely into existing jael flows.
Compiles, untested.
2018-05-28 23:04:33 +02:00
Fang
05d7b3a86e Make Ethereum state source configurable via %look task. 2018-05-25 02:11:21 +02:00
Fang
8e4f7f23b4 Remove galaxy fingerprints, no longer used. 2018-05-24 19:06:38 +02:00
Fang
9bf6b941e2 Fully eradicate last traces of "secure channels". 2018-05-24 16:54:35 +02:00
Fang
934b006bf1 Use shax instead of mug when hashing sensitive data.
These should maybe just get completely zero'd out instead, if we don't have a use/reason for the hashes.
2018-05-23 23:24:37 +02:00
Fang
b668ba6745 Make jael2jael %hail more correct. 2018-05-23 15:53:41 +02:00
Fang
a8db420868 Strip out old jael PKI logic. 2018-05-23 01:35:16 +02:00
Fang
906ba528f5 "public key" instead of "atom". 2018-05-22 20:34:54 +02:00
Fang
72a680bfe0 Better change message structure.
No longer need to send separate messages for multiple non-simultaneous changes.
2018-05-22 19:32:22 +02:00
Fang
1c7c61c9bb Support continuity number from Ships contract. 2018-05-22 19:30:51 +02:00
Fang
d9e5856b66 Sort the changes we send out to ensure they are in chronological order. 2018-05-21 23:53:06 +02:00
Fang
21cbb2eaeb Make outgoing results actually work, by %pass-ing instead of %give-ing.
This is terrible and should be done properly at some point.
2018-05-21 23:10:27 +02:00
Fang
6d68a74630 Make outgoing messages actually work. 2018-05-18 21:12:46 +02:00
Fang
f58ccdeb39 Accept %vent updates. 2018-05-17 23:49:20 +02:00
Fang
de8b320750 Poll timer & actually init. 2018-05-17 23:10:05 +02:00
Fang
bba5c099d3 Complete Ethereum state subscription logic. 2018-05-17 22:53:32 +02:00
Fang
191c525b34 Handle %sigh responses. 2018-05-17 16:40:55 +02:00
Fang
2e9df6a46c Acceptable duct.
Otherwise responses from vanes get kick: lost.
2018-05-17 02:02:23 +02:00
Fang
af2852d08d Send a correct %hiss to eyre. 2018-05-16 22:14:46 +02:00
Fang
2845975ed9 Add in Ethereum logic.
Not hooked up yet, so untested.
2018-05-16 20:48:20 +02:00
Fang
a0d8a6a974 Include ethereum surs and libs in zuse,
lay foundation for integration into jael.
2018-05-15 23:16:29 +02:00
Fang
38aa493cd3 Make ++py proper again. 2018-05-14 22:17:21 +02:00
Fang
e362b4b1c8 Merge in userspace constitution work. 2018-05-14 19:59:34 +02:00