Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Opening Realm file in browser always requires an encryption key

I'm using Realm Browser 0.9.85 and using the examples in https://github.com/realm/realm-cocoa.

I'm a total Realm newbie so go easy on me. Every time I try to open up a Realm file from the example from GitHub, I get a request to enter in the encryption key. It seems like the default configuration in Realm is to not have it's db be encrypted, so I don't know what gives. Any help would be greatly appreciated. Thanks.

enter image description here

like image 471
Biclops Avatar asked May 06 '16 01:05

Biclops


2 Answers

Instead of downloading old versions, Download Realm Studio it will open the file without any required keys.

https://docs.realm.io/sync/realm-studio

Hopefully, it solves your issue.

like image 116
K-Soliman Avatar answered Oct 28 '22 07:10

K-Soliman


Since you're opening a file built with Realm 0.101, you'll need to use a version of the Realm Browser that's compatible with those files.

You can get Realm Browser 0.101 from the Mac App Store here: https://itunes.apple.com/app/realm-browser/id1007457278

or as an archive here: https://github.com/realm/realm-browser-osx/releases/tag/0.101.0

This is necessary because Realm 0.101 brought changes to the Realm file format that can't be read by previous versions. Read the release post for more information: https://realm.io/news/realm-objc-swift-0.101.0/

like image 44
jpsim Avatar answered Oct 28 '22 07:10

jpsim