Skip to content
This repository has been archived by the owner on Apr 15, 2021. It is now read-only.

Pass encryption key into CheckDatabaseEncryptionKey #20

Open
x2bool opened this issue Sep 9, 2018 · 3 comments
Open

Pass encryption key into CheckDatabaseEncryptionKey #20

x2bool opened this issue Sep 9, 2018 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers up-for-grabs

Comments

@x2bool
Copy link
Collaborator

x2bool commented Sep 9, 2018

CheckDatabaseEncryptionKey takes encryption key as a parameter. Database should be encrypted and the key somehow should be stored on computer (OS-specific key storage???).

@x2bool x2bool added enhancement New feature or request good first issue Good for newcomers up-for-grabs labels Sep 9, 2018
@worldbeater
Copy link
Contributor

worldbeater commented Sep 10, 2018

Speaking of local storage, personally I would advise either of these packages: Realm, LiteDB. Perhaps, OS-specific key storage would be more secure (not sure about this), but anyway we need to store preferences, settings (#22), cache, etc..

@x2bool
Copy link
Collaborator Author

x2bool commented Sep 10, 2018

Usually the encryption key is never changed and is stored in some OS keychain

From TdLib Docs

I thinks this means there is some OS-specific keychain where encryption keys are usually stored.

@x2bool
Copy link
Collaborator Author

x2bool commented Sep 10, 2018

Yeah we are gonna need some DB. I am up to anything really. I didn't try Realm, but it looks cool.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers up-for-grabs
Projects
None yet
Development

No branches or pull requests

2 participants