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

Enable encryption in MXRealmCryptoStore #3867

Closed
manuroe opened this issue Dec 9, 2020 · 1 comment · Fixed by #3878 or matrix-org/matrix-ios-sdk#1027
Closed

Enable encryption in MXRealmCryptoStore #3867

manuroe opened this issue Dec 9, 2020 · 1 comment · Fixed by #3878 or matrix-org/matrix-ios-sdk#1027
Assignees

Comments

@manuroe
Copy link
Member

manuroe commented Dec 9, 2020

For extra security, we want to encrypt the DB used by MXCrypto.

@ismailgulek
Copy link
Contributor

We experienced below error when we tried to encrypt crypto DB. Seems like we cannot use encrypted Realms across the app and NSE targets.

[MXRealmCryptoStore] realmForUser gets error: Error Domain=io.realm Code=1 "/private/var/mobile/Containers/Shared/AppGroup/5F1819A3-A507-44A0-AB33-2131CF9E2BFF/MXRealmCryptoStore/@ismailgulekmac3:matrix.org-ciphered.realm: Encrypted interprocess sharing is currently unsupported.DB has been opened by pid: 431. Current pid is 430." UserInfo={NSLocalizedDescription=/private/var/mobile/Containers/Shared/AppGroup/5F1819A3-A507-44A0-AB33-2131CF9E2BFF/MXRealmCryptoStore/@ismailgulekmac3:matrix.org-ciphered.realm: Encrypted interprocess sharing is currently unsupported.DB has been opened by pid: 431. Current pid is 430., Error Code=1}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment