-
Notifications
You must be signed in to change notification settings - Fork 40
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
Encrypted Realm unable to open in Windows #1581
Comments
@q-amir Thank you for reporting. It is possible for you to test using node.js on Windows using a simple script: const key = new Int8Array([ /* your key */ ] );
let realm = new Realm({ path: "name-of-your-realm-file", encryptionKey: key });
console.log(`Schema: ${realm.schema.length}`);
realm.close(); |
@q-amir Another question: was the encrypted Realm file created on a non-Windows platform? |
@kneth Yes. I generate it by using Jenkins in my macbook
I will try this. let you know. |
@kneth I just run the simple script and it's failed. |
It might be a duplicate of #1373. Encrypted Realm file might be slightly dependent on the platform where they are created. My little script above will tell us if it is the case. We have an open issue to fix it. |
@kneth I see. seems like I need to wait for an update. Is there any other way for me to make my realm db more secure? |
Our encryption is pretty good - the issue is how to share it across platforms. Most operating systems today offer encryption of the file system, which is a good option for the case the device is lost. It is a more general remark unrelated to Realm 😄 |
I am closing the issue due to no reply back. Please create a new issue if you have new observations to share. |
Describe the bug
Unable to open encrypted realm on Windows
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I should be able to see all my data in the realm db. It's work well on my macbook but not on my windows pc
Screenshots
Versions:
The text was updated successfully, but these errors were encountered: