Commit Graph

1173 Commits

Author SHA1 Message Date
Joe Bryan
709d9708f4 fixes userspace :test compilation failures 2018-10-05 19:33:26 -04:00
Isaac Visintainer
7e07a4d8e8 cleaned up comments and lines over 80 2018-09-06 17:31:06 -07:00
Isaac Visintainer
6bf78803e7 fixes collections multi clay write bug 2018-09-06 16:39:02 -07:00
Fang
b4631e9438
Merge pull request #803 from urbit/ethereum-signing
Ethereum transaction signing
2018-09-06 11:17:52 +02:00
Elliot Glaysher
fd7b1f684b Fix +filter-gram in hall. 2018-09-05 16:42:59 -07:00
Elliot Glaysher
2642efc8af Merge remote-tracking branch 'origin/collections' into release-candidate 2018-09-05 16:33:34 -07:00
Isaac Visintainer
aeadbe894a added poke arm for onboarding bit 2018-09-04 18:01:17 -07:00
Isaac Visintainer
91bb34b943 hall custom permission rules 2018-09-04 16:23:24 -07:00
Elliot Glaysher
669c79ceeb Make dojo not produce incorrect beams when they start with '/'. 2018-09-04 15:57:29 -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
376fcb7c54 circle creation bugfix 2018-08-30 14:13:40 -07:00
Isaac Visintainer
40972614fc removed redundant notifications on deletions 2018-08-30 10:53:01 -07:00
Elliot Glaysher
1a32f5e5ca Remove further references to tester 2018-08-29 15:07:21 -07:00
Elliot Glaysher
1f835ebf06 12: Remove outdated todo. 2018-08-29 13:21:36 -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
Isaac Visintainer
a151fb09a3 removed redundant notifications, started space-rating 2018-08-28 15:13:26 -07:00
Joe Bryan
47855b6972 disables failures, re-enables successes, or fixes failing tests 2018-08-28 11:44:33 -07:00
Joe Bryan
ebcda3e617 adjusts schematic for renderer tests, disables failing renderers 2018-08-28 10:01:58 -07:00
Joe Bryan
003e79a0fa fixes :test %core runner, (temporarily) disables renderer testing 2018-08-27 23:53:53 -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
fb75c55286 Merge remote-tracking branch 'origin/collections' into ford-turbo 2018-08-23 10:41:29 -07:00
Isaac Visintainer
63f68fa5fd fixed collections to use fudged date in date-created and last-modified fields 2018-08-22 10:33:38 -07:00
Isaac Visintainer
cbfd2b9aea Merge branch 'collections-api-changes' into collections 2018-08-21 16:28:03 -07:00
Logan Allen
e7dc9895f2 Hall newdm action: ship names are sorted by alphabetical order. 2018-08-21 16:16:30 -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
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
Isaac Visintainer
d525dcdedd removed sigpams 2018-08-17 10:52:03 -07:00
Logan Allen
f6dbdddfd2 Added single Hall action for creating, permitting, and sourcing DM station. Thanks Isaac 2018-08-16 17:22:57 -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
Isaac Visintainer
aaea4c9695 permissions backend to be more permissible 2018-08-14 17:24:45 -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
89a0a91c57 Boots without old ford. 2018-08-09 11:22:37 -07:00
Elliot Glaysher
81bd72ee21 WIP: Commiting so I can get the ~+ patch. 2018-08-08 14:47:01 -07:00
Isaac Visintainer
50f74799c3 various bugfixes 2018-08-02 18:04:52 -07: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
Isaac Visintainer
10e2495202 post and edit query params 2018-07-31 16:31:30 -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
fee20d5de3 bugfixes and some test changes 2018-07-30 22:24:32 -07:00
Isaac Visintainer
b3737b906a removed example.collections-topic 2018-07-30 21:18:50 -07:00
Isaac Visintainer
ef18c51f5e collections redesign 2018-07-30 21:00:49 -07:00
Elliot Glaysher
84e05eba12 Integration of the state machine code complete; can boot a fakezod.
Fakezod boots with the new state machine code, and can run the +ford-turbo
test suite.
2018-07-24 10:54:16 -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
daae6f4ac8 Make talk start out with the last 200 messages of scrollback. 2018-07-23 15:26:30 -07:00
Fang
21eb5f3430 resolved conflict and merged 2018-07-23 15:26:09 -07:00
Elliot Glaysher
bf696a049d Merge branch 'ford-master-state-machine' into ford-turbo 2018-07-23 15:20:29 -07: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
Joe Bryan
4db7e486ed stub out :acme +sigh-recoverable-error rate-limit callback, print httr in mark 2018-07-19 14:11:16 -04:00
Joe Bryan
ffe7970d74 retry failed domain validation token verification 2018-07-19 14:11:16 -04:00
Joe Bryan
05050a09ff retry failed dns bindings in +hear:tell 2018-07-19 14:11:16 -04:00
Joe Bryan
7aada841f4 fix typo in error message 2018-07-19 14:11:16 -04:00
Joe Bryan
243c0a9a10 ignores our own route updates in :dns 2018-07-19 14:11:16 -04:00
Joe Bryan
22e5bb0366 uses pkcs8 private keys for %eyre cert installation 2018-07-19 14:11:16 -04:00
Joe Bryan
36d15d296c fixes pkcs8 ASN.1 en/de-coding (missing constant version) 2018-07-19 14:11:16 -04:00
Joe Bryan
f5991978be retry %direct binding verification of 504 response (cttp timeout) 2018-07-19 14:11:16 -04:00
Joe Bryan
6419f27e3a adds debug install/uninstall cert events 2018-07-10 16:42:46 -04:00
Joe Bryan
5a953aa01b fixes bug in +reserved predicate for ipv4 addresses 2018-07-10 16:42:46 -04:00
Joe Bryan
14841db28d updates :dns to notify %eyre on new bindings 2018-07-10 16:42:46 -04: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
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
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
Joe Bryan
1029a44758 tweaks and formats block comments 2018-06-28 14:04:11 -04:00
Joe Bryan
31f95df959 additional refactoring and comment cleanup in asn1 and pkcs library cores 2018-06-28 14:04:11 -04:00
Joe Bryan
218369c85d adds more comments and further refactors +asn1 and +der 2018-06-28 14:04:11 -04:00
Joe Bryan
f7a6ad1fb2 first pass new-style comments for library cores 2018-06-28 14:04:11 -04:00
Joe Bryan
8c0eea3a19 renames +en-host to +join 2018-06-28 14:04:11 -04:00
Joe Bryan
2a83c41f24 removes redundant new-order 2018-06-28 14:04:11 -04:00
Joe Bryan
77391241c7 really make sure account/certificate keys are different 2018-06-28 14:04:11 -04:00
Joe Bryan
b4197152fe parses order responses more minimally 2018-06-28 14:04:10 -04:00
Joe Bryan
9b7c5f9337 insure that account and certificate keys are different
determinism ftw!
2018-06-28 14:04:10 -04:00
Joe Bryan
8567866e89 fixes the nonce retry fix 2018-06-28 14:04:10 -04:00
Joe Bryan
0eae33af9e disables some overly-restrictive json response parsing 2018-06-28 14:04:10 -04:00
Joe Bryan
2bbd8af930 use only one certificate key (for now) 2018-06-28 14:04:10 -04:00
Joe Bryan
2198de77d8 support empty re-registration response, minor cleanup 2018-06-28 14:04:10 -04:00
Joe Bryan
831813c660 fixes badNonce retry, archives old orders when adding a new one 2018-06-28 14:04:10 -04:00
Joe Bryan
671cc1d277 tests challenges locally before notifying ACME server 2018-06-28 14:04:10 -04:00
Joe Bryan
a16dde1476 comment jihad 2018-06-28 14:04:10 -04:00
Joe Bryan
192ebadd87 refactors DER ASN.1 parser 2018-06-28 14:04:10 -04:00
Joe Bryan
2938c19be1 refactors DER en/de-coding out of +asn1 into a separate core 2018-06-28 14:04:10 -04:00
Joe Bryan
3d40edc8d1 refactors JWS, JWK thumbprint, and ACME POST requests 2018-06-28 14:04:10 -04:00
Joe Bryan
5e0a2fcb95 refactors pkcs1, 8, and 10, separating ASN.1 specs from DER encoding
also adds pkcs1 RSA public key en/de-coding and tests
2018-06-28 14:04:10 -04:00
Joe Bryan
39ac62275d removes automatic ~ship.urbit.org order initialization 2018-06-28 14:04:10 -04:00
Joe Bryan
90d2768358 updates rsa-key structure to support public keys 2018-06-28 14:04:10 -04:00
Joe Bryan
09d61ca3d7 finishes basic ACMEv2 flow, refactors multiple event queuing 2018-06-28 14:04:10 -04:00
Joe Bryan
854f9aace4 adds detailed state structures, parsers, control flow to :acme 2018-06-28 14:04:10 -04:00
Joe Bryan
55b33d8578 random cleanup 2018-06-28 14:04:10 -04:00
Joe Bryan
e96d0e77d5 adds pkcs10 encoding for Certificate Signing Requests 2018-06-28 14:04:10 -04:00
Joe Bryan
e4014ca385 adds pkcs8 encoding for RSA public keys 2018-06-28 14:04:10 -04:00
Joe Bryan
37d5c6edbb adds auras to +spec:asn1 2018-06-28 14:04:10 -04:00
Joe Bryan
f2fe13bf73 implements jwk en/de-coding for RSA private keys, fixes JWS tests (and jws-body) 2018-06-28 14:04:10 -04:00
Joe Bryan
d952b368cb tests for pkcs1 version number in DER decoding 2018-06-28 14:04:10 -04:00
Joe Bryan
d8d1f36eaa refactors +jwk, corrects decoding, implements encoding 2018-06-28 14:04:10 -04:00
Joe Bryan
fd95b950d1 cleans up tests, adds comments with sources for most test parameters 2018-06-28 14:04:10 -04:00
Joe Bryan
8fdfa71a8d adds some base64 en/de-coding tests 2018-06-28 14:04:10 -04:00
Joe Bryan
dce78a303a implements EMSA-PKCS1-v1_5 for RSA signatures
finally compatible with openssl!
2018-06-28 14:04:10 -04:00
Joe Bryan
aefb6dff4d adds additional RSA PEM/DER test cases, reorders tests 2018-06-28 14:04:10 -04:00
Joe Bryan
340d7da618 fixes ASN.1 DER unsigned integer en/de-coding 2018-06-28 14:04:10 -04:00
Joe Bryan
5388900d03 fixes ASN.1 DER multi-byte length prefix en/de-coding 2018-06-28 14:04:10 -04:00
Joe Bryan
2b0836a815 cleans up +till:asn1 (length-prefixed byte parser) 2018-06-28 14:04:10 -04:00
Joe Bryan
7f6adc5759 adds PEM and DER decoding for RSA private keys 2018-06-28 14:04:10 -04:00
Joe Bryan
e31d6f1db9 adds DER and PEM encoding for RSA private keys 2018-06-28 14:04:10 -04:00
Joe Bryan
b0b8e3f1d7 adds %int to asn.1 en/de-code 2018-06-28 14:04:10 -04:00
Joe Bryan
7162b69a46 updates base64 en/de-coding to optionally support padding and url-safety 2018-06-28 14:04:10 -04:00
Joe Bryan
ea9dd4be11 makes rsa public exponent configurable, moves +rsa 2018-06-28 14:04:10 -04:00
Joe Bryan
94bef066a8 refactors rsa keys in tests 2018-06-28 14:04:10 -04:00
Joe Bryan
dd201b9ab0 wraps long lines 2018-06-28 14:04:10 -04:00
Joe Bryan
78b379b00d adds (partial) asn1 parser, tests 2018-06-28 14:04:10 -04:00
Joe Bryan
6edf321e36 adds asn1 digests to +rs256 (WIP - still failing) 2018-06-28 14:04:10 -04:00
Joe Bryan
91ec568fda re-enables and corrects some failing tests 2018-06-28 14:04:10 -04:00
Joe Bryan
0928fe50e1 implements initial asn1 serialization (for sha-256 digests) 2018-06-28 14:04:10 -04:00
Joe Bryan
de7bd9c661 better base64 2018-06-28 14:04:10 -04:00
Joe Bryan
d0d9ac3bf3 updates test-runner to print tangs 2018-06-28 14:04:10 -04:00