Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to encrypt the complete .json file? #9

Open
jmvermeulen opened this issue Mar 9, 2018 · 2 comments
Open

Is it possible to encrypt the complete .json file? #9

jmvermeulen opened this issue Mar 9, 2018 · 2 comments

Comments

@jmvermeulen
Copy link

The current implementation only encrypts the properties of a entity marked with @secret.

I would like the complete text file to be unreadable. It this possible to implement, or does this conflict with the design?

@FarooqKhan
Copy link
Collaborator

Theoretically its possible to do this, however, it would not be good to do this. If the entire file is encrypted then even trivial write operation would require the entire file to be re-written to the disk. JSONDB also supports inserts and deletes which would simply take too long

@FarooqKhan
Copy link
Collaborator

I think I figured out how to do this without making it too slow. I have removed the wontfix label and added an enhancement label. I hope to implement this someday, although I don't know when I will get to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants