Encrypt LocalDB #1
Labels
No Label
client
server
user made
L
M
S
XL
bug
bugfix
discussion
documentation
feature
maintenance
postponed
refactoring
wontfix
No Milestone
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: zdm/envoy#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Encrypt the user specific LocalDB file with the user's password.
This prevents unauthorized access to the file by other users or from outside the application.
Once token based authentication is implemented, the password cannot be used as an encryption key, because it is not entered during every application startup.
Instead, the authentication token could be used, but this is obviously insecure as that token is stored on the same system in plain text.
As the user doesn't enter his password upon every startup when using token-based authentication, encrypting the local database securely is impossible without compromising offline mode or relying on external software such as policykit.