Secure Key Store
Component Detail
Infrastructure
high complexity
mobile
0
Dependencies
1
Dependents
1
Entities
0
Integrations
Description
Wraps flutter_secure_storage and platform-native secure enclave APIs (iOS Secure Enclave, Android Keystore) to generate, store, and retrieve the peer mentor's private key. The private key is bound to device authentication and never leaves the device.
secure-key-store
Responsibilities
- Generate and persist RSA/ECDH private key in the platform secure enclave on first launch
- Retrieve private key gated behind biometric or device PIN authentication
- Provide a flutter_secure_storage-backed cross-platform interface for key lifecycle management
- Handle key rotation and re-generation scenarios
Interfaces
generateAndStoreKey(keyAlias) -> PublicKey
retrievePrivateKey(keyAlias) -> PrivateKey
deleteKey(keyAlias)
hasKey(keyAlias) -> bool