Commit Graph

6 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 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 aae4138fb6 Refactoring, fixed that GOKAPI_LENGTH_ID was ignored, check for incorrect cli flags, significantly increased test coverage 2021-04-19 22:44:02 +02:00
Marc Ole Bulling abec640d64 Added unit tests, refactoring 2021-04-15 15:22:23 +02:00
Marc Ole Bulling 9ff90c40a0 Formatting and resolving golint warnings 2021-04-13 14:48:57 +02:00
Marc Ole Bulling 2142bc5747 Refactoring to comply with standard go package structure 2021-04-13 12:03:08 +02:00