Wykres commitów

172 Commity (9ddc4adf9ef718202c1f191558ed369b4526f3b5)

Autor SHA1 Wiadomość Data
Michał 'rysiek' Woźniak 9ddc4adf9e simplified libresilient.js, older kept in libresilient-fancy.js 2022-03-09 13:25:37 +00:00
Michał 'rysiek' Woźniak 7a8105573a docs: UPDATING_DURING_DISRUPTION.md minor edits (ref. #30) 2022-02-08 22:22:23 +00:00
Michał 'rysiek' Woźniak 27f3cbf908 docs: UPDATING_DURING_DISRUPTION.md (ref. #30) 2022-02-08 20:54:57 +00:00
Michał 'rysiek' Woźniak 50fad1daa0 service-worker: code for handling edge-cases with new config.json configuring not-yet-loaded plugins (ref. #30) 2022-02-08 02:44:01 +00:00
Michał 'rysiek' Woźniak 1fb9ab7e05 tests for fetching config via plugins (ref. #30) 2022-02-07 23:08:13 +00:00
Michał 'rysiek' Woźniak deeb57a3e2 rough first functional implementation of fetching config via plugins (ref. #30) 2022-02-07 03:11:35 +00:00
Michał 'rysiek' Woźniak fa17911ca2 service-worker: tests updated for cleaner handling of config.js (ref. #30) 2022-02-06 23:09:44 +00:00
Michał 'rysiek' Woźniak 0a320d22f8 service-worker: cleaner handling of config.js (ref. #30) 2022-02-06 23:06:43 +00:00
Michał 'rysiek' Woźniak 4b02ddc0eb tests fixed (NodeJS is crap) 2022-02-02 01:32:07 +00:00
Michał 'rysiek' Woźniak 7809c9d42e separated out some code into cacheConfigJSON() (prep. for #30) 2022-02-02 01:28:13 +00:00
Michał 'rysiek' Woźniak c2b62919b8 loading config is now a separate operation than verifying its correctness (prep. for #30) 2022-02-02 01:14:31 +00:00
Michał 'rysiek' Woźniak c37cd53a89 better comment explaining the need for initServiceWorker() in event handlers (ref. #31) 2022-02-02 00:58:41 +00:00
Michał 'rysiek' Woźniak fe81a2232a tests fixed (ref. #31) 2022-01-27 23:27:20 +00:00
Michał 'rysiek' Woźniak ab2c1249e1 service-worker test added: config.js cached, no fetch needed (ref. #31) 2022-01-27 23:20:28 +00:00
Michał 'rysiek' Woźniak e7ef3bfade test for SW caching a successfully fetched config.json (ref. #31) 2022-01-26 04:06:31 +00:00
Michał 'rysiek' Woźniak 99810d3a79 tests fixed for all changes related to caching the config.json (ref. #31) 2022-01-26 02:02:25 +00:00
Michał 'rysiek' Woźniak 3025278899 bugfix: external requests fixed (ref. #31) 2022-01-26 02:01:55 +00:00
Michał 'rysiek' Woźniak 6fe4e94199 important hotfix: config.json now properly cached, SW init performed reliably after SW re-start (ref. #31) 2022-01-26 01:43:53 +00:00
Michał "rysiek" Woźniak 387009782e Merge branch 'wip-json-config' into 'master'
use JSON config (instead of JavaScript)

Closes #31

See merge request rysiekpl/libresilient!11
2022-01-25 01:06:37 +00:00
Michał 'rysiek' Woźniak 6d6af2b13e updating the documentation wrt. JSON config (ref. #31) 2022-01-25 00:47:24 +00:00
Michał 'rysiek' Woźniak 629b2eef33 test coverage for config.json handling (ref. 31) 2022-01-25 00:28:41 +00:00
Michał 'rysiek' Woźniak e7c09f3065 test.json test data file added 2022-01-24 14:46:59 +00:00
Michał 'rysiek' Woźniak 3ae6f422ed verifyConfigData() initial implementation; getResourceThroughLibResilient() now accepts url and init instead of Request (ref. #31) 2022-01-24 13:55:40 +00:00
Michał 'rysiek' Woźniak 5a7abc344b tests updated to pass with the new initServiceWorker() way of doing things (ref. #31) 2022-01-24 13:54:10 +00:00
Michał 'rysiek' Woźniak 8ded9dff46 additional message in basic-integrity plugin 2022-01-23 19:54:49 +00:00
Michał 'rysiek' Woźniak d426dea050 very rough and PoC test implementation of JSON-based config (ref. #31) 2022-01-22 16:56:24 +00:00
Michał 'rysiek' Woźniak 07693eeedd config.js.example -> config.json.example (ref. #31) 2022-01-22 15:20:49 +00:00
Michał 'rysiek' Woźniak 9d6186e7f3 docs: CONTEINT_INTEGRITY.md updated and amended with signed-integrity plugin info 2022-01-13 22:23:10 +00:00
Michał 'rysiek' Woźniak d42b6a11c0 signed-integrity: some cleanups (ref. #28) 2022-01-13 10:56:45 +00:00
Michał 'rysiek' Woźniak 87120097f4 signed-integrity: added test for and for JWT payload not containing integrity data (ref. #28) 2022-01-13 02:48:43 +00:00
Michał 'rysiek' Woźniak 8bbf48d08f signed-integrity: added test for and for JWT payload not being a valid JSON (ref. #28) 2022-01-13 02:41:22 +00:00
Michał 'rysiek' Woźniak bdad3adeff signed-integrity: added tests for configured public key not loading, and for JWT syntactically invalid (ref. #28) 2022-01-13 02:31:31 +00:00
Michał 'rysiek' Woźniak 44fede8882 signed-integrity: added test for actually using the integrity data from the JWT (ref. #28) 2022-01-13 02:07:11 +00:00
Michał 'rysiek' Woźniak 5254644402 signed-integrity: added test for alg: none JWTs (ref. #28) 2022-01-13 01:53:35 +00:00
Michał 'rysiek' Woźniak 5703763097 signed-integrity: added test for incorrect signature (ref. #28) 2022-01-13 01:43:38 +00:00
Michał 'rysiek' Woźniak 8f2d095ff0 signed-integrity: we are now able to verify the JWT signature (ref. #28) 2022-01-12 23:47:00 +00:00
Michał 'rysiek' Woźniak 68ad9b1fa6 slowly figuring out JWTs and WebCrypto API (ref. #28) 2022-01-12 03:54:36 +00:00
Michał 'rysiek' Woźniak 580042b0c3 package.json cleaner 2022-01-12 03:54:14 +00:00
Michał 'rysiek' Woźniak 6180f8b96a signed-integrity: working on implementing JWT processing (ref. #28) 2022-01-12 00:14:40 +00:00
Michał 'rysiek' Woźniak e1745144c1 started implementing signed-integrity PoC (ref. #28) 2022-01-10 22:21:16 +00:00
Michał 'rysiek' Woźniak b1b6877e54 minor plugins comment fixes 2022-01-10 22:18:58 +00:00
Michał 'rysiek' Woźniak b1cbe459cd Merge branch 'master' of gitlab.com:rysiekpl/libresilient 2022-01-10 18:31:57 +00:00
Michał 'rysiek' Woźniak 45c36292d8 minor bugfix in testing index.html 2022-01-10 18:31:45 +00:00
Michał "rysiek" Woźniak cae39e6de8 Update CONTENT_INTEGRITY.md 2021-12-17 03:35:13 +00:00
Michał "rysiek" Woźniak 1187984181 Merge branch 'documenting-content-integrity' into 'master'
Document results of Content Integrity research

Closes #1

See merge request rysiekpl/libresilient!10
2021-12-17 03:23:16 +00:00
Michał "rysiek" Woźniak 3d6480c8e1 Document results of Content Integrity research 2021-12-17 03:23:16 +00:00
Michał "rysiek" Woźniak d568dfaf16 Merge branch 'rewrite-gun-ipfs' into 'master'
Rewrote the convoluted return statement of getContentFromGunAndIPFS into a linear code flow.

See merge request rysiekpl/libresilient!8
2021-11-29 20:53:53 +00:00
CSDUMMI 2d55e86d03 Rewrote the convoluted return statement of getContentFromGunAndIPFS into a linear code flow. 2021-11-29 20:53:53 +00:00
Michał 'rysiek' Woźniak 6112e5ce01 README: typo fix 2021-11-20 18:50:42 +00:00
Michał 'rysiek' Woźniak 139b1fe8f0 README: info on running tests 2021-11-20 18:48:32 +00:00