realm-studio
realm-studio copied to clipboard
Can't open db with Windows Realm Studio but with Mac Realm Studio
Describe the bug some of my encrypted database files can't be opened by windows realm studio but with the mac version. To Reproduce Steps to reproduce the behavior:
Use this db open it with windows (not opening) and mac (opens as expected)
de.dff_solutions.hermesApp-tour.realm.zip
Expected behavior db should be readable on windows and mac
Versions:
- OS: Windows 10
- Studio Version 10.0.1
some of my encrypted database files can't be opened
@jachzen Can you clarify the above? In particular, do you see a pattern in which files you can open and which you cannot open? Moreover, does Studio report any error on Windows?
No, i don't see a pattern. :-( The exception is the following:
Unable to open a realm at path 'C:\Users\pater\develop\hes-dbtest\de.dff_solutions.hermesApp-location.realm': Realm file decryption failed Path:Exception backtrace:
I also tried to open it on windows with nodejs and corresponding realm library without success.
I will try to reproduce it with a non productive key and send the database and key.
Here is a DB to reproduce. As mentioned - I can open it on my mac but not on my windows pc.
Here the key: 20222b4d37212217436f7b7b7a20222b4d37212217436f7f817a212217436ffece7a20222b4d37212217436fe2ec7a20222b4d37212217436ff6867a21221744
Thanks for your bug report :+1:
See this earlier comment on a related issue:
Realm encryption is not platform-agnostic - it depends on the platform's page size. So generally, you should not expect to be able to share encrypted realms between different operating systems.
Here's a reference to the underlying issue: https://github.com/realm/realm-core/issues/3499.
Therefore it's not always possible for an encrypted Realm database file to be opened on all supported platforms. I'll add this to our backlog as an issue blocked on the fix of the underlying issue.
Hi,
I have the same problem with Realm Studio 10.1.2. I can open the realm on Mac but not on Windows 10.
Realm file decryption failed Exception backtrace: backtrace not supported on this platform.
Any news on the problem?