Joe Bryan
a6f3c2f5f9
removes obsolete doccords-style comments
2018-08-27 15:33:32 -07:00
Joe Bryan
aa3f43c00d
Revert "fixy uno~by, other vor-based code duplication"
...
This reverts commit d5d8715b3c
.
2018-08-27 14:56:45 -07:00
Fang
d53e33a3e0
Implement argon2.
...
Fully configurable as per the spec. Includes a new type, in addition to
i, d, and id: u. Similar to id in that it is a hybrid solution, but
slightly tweaked to be unique to Urbit's implementation.
Initially implemented as a direct port from the pure Python
implementation, then lightly rewritten to be more Hoon-ish.
https://pypi.org/project/argon2pure/
2018-07-05 22:44:37 +02:00
Fang
fb08ab8fd1
Use face over lark when available.
2018-07-05 22:40:03 +02:00
Fang
287d10619e
Implement blake2b.
...
It's not generalized yet, so blake2s isn't supported.
2018-07-02 22:10:06 +02:00
Fang
7c34009e8e
Use ++rep over ++can when we can
2018-06-29 13:10:38 +02:00
Fang
23b177a3d2
Use ++rev over ++swp, for safety.
2018-06-29 13:08:58 +02:00
Fang
004ac54d28
Clean up base58 en/decoding
2018-06-29 01:11:55 +02:00
Fang
4352293d44
Rename secp point serialization arms
2018-06-29 00:52:42 +02:00
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