Skip to content
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

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

Open
clementetb opened this issue Jul 10, 2024 · 3 comments
Open

Comments

@clementetb
Copy link
Contributor

clementetb commented Jul 10, 2024

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 #7576

Copy link

sync-by-unito bot commented Jul 10, 2024

➤ PM Bot commented:

Jira ticket: RCORE-2194

@clementetb
Copy link
Contributor Author

The issue indeed appears after the merging #7576

Copy link

sync-by-unito bot commented Aug 14, 2024

➤ jedelbo commented:

[~[email protected]] can you comment on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant