Skip to content

Encryption key backed up to iCloud/Android #1

Description

@Srujan-rai

SecureStore.WHEN_UNLOCKED maps to iOS kSecAttrAccessibleWhenUnlocked, which syncs to iCloud Keychain.
On Android, WHEN_UNLOCKED is eligible for Auto Backup.

If a user's iCloud/Google account is compromised, the MMKV encryption key is exposed.

File: state/encryption.ts:7-9

Fix

keychainAccessible: SecureStore.WHEN_UNLOCKED_THIS_DEVICE_ONLY,

Labels: security, bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions