https://github.com/clecap/dante-browser-extension
https://github.com/clecap/dante-browser-extension
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/clecap/dante-browser-extension
- Owner: clecap
- License: agpl-3.0
- Created: 2025-04-23T21:09:46.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-02T19:51:17.000Z (about 1 year ago)
- Last Synced: 2025-05-08T22:57:10.615Z (about 1 year ago)
- Language: JavaScript
- Size: 110 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-DEVELOPMENT.md
- License: LICENSE
Awesome Lists containing this project
README
# Treatment of S3 Keys
## Situation
* S3 keys may contain delimiters such as / or other characters.
* The delimiters may be used to emulate a hierarchical structure in the key space.
* The list versions command which lists old versions of a versioned bucket only allows to specify a prefix.
As a consequence, listings of all versions of key book would also contain versions of bookmark.
* To prevent this, we will use ! as terminator of every key.
* We do not employ / as terminator, since we want to allow the user to use this symbol for semantically structuring
the space of bookmark file names.
## Convention used
In the software the convention is as follows:
* The S3 gets the full key names.
* The UI displays the keys without ! and sends them to the service worker with the !.
* The UI adds and removes the !
# Overall Architecture
## Serviceworker
* background.js contains main functions of service worker
* bookmarks.js contains conversion from bookmarks to encrypted strings and back
* crypto.js contains AES encryption and decryption, key derivation and helpers