Metadata Realm is always accessible even with a wrong encryption key.

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      After upgrading to Realm-Kotlin to core 14.10.3 we have noticed that some tests cases that asses if the metadata Realm is encrypted began to fail. The test logic is as follows:

      1. Create App with encrypted metadata.
      2. Create user, open/close a sync Realm.
      3. Try to open the App's metadata Realm as a local Realm providing the wrong or no key.
      4. We expect to fail, but it succeeds.

      We have tried closing the App, but the behaviour persists.

      Is this the expected behaviour?

      Seems related to https://github.com/realm/realm-core/pull/7576

            Assignee:
            Unassigned
            Reporter:
            Unito Sync Bot
            Archiver:
            Marc Greenfield

              Created:
              Updated:
              Resolved:
              Archived: