Wykres commitów

162 Commity (c2b62919b869788faba14b1bade5959b1c682690)

Autor SHA1 Wiadomość Data
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
Michał 'rysiek' Woźniak 1f0241868f README: info on local testing; added stub index.html for testing LibResilient 2021-11-20 18:42:11 +00:00
Michał 'rysiek' Woźniak 77ee6aa127 service-worker: using config.js from directly under scope the service-worker is registered for 2021-11-18 22:24:44 +00:00
Michał 'rysiek' Woźniak 2603596032 updated tests regarding problematic Request() init fields (ref. #23) 2021-11-17 13:57:47 +00:00
Michał 'rysiek' Woźniak 646e7240a5 service-worker: headers, mode, credentials ignored in Request() init for now 2021-11-16 23:46:13 +00:00
Michał 'rysiek' Woźniak b57d17719d Request() init cannot have "credentials: include" 2021-11-16 23:07:11 +00:00
Michał 'rysiek' Woźniak 67f178924d libresilient test deploy: Request() init cannot have "mode: navigate", it seems 2021-11-16 18:40:14 +00:00
Michał 'rysiek' Woźniak a8707f758b comments and minor whitespace fixes 2021-11-16 15:17:31 +00:00
Michał "rysiek" Woźniak a90a9793a8 Merge branch 'wip-integrity-check-plugin' into 'master'
Implement integrity check plugin

Closes #20

See merge request rysiekpl/libresilient!7
2021-11-14 12:53:49 +00:00
Michał "rysiek" Woźniak 02ba4ea9f3 Implement integrity check plugin 2021-11-14 12:53:49 +00:00
Michał 'rysiek' Woźniak 8cf98f1c64 basic-integrity: minor comment fix 2021-11-13 13:16:59 +00:00