Commit Graph

1214 Commits

Author SHA1 Message Date
Isaac Visintainer
91bb34b943 hall custom permission rules 2018-09-04 16:23:24 -07:00
Fang
abd6329725 Remove outdated lib and sur files
They have been living in zuse for a while.
2018-09-04 00:25:08 +02:00
Isaac Visintainer
68a8f8d3fe renamed nutalk to landscape again 2018-08-30 10:59:11 -07:00
Elliot Glaysher
e049d6080b Run tests in alphabetical order. 2018-08-30 10:35:20 -07:00
Elliot Glaysher
bf3d61288e Further merge fixes. 2018-08-29 15:54:54 -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
d88aa0c79e document +expect-schematic 2018-08-29 15:00:40 -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
51e46d2e03
Merge pull request #791 from urbit/expect-nu-eq
Redo +expect-eq and consolidate tests
2018-08-29 13:34:42 -07:00
Elliot Glaysher
fbfabe50d3 10: Mass rename +expect-nu-eq to +expect-eq 2018-08-29 11:09:37 -07:00
Elliot Glaysher
66c74bcd74 Merge remote-tracking branch 'origin/acme-factor' into expect-nu-eq 2018-08-29 10:25:30 -07: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
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
Fang
a64066db24
Correct reference to keygen surs 2018-08-29 00:58:22 +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
e88787dee0 1: Add +expect-nu-eq and use it where we were manually nest checking. 2018-08-28 14:22:06 -07:00
Fang
f1b713dc68
Rename soq to say in BIP32 lib 2018-08-28 21:36:19 +02:00
Joe Bryan
47855b6972 disables failures, re-enables successes, or fixes failing tests 2018-08-28 11:44:33 -07:00
Fang
67be11499b
Merge branch 'release-candidate' into crypto-additions 2018-08-28 16:35:53 +02: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
4567fddb5f removes deprecated +crua, updates %eyre and lib/hood/write to use +crub 2018-08-27 16:35:37 -07:00
Joe Bryan
66bc5cdc4c finishes symbol renaming (fas->net) in mar/ and lib/ 2018-08-27 16:23:52 -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
0286254b69 Merge branch 'ford-turbo' of github.com:urbit/arvo into ford-turbo 2018-08-23 15:15:50 -07:00
Ted Blackman
174ab25b14 remove lib/new-hoon and all uses 2018-08-23 15:03:55 -07:00
Elliot Glaysher
fb75c55286 Merge remote-tracking branch 'origin/collections' into ford-turbo 2018-08-23 10:41:29 -07:00
Ted Blackman
6105894e6e kill spam print 2018-08-22 22:35:38 -07:00
Ted Blackman
3a175e8802 print if an arm fails to compile to a test 2018-08-22 21:28:00 -07:00
Ted Blackman
84cc46e609 +test passes using %ct and presenting compile errors 2018-08-22 20:53:49 -07:00
Elliot Glaysher
b166a55792 Get the collections page displaying. Requires a second reload. 2018-08-21 14:13:58 -07:00
Ted Blackman
5f485716e1 Fixed |keep-ford and |wipe-ford 2018-08-20 17:30:56 -07:00
Isaac Visintainer
b4cbe1d45d collections-api-changes 2018-08-20 14:16:57 -07:00
Elliot Glaysher
ba0de921ab Merge remote-tracking branch 'origin/collections' into ford-turbo 2018-08-20 13:14:13 -07:00
Elliot Glaysher
222c5c82c0 Make %hall and %talk started on boot. 2018-08-20 11:40:48 -07:00
Curtis Yarvin
3c45fc55de Smoke-test boots with full ford-turbo merge. 2018-08-19 16:06:19 -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
a6b8407bc4 Building, without (strangely) command:lens 2018-08-15 17:23:37 -07:00
Curtis Yarvin
fa9c4636f9 Merge branch 'research-tome' into ford-turbo-original 2018-08-15 16:48:37 -07:00
Logan Allen
b387f70fdc Isaac and I merged hall read/unread with latest collections. 2018-08-15 16:40:29 -07:00
Ted Blackman
ddef8079a3 |keep and associated machinery 2018-08-15 13:58:54 -07:00
Fang
8fc069eb79 Standardize Argon2u parameters 2018-08-15 01:08:16 +02:00
Fang
3fc265a424 Rename entropy to ticket 2018-08-14 01:36:21 +02:00
Fang
aec81b4d50 Flatten spawn seeds to be derived from the owner seed 2018-08-14 01:36:03 +02:00
Fang
ecb911a53a Support revisions per key type, broaden interface 2018-08-13 21:33:27 +02:00
Fang
3d984ff87f Update keygen to match latest spec and have slightly better code style 2018-08-10 20:36:26 +02:00
Elliot Glaysher
dded51f0cd Start %collections on startup, too. 2018-08-09 16:06:14 -07:00
Elliot Glaysher
ab63875449 Merge branch 'collections-redesign' into ford-turbo-eyre-sec
The %collections app now starts.
2018-08-09 15:50:25 -07:00
Joe Bryan
b0ecbcd2ab Merge branch 'master' into collections
* master: (27 commits)
  Transfer ~tep to Rivendell and ~bes to NSPV.
  moar changes
  stylistic changes
  included full group information in scry
  clay permissions issue #749
  fixed outside urls
  fixed clay mut problem
  let us not include .html extensions in our urls if we don't want to
  Bump Ames :protocol-version from 1 to 2
  made hymn renderer unneccesary
  variety of bug-fixes
  first pass, basic functionality working
  Transition ~marzod's Ask duties to a dedicated ship
  Bump Ames :protocol-version from 0 to 1
  fixes +spin to preserve the type of the head of the product
  simplified the code
  now covers posts with spaces and no text
  Revert "Revert "Change %w care to return both @ud and @da cases""
  Revert "Change %w care to return both @ud and @da cases"
  Posts and Comments with no text ignored
  ...
2018-08-09 18:13:52 -04:00
Elliot Glaysher
11cb648399 Trying to get collections working 2018-08-09 14:59:33 -07:00
Elliot Glaysher
89a0a91c57 Boots without old ford. 2018-08-09 11:22:37 -07:00
Elliot Glaysher
8d224e1279 Next fix. 2018-08-08 15:14:26 -07:00
Elliot Glaysher
81bd72ee21 WIP: Commiting so I can get the ~+ patch. 2018-08-08 14:47:01 -07:00
Fang
6e33eea217 Use ++pit:nu:crub:crypto for network keypair generation 2018-08-08 01:01:04 +02:00
Fang
efe3b9a653 Add beginnings of keygen-hoon 2018-08-07 00:55:15 +02:00
Fang
45a5ee60a2 Implement BIP32 library 2018-08-06 21:23:30 +02:00
Isaac Visintainer
3e4b701d79 backend changes for comment integration 2018-08-01 16:08:01 -07:00
Isaac Visintainer
f273157e9d fixed missed renamings and added files to collections dir for ford testing 2018-08-01 11:32:34 -07:00
Elliot Glaysher
2b96d5e311 Merge remote-tracking branch 'origin/collections-redesign' into ford-turbo-eyre-sec 2018-07-31 16:26:45 -07:00
Isaac Visintainer
90289cfa1d some bugfixes and readded x-ship renderers 2018-07-31 13:56:38 -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
ef18c51f5e collections redesign 2018-07-30 21:00:49 -07:00
Fang
8580e7b247 Add support for targeting the last x messages in a query range.
/circle/inbox/grams/-5/-0 gets the last 5 messages from the inbox, nothing more.
Closes #643.
2018-07-23 15:30:07 -07:00
Fang
676b188d5f Add correct byte-order HMAC family to zuse. 2018-07-13 14:50:15 +02: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
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
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
Elliot Glaysher
87cbea377d Remove indirect hoons and fix up callsites using // 2018-06-26 13:52:56 -07: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
Joe Bryan
cd4330a024 auto-starts :dns, adds generator to configure authority 2018-06-20 19:24:13 -04: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
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
Anthony Arroyo
3b982bdf8b new 'latest' page in colls 2018-06-04 10:57:31 -07:00
Elliot Glaysher
bc17312fa3 Merge branch 'master' into ford-turbo 2018-06-04 09:59:44 -07:00
Anthony Arroyo
db2d0ac428 mve updates f83035d162dd60107b45798117cf924437070798 2018-06-01 17:46:51 -07:00
Curtis Yarvin
2c2a680c57 Introduced +$ notation. 2018-06-01 14:31:10 -07:00
Ted Blackman
6fae175bba WIP trying to get dontjo working 2018-05-31 17:14:39 -07:00
Ted Blackman
0b3713ce07 basic transfusion succeeded 2018-05-31 11:25:06 -07:00
Ted Blackman
873e073faf transfusion into kernel as %t vane 2018-05-30 16:25:28 -07:00
Ted Blackman
48cfdae72c fix Ford call signature and tests 2018-05-30 13:50:14 -07:00
Ted Blackman
f2f250a8ff %mash schematic 2018-05-29 14:31:23 -07:00
Ted Blackman
3f31b36014 fix error handling in +make-join 2018-05-29 14:30:37 -07:00
Fang
5a25e87dec Remove old jael structs from old-zuse. 2018-05-29 22:43:49 +02:00
Ted Blackman
bbc38adddc %join schematic 2018-05-29 12:06:27 -07:00
Ted Blackman
03be29f160 %pact cleanup and docs 2018-05-29 09:48:43 -07:00
Curtis Yarvin
ddb0fc22f4 Chapter names for everyone. 2018-05-28 23:42:16 -07:00
Ted Blackman
9bfece90c9 %pact schematic and first of two needed tests 2018-05-28 23:10:47 -07:00
Ted Blackman
0ea2e51046 minor cleanup 2018-05-28 23:08:34 -07:00
Curtis Yarvin
a29b22357d Some renaming and stuff. 2018-05-27 12:15:15 -07:00
Ted Blackman
afb1532241 %diff schematic 2018-05-27 09:35:02 -07:00
Keaton Dunsford
a113515fba Transition ~marzod's Ask duties to a dedicated ship
This commit allows Ask app responsibility/load to get taken off of
~marzod and assigned to a dedicated Ask ship: currently, ~socden-malzod,
a child of Tlon's ops star, ~dopzod.
2018-05-25 15:18:17 -07:00
Curtis Yarvin
a26105370b Old help totally cleaned out. 2018-05-24 15:39:56 -07:00
Ted Blackman
c609f4d210 Fix %bake for marks 2018-05-24 15:31:29 -07:00
Elliot Glaysher
42e3c9312f Execute /mark/ in scaffolds 2018-05-24 10:25:54 -07:00
Elliot Glaysher
4791657f49 Pass a cage around as the crane subject to preserve marks 2018-05-23 16:20:44 -07:00
Elliot Glaysher
1e111d9fad Execute /& in scaffolds 2018-05-23 15:56:50 -07:00
Elliot Glaysher
5764293dae Arguments should always propagate so remove /% 2018-05-23 15:56:50 -07:00
Ted Blackman
fefa1aafd8 %bake schematic 2018-05-23 15:23:11 -07:00
Elliot Glaysher
a80123dac6 Execute /!mark/ in scaffolds 2018-05-23 14:20:49 -07:00
Ted Blackman
0e1a2686eb %cast schematic 2018-05-23 00:26:56 -07:00
Ted Blackman
b94aeb1652 %mute schematic 2018-05-23 00:05:05 -07:00
Elliot Glaysher
e965213049 Execute /_ in scaffolds; fixes %hoon suffixes 2018-05-22 16:33:18 -07:00
Elliot Glaysher
d8bb5906b4 Execute /$ in scaffolds 2018-05-21 15:48:45 -07:00
Ted Blackman
4cbb057600 %vale schematic 2018-05-21 14:54:58 -07:00
Ted Blackman
566422f7db %volt schematic 2018-05-21 13:38:14 -07:00
Elliot Glaysher
f9a4c8791b Execute /, in scaffolds 2018-05-21 13:34:56 -07:00
Elliot Glaysher
c0b4146803 Execute /: in scaffolds 2018-05-21 12:56:10 -07:00
Elliot Glaysher
5bb0cc50d9 Unflop hoons 2018-05-21 11:04:02 -07:00
Elliot Glaysher
1647f60213 Put the source disc in +scaffold 2018-05-21 10:58:59 -07:00
Curtis Yarvin
f060b46e44 Modify for all-wet core. 2018-05-20 14:33:06 -07:00
Curtis Yarvin
d15578859b Badly done. 2018-05-20 13:23:01 -07:00
Elliot Glaysher
30ecfc50b7 Merge branch 'ford-turbo' of github.com:urbit/arvo into ford-turbo 2018-05-18 16:25:11 -07:00
Elliot Glaysher
dd02b0c05d Execute /! in scaffolds 2018-05-18 16:21:45 -07:00
Ted Blackman
af21824b4f %bunt schematic 2018-05-18 13:59:00 -07:00
Elliot Glaysher
ef87e14f33 Execute /| in scaffolds 2018-05-18 13:19:35 -07:00
Elliot Glaysher
6f8ea7918e Execute /; in scaffolds 2018-05-17 16:35:27 -07:00
Elliot Glaysher
2df0b8b863 Execute /. and /^ in scaffolds 2018-05-17 14:49:44 -07:00
Elliot Glaysher
e6ff085fce Cleanup pass on the crane runner 2018-05-17 11:35:19 -07:00
Elliot Glaysher
d5444d44c5 Execute /= and /~ in scaffolds 2018-05-17 11:18:48 -07:00
Ted Blackman
6a720339cf linking works 2018-05-16 14:29:25 -07:00
Elliot Glaysher
e20bf4c4c2 Add syntax. 2018-05-16 10:40:04 -07:00
Elliot Glaysher
b129488c4d Clean up error handling in +make 2018-05-15 16:02:01 -07:00
Ted Blackman
faca1ab348 use make-<schematic-name> as arm names 2018-05-15 15:02:17 -07:00
Ted Blackman
ca9acf23ba sort +build-receipt's in +reduce 2018-05-15 14:44:48 -07:00
Anthony Arroyo
8c8ab699b8 merging in xship-wrap 2018-05-15 12:26:15 -07:00
Elliot Glaysher
8a521f4e80 Make the +hood parser use +parse-scaffold. Also, error checking. 2018-05-15 10:42:45 -07:00
Elliot Glaysher
fdcfebb73d Implements all cranes. 2018-05-14 17:07:19 -07:00
Ted Blackman
a4dfda9897 %reef with +disc and short-circuit 2018-05-14 16:19:56 -07:00
Elliot Glaysher
45f2c01a4b Implement parsing of the first five cranes. 2018-05-14 11:32:03 -07:00