9 Commits

Author SHA1 Message Date
Marc Ole Bulling
9c9ea6dbb7 Add end-to-end encryption (#71)
* Added WASM module for e2e

* Added cmd util to read database

* Changed to go 1.19

* Fixed crash with random string generator

* Fixed typos and tests

* Host service worker on github
2022-08-11 13:37:55 +02:00
Marc Ole Bulling
3ea8e22042 Added comments, fixed tests 2022-07-27 14:08:17 +02:00
Marc Ole Bulling
44260f012b Use chunked uploads instead of single upload (#68)
* Change to chunked uploads

* Renamed SHA256 attribute to SHA1

* Breaking: removed /upload endpoint

* Changed timeout to 15 minutes for reading

* Change session key only after 12 hours

* Added API calls for chunk upload, refactoring, added tests

* Add content-type based on file extension for images if empty
2022-07-25 13:21:38 +02:00
Marc Ole Bulling
23feaa241c Fixed bug where encrypted files could not be downloaded after rerunning setup #64, output error message if incorrect key is provided during download instead of panic, added note about password entry on setup 2022-07-15 14:59:01 +02:00
Marc Ole Bulling
26f542f8f2 Added tests, minor changes 2022-03-08 18:14:47 +01:00
Marc Ole Bulling
eedabbd8f7 Added tests and comments 2022-03-08 13:17:39 +01:00
Marc Ole Bulling
1c230b3c5e Added tests and comments 2022-03-01 16:12:04 +01:00
Marc Ole Bulling
8f84b89402 Disable selection of binding to localhost in Docker image, added tests 2022-02-26 15:53:39 +01:00
Marc Ole Bulling
58c1e2aa56 Support for file encryption (#38) 2022-02-24 14:53:02 +01:00