16 lines
841 B
Markdown
16 lines
841 B
Markdown
This will be an end to end encrypted file service
|
|
|
|
The flow for a new user will go as follows:
|
|
|
|
- Basically empty page with a text input, they will type in a code and the server will verify that code
|
|
- If the code is not verified, give an error
|
|
- If the code verifies, they will be taken to a second screen where they will choose between generating a new
|
|
cryptographic key or importing one from another session
|
|
- Choosing one of the 2 will take the user to the main hub of the service where they will be able to see their files,
|
|
upload new ones and such
|
|
|
|
There will be no database file, just a json file at DATABASE_PATH that will store the few users we have and such
|
|
|
|
Users will be an dictionary in the database file with a "users" key, the users dictionary will be a
|
|
`Record<string, User>` where the key to that is a `monotonicUlid()`
|