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

Encryption #221

Open
AdityaPawar27 opened this issue Apr 20, 2021 · 11 comments
Open

Encryption #221

AdityaPawar27 opened this issue Apr 20, 2021 · 11 comments
Labels
enhancement New feature or request

Comments

@AdityaPawar27
Copy link

I wanted to know whether the mdb file is password protected and encrypted by default? And if it is, what the encryption techniques used. Are they realible enough? As I am going to use it to tore really sensitive data

@vaind
Copy link
Contributor

vaind commented Apr 20, 2021

No, encryption by the database itself is currently not supported. There's an issue in objectbox-java also asking for this, feel free to pitch in: objectbox/objectbox-java#8

For now, you can store encrypted data, but need to do the encryption yourself, before writing to database. This will, however, limit your options on how to run queries.

Also, what do you mean by the title "The Created mdb file while opening ask's for a password." - how are you trying to open the file that it asks for a password. There's certainly no such functionality implemented in objectbox-dart.

@vaind vaind added the question How to do something/general question label Apr 20, 2021
@AdityaPawar27
Copy link
Author

Okay Got it! Actually Object Box's db file is stored in .mdb formot right? So I tried opening it and I can't open it. Can you tell me something about this please?

@vaind
Copy link
Contributor

vaind commented Apr 20, 2021

.mdb is just an extension used, it's not in any common format - you won't be able to open it (with any reasonable results) with anything but ObjectBox.

@AdityaPawar27
Copy link
Author

Okay Got it! Thanks. Also 1 more thing, Do you plan to bring encryption in near future? If yes then whats the tentative time it's gonna take?

@vaind vaind changed the title The Created mdb file while opening ask's for a password. Encryption Apr 22, 2021
@greenrobot
Copy link
Member

We don't have a date for this and probably this won't happen short term.

A 👍 reaction on the issue will help to track interest though... Thanks.

@AdityaPawar27
Copy link
Author

Okay. Hope you do that soon as it's really important! Ya sure

@AdityaPawar27 AdityaPawar27 reopened this Apr 23, 2021
@greenrobot greenrobot added enhancement New feature or request and removed question How to do something/general question labels Apr 26, 2021
@alsoLut

This comment has been minimized.

@QiXi

This comment was marked as off-topic.

@Buggaboo

This comment was marked as off-topic.

@ebelevics
Copy link

ebelevics commented May 11, 2023

What is the status of this, as I'll need to store sensitive data in db? I wanted to encrypt .mdb file with AES256, but I couldn't find any reasonable solution.

Also I can read .mdb file in text editor (Mac), all data strings are clear readable. Meaning any rooted or uncommon android OS could gain access to data

@greenrobot-team
Copy link
Member

greenrobot-team commented May 15, 2023

If there is an update, we will share it. See our last comment on possible workarounds.

If you are interested in this, please thumbs up the first post instead. This helps us track interest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants