Commit Graph

172 Commits

Author SHA1 Message Date
Fang
90379789a0 Update keygen in accordance with latest spec
For details on these changes, see urbit/fora-posts#9.
2018-11-23 22:52:49 +01:00
Elliot Glaysher
2a1b801bad Channel cancelation works now. 2018-11-21 13:37:26 -08:00
Elliot Glaysher
ed3d7c2a0d Cancel timers on the correct duct. 2018-11-21 10:34:22 -08:00
Elliot Glaysher
1a443599ae First transimsission of text/event-stream from Eyre. 2018-11-20 17:06:04 -08:00
Elliot Glaysher
439e623550 Receive callback timers from behn which cancel open subscriptions. 2018-11-19 14:59:58 -08:00
Elliot Glaysher
62bb64789c Send the right moves in response to a PUT request. 2018-11-16 14:30:23 -08:00
Elliot Glaysher
bc1c868e1b Get things compiling, and refactor auth in tests. 2018-11-15 15:27:49 -08:00
Elliot Glaysher
7f64ac3b1f Parse incoming requests and add tests. 2018-11-15 13:43:10 -08:00
Fang
35fe55c701
Merge branch 'release-candidate' into keygen-changes 2018-11-14 16:20:04 -08:00
Joe Bryan
2a7ce28f99 renames list-addressing regression test cases 2018-11-14 14:27:02 -05:00
Joe Bryan
ccb3c13b6a removes warning printf from formerly-bailing test case 2018-11-14 14:19:23 -05:00
Anton Dyudin
633d11c0d9 adds test for list addressing bug
&33:~ bails
2018-11-14 13:02:05 -05:00
Fang
7b1148833a Update keygen tests 2018-11-13 14:59:45 -08:00
Elliot Glaysher
d364463e22 Merge remote-tracking branch 'origin/release-candidate' into lighter-than-eyre 2018-11-13 13:18:30 -08:00
Fang
113f82b6f0
Merge pull request #824 from urbit/vat-q
Add @q, phonetic data representation
2018-11-13 11:07:25 -08:00
Fang
b4167ffef0 Update keygen tests 2018-11-12 18:12:34 -08:00
Elliot Glaysher
9bb899308d Merge remote-tracking branch 'origin/release-candidate' into lighter-than-eyre 2018-11-09 11:00:00 -08:00
Joe Bryan
044e7985e7 fixes :acme app tests 2018-11-07 12:45:00 -05:00
Joe Bryan
24b3d0da08
Merge pull request #873 from urbit/lofi-dns
simplify :dns app
2018-11-07 12:30:20 -05:00
Fang
6298a94729 Add super basic tests for argon2 2018-11-06 16:49:30 -08:00
Fang
f4d3ff9665 Add tests for blake2b 2018-11-06 16:17:22 -08:00
Joe Bryan
2db865e801 adds trivial :dns test 2018-11-06 19:13:11 -05:00
Joe Bryan
cb56ee3a9b tracks message length in rs256 signatures 2018-11-06 18:12:05 -05:00
Joe Bryan
3958b5205a adds trivial :acme unit tests 2018-11-06 17:29:05 -05:00
Fang
28c153bfd0 Add tests for ripemd-160 2018-11-06 14:14:55 -08:00
Fang
37e2a186da Merge branch 'release-candidate' into keygen-changes 2018-11-06 10:37:37 -08:00
Fang
bba117de54 Add tests for keygen 2018-11-05 17:59:43 -08:00
Philip Monk
0db24cf208
clean and add tests 2018-10-31 15:18:40 -07:00
Philip Monk
aaed5b992a
fix dawn tests 2018-10-30 17:05:33 -07:00
Elliot Glaysher
9bd9b06789 I broke this last week, but didn't notice until now. 2018-10-30 10:58:51 -07:00
Joe Bryan
3e09b9b6c5 includes block number and ethereum gateway url in boot event 2018-10-29 15:38:14 -04:00
Joe Bryan
ff0564338c finishes incomplete +test-take-bloq from previous 2018-10-29 15:36:53 -04:00
Joe Bryan
087b6c92b0 pins pre-boot validation eth rpc requests to a single block 2018-10-29 14:02:36 -04:00
Joe Bryan
7269c09771 adds life-mismatch checks to pre-boot validation 2018-10-25 17:39:34 -04: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
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
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
Elliot Glaysher
5403983365 Merge remote-tracking branch 'origin/release-candidate' into lighter-than-eyre 2018-10-23 11:23:09 -07: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
Elliot Glaysher
9e4bf58b72 Fix tests. 2018-10-10 15:56:18 -07:00
Elliot Glaysher
31613fcca0 First generator build ran. 2018-10-10 15:26:51 -07:00
Elliot Glaysher
e0100a32be Now with a test on the whole dummy-generator path. 2018-10-10 11:51:52 -07:00
Joe Bryan
d5368c22fe simplify %pubs and %vein wires so the ducts can be deduped 2018-10-05 23:25:38 -04:00
Joe Bryan
bb4bc95e97 adds basic %init test for %ames 2018-10-05 20:58:19 -04:00
Joe Bryan
71c57c14f2 removes %jael %init, adds tests for %dawn 2018-10-05 20:56:49 -04:00
Joe Bryan
536bf47095 adds pre-boot ethereum validation (|dawn) and tests 2018-10-05 19:54:06 -04:00
Ted Blackman
b349890fb8 use the clay mime cache for sync; also sort some of clay's ford builds for more determinism 2018-10-04 11:37:42 -07:00
Elliot Glaysher
581888fe46 Fix url parser and add tests. 2018-10-03 14:05:36 -07:00
Elliot Glaysher
7ee9361470 Fix up the tess to agree with reality. 2018-10-03 13:27:20 -07:00
Elliot Glaysher
3048166697 Lower case http header names; it is allowed. 2018-10-01 11:37:30 -07:00
Elliot Glaysher
788b9554a5 Delivers %inbound-requests internally now, but kick: lost the http-response. 2018-10-01 11:24:16 -07:00
Fang
020a8fd96a Add @q, phonetic data representation
It's @p, except never scrambles, and doesn't use -- in large values.
2018-09-27 19:56:36 -07:00
Elliot Glaysher
878de4ebcb check authentication state and pass it to the app 2018-09-27 11:16:59 -07:00
Elliot Glaysher
1a9a85bd45 More complete login flow 2018-09-26 16:18:40 -07:00
Elliot Glaysher
5d5050ad53 Multipart test. 2018-09-24 14:16:15 -07:00
Elliot Glaysher
4d7ed2c834 Send responses. 2018-09-24 11:48:19 -07:00
Elliot Glaysher
e172e601f2 Messages from %l to %g 2018-09-20 16:36:04 -07:00
Elliot Glaysher
36841a5280 Data types, basic tests, and a router. 2018-09-19 16:29:36 -07:00
Elliot Glaysher
db34424de2 Fix +grad case in +make-join, add assertions. 2018-09-13 14:51:12 -07:00
Fang
b4631e9438
Merge pull request #803 from urbit/ethereum-signing
Ethereum transaction signing
2018-09-06 11:17:52 +02:00
Ted Blackman
0ac5038b7b
Enqueue second Clay write during an Arvo event (#807)
* clay queue passes test

* docs on :cue and :tip in clay

* minor typo
2018-09-05 16:05:23 -07:00
Ted Blackman
2c7cbe5382 refactored +expect-schematic and completed first clay test 2018-09-04 16:37:01 -07:00
Fang
9cb8828d44 Add tests for Ethereum transaction signing
Simple almost-real-world transactions as generated by web3.js.
2018-09-05 01:23:34 +02:00
Fang
24886d327f Add tests for RLP encoding 2018-09-05 00:52:25 +02:00
Ted Blackman
c0c00de7e9 Fix %reef handling more. Now uses the right part of the arvo core 2018-09-02 03:48:40 -07:00
Ted Blackman
60fcfc467e fix ford %reef dependency tracking 2018-08-30 16:06:27 -07:00
Elliot Glaysher
ac089cef80 Merge remote-tracking branch 'origin/release-candidate' into remove-eny-from-tests 2018-08-29 15:45:10 -07:00
Ted Blackman
8684f58257 minor cleanup 2018-08-29 15:09:51 -07:00
Elliot Glaysher
03ed4dbee5 Rebuild the test support library so its easier and doesn't use entropy. 2018-08-29 14:57:22 -07:00
Ted Blackman
3b4ca6c8a9 +expect-schematic in ford test lib 2018-08-29 14:56:54 -07:00
Elliot Glaysher
73ad9a20a5 11: Move ethereum tests to %tests/sys/zuse 2018-08-29 11:11:41 -07:00
Elliot Glaysher
fbfabe50d3 10: Mass rename +expect-nu-eq to +expect-eq 2018-08-29 11:09:37 -07:00
Elliot Glaysher
4581cfab51 9: Move clay test to expect-nu-eq 2018-08-29 11:03:26 -07:00
Elliot Glaysher
06b491ed5e 8: Move acme libraries to expect-nu-eq 2018-08-29 10:58:49 -07:00
Elliot Glaysher
66c74bcd74 Merge remote-tracking branch 'origin/acme-factor' into expect-nu-eq 2018-08-29 10:25:30 -07:00
Joe Bryan
44c16cf75f 5. moves :acme JWK, JWS and tests out of app 2018-08-29 09:17:58 -07:00
Joe Bryan
407584cda7 4. moves :acme RS256, PKCS1/8/10, PEM and tests out of app 2018-08-29 09:17:25 -07:00
Joe Bryan
7e982c0f2c 3. moves :acme RSA and tests out of app 2018-08-29 09:17:19 -07:00
Joe Bryan
b81dedf626 2. moves :acme ASN1, DER and tests out of app 2018-08-29 09:16:44 -07:00
Joe Bryan
bf6739574a 1. moves :acme base64 and tests out of app 2018-08-29 09:16:36 -07:00
Elliot Glaysher
80872b3088 6: Remove expect-eq from ethereum tests. 2018-08-28 16:37:23 -07:00
Elliot Glaysher
f78323b5b4 5: Remove expect-eq from jael tests. 2018-08-28 16:35:28 -07:00
Elliot Glaysher
074e0e0138 4: Move jael tests out of generator and into test framework. 2018-08-28 16:30:26 -07:00
Elliot Glaysher
40b5dbc15f 3: Completely remove expect-eq from %/tests/sys/zuse. 2018-08-28 16:16:37 -07:00
Elliot Glaysher
753f2f6a5a 2: Completely remove expect-eq from ford tests. 2018-08-28 15:56:01 -07:00
Ted Blackman
7163c60649 remove superfluous casts 2018-08-28 15:11:24 -07:00
Ted Blackman
adec3a0f96 a clay test passes 2018-08-28 15:02:53 -07:00
Elliot Glaysher
e88787dee0 1: Add +expect-nu-eq and use it where we were manually nest checking. 2018-08-28 14:22:06 -07:00
Joe Bryan
4f569a1a79
Merge pull request #784 from urbit/fix-travis-build-vere
updates CI build to compile vere at a specified commit
2018-08-28 11:56:25 -07:00
Joe Bryan
47855b6972 disables failures, re-enables successes, or fixes failing tests 2018-08-28 11:44:33 -07:00
Elliot Glaysher
e3e5ae6d30
Merge pull request #783 from urbit/ford-turbo-clock
Improvements to +clock / +capped-queue
2018-08-28 10:11:03 -07:00
Joe Bryan
50782bd1c9 Merge branch 'research-constitution' into release-candidate
* research-constitution: (120 commits)
  removes obsolete doccords-style comments
  Revert "fixy uno~by, other vor-based code duplication"
  Implement argon2.
  Use face over lark when available.
  Implement blake2b.
  Use ++rep over ++can when we can
  Use ++rev over ++swp, for safety.
  Clean up base58 en/decoding
  Rename secp point serialization arms
  Add HMAC-SHA1
  Put +=byts to use
  Restructure and complete BIP32 core
  Fix bug in RIPEMD-160 implementation.
  BIP32 key derivation logic. Messy, in dire need of restructuring.
  Fix bug in HMAC implementation.
  SHA-1 re-implementation, can account for leading zeroes.
  Converting points on curve to un/compressed numbers.
  RIPEMD-160 implementation.
  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.
  Add ++rev to bit arithmetic, for reversing block order while accounting for leading zeroes.
  ...
2018-08-27 15:48:13 -07:00
Elliot Glaysher
e1ee2b211e +capped-queue is also general. Move to zuse and add tests. 2018-08-27 15:25:33 -07:00
Elliot Glaysher
7f623772ac The +clock structure is general, put it in zuse and add tess. 2018-08-27 14:51:42 -07:00
Elliot Glaysher
ac3dd392d0 Move keccak tests so directory structure follow %/sys. 2018-08-27 14:25:46 -07:00
Elliot Glaysher
1906f9e654 Make %/tests mirror the rest of the filesystem. 2018-08-24 15:14:11 -07:00
Elliot Glaysher
68fd34d142 Test that passes when we wish it had revealed a failure. 2018-08-24 15:13:16 -07:00
Elliot Glaysher
6b0bb3ddef Fix test output. 2018-08-24 10:46:31 -07:00
Ted Blackman
174ab25b14 remove lib/new-hoon and all uses 2018-08-23 15:03:55 -07:00