Skip to content
This repository has been archived by the owner on Nov 20, 2022. It is now read-only.

Refactor for multi-user usage #45

Open
3 tasks
mjp0 opened this issue Apr 1, 2019 · 0 comments
Open
3 tasks

Refactor for multi-user usage #45

mjp0 opened this issue Apr 1, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@mjp0
Copy link
Owner

mjp0 commented Apr 1, 2019

At the moment Datagram requires you to have the right user credentials. If these are not provided, it won't initialize. And if it would initialize, it wouldn't open any data because the data would fail verification due to the missing user id. This is fine for the use cases where the user sends data between their own devices, but it prohibits sharing datagram with others.

To make multi-user work, verification needs to made optional, and datagram needs to have a built-in user registry where the user can save read keys from other users for data verification.


Deliverables

  • Implement user registry
  • Refactor data fetch code to optionalize verification & decryption
  • Implement addUser({ name, read_key, encryption_password }) method
@mjp0 mjp0 added the enhancement New feature or request label Apr 1, 2019
@mjp0 mjp0 changed the title Refactor for multi-user sharing Refactor for multi-user usage Apr 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant