Commit Graph

322 Commits

Author SHA1 Message Date
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
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
a230b8e9fb removes %ames pki and old boot process 2018-10-05 21:01:07 -04:00
Joe Bryan
bd33954ed9 initial fake-key infrastructure in %jael
and updates vere hash for CI
2018-10-05 20:56:54 -04:00
Joe Bryan
71c57c14f2 removes %jael %init, adds tests for %dawn 2018-10-05 20:56:49 -04:00
Joe Bryan
ffaf83895c implements %dawn boot in %jael, removes %ames boot 2018-10-05 20:56:41 -04:00
Joe Bryan
19721d82e1 removes unused +kist/+kest from %jael types 2018-10-05 19:54:06 -04:00
Joe Bryan
536bf47095 adds pre-boot ethereum validation (|dawn) and tests 2018-10-05 19:54:06 -04:00
Joe Bryan
ea8c964ebd fixes spacing issues in secp ~/ hints 2018-10-03 21:39:27 -04:00
BernardoDeLaPlaz
6cf8506bc7 hint secp 2018-10-03 21:33:43 -04:00
Fang
f90fb7d16e Update Ethereum stdlib core for latest contracts
To match up to urbit/constitution/b5b8556.
2018-10-02 17:56:00 -07:00
Fang
9f6c73a82d Update some comments and TODOs 2018-10-02 17:20:11 -07:00
Fang
4b908d66f2 Fix issue with Ethereum byte padding logic 2018-10-02 17:20:11 -07:00
Curtis Yarvin
0990f7daaa Just a couple stubs 2018-09-06 19:01:44 -07:00
Fang
b7681cf73c Make ++ecdsa-raw-recover accept unmodified signature
Continuation of b2365dbd4
2018-09-04 18:08:23 +02:00
Fang
96e5dd4600 Add comments to clarify transaction signing logic 2018-09-04 17:41:30 +02:00
Fang
27e35e392d Minor corrections 2018-09-04 16:49:49 +02:00
Fang
cc98052347 Support sending raw transactions to RPC nodes 2018-09-04 16:42:27 +02:00
Fang
0f4069e6dc Implement Ethereum transaction signing
Includes RLP encoding logic.
2018-09-04 15:11:50 +02:00
Fang
b2365dbd4b Remove nonstandard 27 minimum value from ecdsa signature v
Ethereum uses 27/28 (superseded) or 35/36 for the v value. Other use
cases may want the recovery value directly. This makes it produce 0/1.
2018-09-04 14:59:35 +02:00
Fang
15ee6ba31d
Merge pull request #795 from urbit/jael-continuity
Constitution + jael updates
2018-08-30 02:44:05 +02:00
Fang
e752a706b2 Add %meet task to jael for indicating era connectivity 2018-08-30 02:05:34 +02:00
Fang
c5c4d0f65f Include continuity flag in relative public key state 2018-08-30 02:02:17 +02:00
Fang
2d04795fd9 Update constitution and jael logic to work with latest contracts 2018-08-30 01:58:47 +02:00
Fang
737b1d8ba1
Merge pull request #787 from urbit/crypto-additions
Includes in zuse:
* little-endian wrappers for the SHA and HMAC families,
* secp256k implementation,
* Blake2b implementation,
* Argon2 implementation,

And adds libraries for:
* BIP32 HD wallets,
* keygen, to match [keygen-js](/urbit/keygen-js).
2018-08-29 18:27:51 +02:00
Joe Bryan
f9ed9bf02f
Merge pull request #789 from urbit/ames-eth-boot
cleans up %ames and %jael in anticipation of greater ethereum integration
2018-08-28 15:16:54 -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
Fang
67be11499b
Merge branch 'release-candidate' into crypto-additions 2018-08-28 16:35:53 +02:00
Fang
6d01b1d0c4 Merge branch 'keygen' into crypto-additions 2018-08-28 12:29:47 +02:00
Joe Bryan
4d22f348e3 XX REMOVE sets contract address to match truffle/ganache testnet 2018-08-27 16:36:27 -07:00
Joe Bryan
f35202a9fa updates %jael to encode aut/net keys and use +pass everywhere 2018-08-27 16:36:16 -07:00
Joe Bryan
f67d48970f simplifies +acru interface, updates +crub and call-sites 2018-08-27 16:35:43 -07:00
Joe Bryan
4567fddb5f removes deprecated +crua, updates %eyre and lib/hood/write to use +crub 2018-08-27 16:35:37 -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
Joe Bryan
a6f3c2f5f9 removes obsolete doccords-style comments 2018-08-27 15:33:32 -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
Ted Blackman
df21c0363c Add /* ford rune 2018-08-22 17:53:56 -07:00
Ted Blackman
551ab7046c %ct request all filepaths with prefix 2018-08-22 12:57:43 -07:00
Ted Blackman
3f81f708cc Add FIFO build cache. Tests pass 2018-08-20 16:59:44 -07:00
Ted Blackman
6ba2cb46fd Merge remote-tracking branch 'cgy/ford-turbo-original' into ford-turbo 2018-08-20 10:32:44 -07:00
Curtis Yarvin
3c45fc55de Smoke-test boots with full ford-turbo merge. 2018-08-19 16:06:19 -07:00
Ted Blackman
dfcbd29697 killed several TODOs 2018-08-17 15:27:47 -07:00
Curtis Yarvin
0bceb27dbe Merge remote-tracking branch 'origin/ford-turbo' into ford-turbo-original 2018-08-17 15:26:51 -07:00
Curtis Yarvin
d062445ffb Merge commit '89a0a' into ford-turbo-original 2018-08-17 15:04:31 -07:00
Curtis Yarvin
55b90b2df3 Clean build. 2018-08-17 11:24:22 -07:00
Curtis Yarvin
8f45f30afa Almost back to working. 2018-08-16 14:39:39 -07:00
Curtis Yarvin
45cdcbdbbd Porting work in progress. 2018-08-15 18:37:13 -07:00
Curtis Yarvin
3de36adc6d Work in progress. 2018-08-15 18:05:30 -07:00
Curtis Yarvin
fa9c4636f9 Merge branch 'research-tome' into ford-turbo-original 2018-08-15 16:48:37 -07:00
Elliot Glaysher
a6a78cea65 %keep in ford. 2018-08-15 13:48:41 -07:00
Elliot Glaysher
100cda2678 %wipe percentage 2018-08-15 13:07:39 -07:00
Fang
8fc069eb79 Standardize Argon2u parameters 2018-08-15 01:08:16 +02:00
Fang
4de1a2a2db Make RIPEMD-160 actually accept proper ++byts
Previously, it was interpreting the wid as bit-length rather than
byte-length, which is inconsistent, confusing, and largely unnecessary.
2018-08-10 17:56:32 +02:00
Elliot Glaysher
81bd72ee21 WIP: Commiting so I can get the ~+ patch. 2018-08-08 14:47:01 -07:00
Fang
e715445c98 Add base58 functions to zuse 2018-08-06 21:23:19 +02:00
Elliot Glaysher
da9a27b2c4 Remove merge artifact that prevented boot. 2018-08-01 13:05:55 -07:00
Elliot Glaysher
4363163319 Merge remote-tracking branch 'origin/collections-redesign' into ford-turbo-eyre-sec
Note: This ignores changes to clay for expediency, these may need to
be hand merged later.
2018-07-31 10:11:10 -07:00
Isaac Visintainer
1349052f73 collections redesign 2018-07-30 20:17:16 -07:00
Elliot Glaysher
bf696a049d Merge branch 'ford-master-state-machine' into ford-turbo 2018-07-23 15:20:29 -07:00
Elliot Glaysher
2279fd8649 Add a live=? bit to %build. 2018-07-23 13:58:38 -07:00
Ted Blackman
2398a91344 Removed %pin, %same, and %dude from +build-result. Untested 2018-07-23 10:06:09 -07:00
Elliot Glaysher
9d8e295094 WIP: trying to move to master branch. 2018-07-19 16:49:11 -07:00
Fang
4a6e71832f Add RIPEMD-160 to zuse
Jet hinted but not yet implemented.
2018-07-20 01:41:27 +02:00
Fang
df63ff6208 Add argon2 and blake2b to zuse 2018-07-19 21:47:06 +02:00
Anthony Arroyo
dc103dcabd
Merge pull request #765 from urbit/https-acme
adds letsencrypt client :acme, integrates with :dns app and %eyre
2018-07-19 12:11:04 -07:00
Fang
050fa5d996 Fix incorrect usage of HMAC function in secp core. 2018-07-13 17:28:19 +02:00
Fang
1e6dc842a4 Add secp core with secp256k to zuse.
Not yet fully jet-hinted.
2018-07-13 15:22:34 +02:00
Fang
676b188d5f Add correct byte-order HMAC family to zuse. 2018-07-13 14:50:15 +02:00
Joe Bryan
7ea4b5bc0b adds authentication nonce to proxy notifications %wise and %that 2018-07-10 23:40:13 -04: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
Joe Bryan
d358548223 implements .well-known in %eyre 2018-06-28 13:41:48 -04:00
Joe Bryan
26f4182c18 adds config to %eyre state, %rule gift to update, %born includes host/ips 2018-06-28 13:41:43 -04:00
Isaac Visintainer
972ff2c82a first attempt, lets see how it goes... 2018-06-27 11:09:38 -07:00
Elliot Glaysher
693ab11c65 Add the %walk schematic 2018-06-22 15:20:52 -07: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
Joe Bryan
adc9da0b0c adds lane-change subscriptions (%tend/%rove) to ames 2018-06-20 17:33:32 -04:00
Joe Bryan
461e0e9d14 adds http configuration effect (%form) and port notification move (%live) 2018-06-20 14:01:35 -04:00
Joe Bryan
2a15e83fc3 adds http reverse proxy notification move (%wise) and effect (%that) 2018-06-20 14:01:35 -04:00
Fang
c6756467ed Update structures and events to match on-chain data. 2018-06-20 14:17:22 +02:00
Joe Bryan
9d72b8f92b Merge branch 'collections' into collections-merge
* collections: (127 commits)
  Revert "cross-ship permissions works now"
  deleted more unused files, updated json arm of collections mark
  removed unused index file (was used for debug)
  cross-ship permissions works now
  rendered MVE css and js 272af56804f822c23efa645aafcf1d5d8a8bfdff
  simplified latest alias
  new 'latest' page in colls
  deleted a swp file
  mve updates f83035d162dd60107b45798117cf924437070798
  isaac's eyre changes to polling parameters as requested by Logan
  rendered MVE f0a44584883e8789ec5bab9c80334ae0ee251e02
  source new circle to inbox in collections app
  relative href
  removed topic text from collection json
  patch back in realnet ames (was testnet ames in xship-wrap
  collections now sends invites to whitelist
  aded fascen to pass along fasbuc params
  add x-htm wrappers for &htm
  rename default eyre mark to x-urb, do xhsip on x- prefix requests
  updated json endpoints in accordance with logan's requests
  ...
2018-06-19 20:51:22 -04:00
Isaac Visintainer
43b3a84db5 included full group information in scry 2018-06-19 14:43:16 -07:00
Elliot Glaysher
165083b253 Boots with clay backed by ford-turbo. 2018-06-18 16:18:02 -07:00
Isaac Visintainer
4d11928db6 clay permissions issue #749 2018-06-18 16:10:11 -07:00
Curtis Yarvin
07e8e3029f Initial rind installation. 2018-06-15 10:37:57 -07:00
Elliot Glaysher
ddf0334b15 Switch Gall to use the Turbo vane.
This fixes Gall and userland apps so that they boot. It then disables
%hall and %talk, which will only boot with the +fond jet disabled.
(Otherwise, we get a bail from the jet.)
2018-06-13 13:12:32 -07:00
Elliot Glaysher
a37b587337 Add %list schematic
This replaces the %tabl silk from old ford.
2018-06-13 11:09:49 -07:00
Curtis Yarvin
2c2a680c57 Introduced +$ notation. 2018-06-01 14:31:10 -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
Ted Blackman
6fae175bba WIP trying to get dontjo working 2018-05-31 17:14:39 -07: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
Ted Blackman
873e073faf transfusion into kernel as %t vane 2018-05-30 16:25:28 -07:00
Fang
a50d8b7442 Misc TODOs. 2018-05-29 22:06:22 +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
Curtis Yarvin
2c6aeb1ac2 Enforce chapter titles. 2018-05-29 00:00:07 -07:00