Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-2194

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

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 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 Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: