Commit Graph

13 Commits

Author SHA1 Message Date
Bruno Bernardino 8e2036f297
Checksums - Allow anyone to confirm source and delivered code (#467)
* Checksums - Allow anyone to confirm source and delivered code

For now this only has the initial step on making CSP stricter so we can use it to parse through used files.

Very much WIP for now, but now it should just be a matter of writing up concise docs on how to go through the process, after generating and publishing the checksums via CI as well.

Related to #331

* Lint!

* Add more instructions and CI to build checksums.

* Fix typo and lint

* Remove CSP package dependency, build it manually.

Update commands in docs, fix web extension release.

* Tweak docs and webpack. CI still isn't producing a matching checksum, though.

* Tweak docs for web checksums, add debugging in the checksum action, make it faster, temporarily.

* Fix web checksum, add checksums and instructions for everything else

Closes #467

* Fix tauri release + macos sha256sum

* Remove .app checksum, since it's a directory and checksum'ing the .tar.gz seems strange.

* Properly indent + fix sha256sum results (and windows line endings problem)

* Include PWA for release, add instructions to change filenames when checksum fails.

* Include _everything_ in the CSP now, and tweak the verification script and checksum build to also include everything, now.

Still requires changes in the way to verify a published web app, where I'll have to write a script to parse through the whole CSP now.

* Add TypeScript (Deno) script to parse through CSP and download matched files.

Also update docs.

* Tweak web checksum examples.

* Remove content hashes from font files.

* Try sorting files before adding to CSP, to enforce consistency.
2022-06-20 07:34:45 +01:00
Martin Kleinschrodt 7dfdd3a27b Upgrade typescript version 2021-09-25 10:06:45 +02:00
Martin Kleinschrodt 8f2947df78 Some minor fixes 2020-02-09 13:42:23 +01:00
Martin Kleinschrodt 342780c44f Use json instead of yams for translation files so we don't need a custom webpack loader and can load it from node without webpack
Allow loading more specific locales by falling back to more generic ones (e.g. de-DE falls back to de)
2019-08-17 08:45:38 +02:00
Martin Kleinschrodt 78da5a7a95 Fix typos in tsconfig 2019-04-20 08:27:07 +02:00
Martin Kleinschrodt 75236fce69 Use base tsconfig.json for all packages 2019-04-19 18:00:44 +02:00
Martin Kleinschrodt 62fd49d951 Use localforage as for client-side storage 2018-11-27 19:09:24 +01:00
Martin Kleinschrodt 3b6c804d5b Rename Client to App and move into separate module
Move crypto providers into separate modules
Start implementing new Client class for communication with the server
Update project structure to monorepo structure with multiple packages
2018-06-21 22:43:06 +02:00
Martin Kleinschrodt bffb2648b8 Restructure project: group elements and mixing in directories, flatten directory structure
Directly import from core modules, mixins
2018-05-31 20:22:25 +02:00
Martin Kleinschrodt d1f276f46d Import core modules directly rather than compiling them under a namespace 2018-05-30 16:29:04 +02:00
Martin Kleinschrodt 03cc3a6c17 tweak tsconfig 2017-06-13 09:32:20 +02:00
Martin Kleinschrodt 1c48bb02ee Add compilation flow for core and tests 2017-06-13 09:32:17 +02:00
Martin Kleinschrodt 51aaabd0c5 Add project ts config 2017-06-13 09:32:16 +02:00