Commit Graph

8636 Commits

Author SHA1 Message Date
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
Anthony Arroyo
546352b5a2 MVE build a8ad67148a4f01e795ca29cedc073a4923bacb57 2018-07-03 16:07:19 -07:00
Anthony Arroyo
fa0f64a31b Landscape (MVE) version de04b2d7f05981ec378b926bbe21dd04248e8d5a 2018-07-03 08:53:52 -07:00
Fang
287d10619e Implement blake2b.
It's not generalized yet, so blake2s isn't supported.
2018-07-02 22:10:06 +02:00
Anthony Arroyo
758b66fe7e just disabled all of web/pages/nutalk due to fcgi issues 2018-07-02 12:18:00 -07:00
Anthony Arroyo
d1dad2d59e another page tthat breaks tests because of fcgi issues 2018-07-02 12:04:26 -07:00
Anthony Arroyo
24a6b3cbef small update to profile page to accomodate chat list 2018-07-02 11:28:01 -07:00
Anthony Arroyo
4a4574206e Merge branch 'collections' of github.com:urbit/arvo into collections 2018-07-02 11:26:29 -07:00
Anthony Arroyo
ba6c79d9c9 newest MVE c81381b190c537553e02857b03426941cf20d284 2018-07-02 11:26:05 -07:00
Anthony Arroyo
1dd61041eb
Merge pull request #756 from urbit/fix-zuse-crub-overflow
tail-call optimizes +ctra, +ctrb, and +ctrc in |aes
2018-07-02 11:22:49 -07:00
Joe Bryan
c84b0d9ca8 tail-call optimizes +ctra, +ctrb, and +ctrc in |aes 2018-06-30 23:22:15 -04:00
Anthony Arroyo
f4db38295d Merge branch 'collections-xship-params-wip' into collections 2018-06-29 07:53:38 -07: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
Joe Bryan
d8649441bf updates oauth libraries to use the real %eyre host scry 2018-06-29 00:02:34 -04:00
Joe Bryan
a20122a410 auto-starts :acme 2018-06-29 00:02:34 -04:00
Joe Bryan
6ec776f04a defers :acme initialization to first certificate order 2018-06-29 00:02:34 -04:00
Joe Bryan
5393b129f2 defers pending order creation to after registration 2018-06-28 23:46:24 -04:00
Joe Bryan
26b10e79b5 defer initial http request from +prep 2018-06-28 23:45:10 -04:00
Joe Bryan
c8c90bc587 integrates :acme with %eyre (receive new domains/orders, install certificates) 2018-06-28 23:45:04 -04: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
Anthony Arroyo
e8b7541f1c added cross-ship collections-json 2018-06-28 12:46:19 -07:00
Fang
7a02a6c796 Fix bug in RIPEMD-160 implementation. 2018-06-28 20:39:45 +02:00
Joe Bryan
76788656d7 refactors +nonce:effect and call sites
and fixes typo in +bad-nonce
2018-06-28 14:04:11 -04:00
Joe Bryan
d40151604b adds comment to and reformats +emsa:rs256 2018-06-28 14:04:11 -04:00
Joe Bryan
8a8b16e0bd adds csr context-specific tag explanation comment 2018-06-28 14:04:11 -04:00
Joe Bryan
d2a7111f58 adds pkcs8 private key en/de-coding 2018-06-28 14:04:11 -04:00
Joe Bryan
f46e226247 updates +der %bit en/de-coding to use +octs, tests for significant trailing zeros 2018-06-28 14:04:11 -04:00
Joe Bryan
56db9be687 refactors jwk public/private key en/de-coding 2018-06-28 14:04:11 -04:00
Joe Bryan
0b4ee7702e improves rsa key generation (somewhat) 2018-06-28 14:04:11 -04:00
Joe Bryan
e194b15b78 refactors +parse:der 2018-06-28 14:04:11 -04:00
Joe Bryan
fffff33dfc refactors +parse:base64 2018-06-28 14:04:11 -04:00
Joe Bryan
a9871af7fb always parse :len bytes in +de:der 2018-06-28 14:04:11 -04:00
Joe Bryan
67590f70c7 updates +de:base64 to output +octs 2018-06-28 14:04:11 -04:00
Joe Bryan
3238cf6ce6 updates +der encoding to produce +octs, base-64 encoding to accept octs 2018-06-28 14:04:11 -04:00
Joe Bryan
b5f352f3bc refactors +der %oct parser 2018-06-28 14:04:11 -04:00
Joe Bryan
84452a6e00 updates ASN.1 %oct to explicitly track byte-length 2018-06-28 14:04:11 -04:00
Joe Bryan
546053fb7c adds failing test case for invalid JWS 2018-06-28 14:04:11 -04:00
Joe Bryan
c2ccfed00f adds reproduction for invalid jws signature 2018-06-28 14:04:11 -04:00
Joe Bryan
90efc6daf0 adds mechanism to print account key 2018-06-28 14:04:11 -04:00
Joe Bryan
92d27238c1 archives active order in +add-order 2018-06-28 14:04:11 -04:00
Joe Bryan
dcf947712f support already-completed domain validation challenges 2018-06-28 14:04:11 -04:00
Joe Bryan
2acd46a701 refactors +sigh-httr 2018-06-28 14:04:11 -04:00
Joe Bryan
1fb2f0624f adds +certificate:event to +sigh-httr 2018-06-28 14:04:11 -04:00
Joe Bryan
3a1c072527 revises :acme state, rewrites API client 2018-06-28 14:04:11 -04:00