How your keys are encrypted
Foxsafe encrypts each stored wallet secret on your iPhone with AES-256-GCM. Each wallet has its own random key, and a key made in the iPhone's Secure Enclave locks that key.
AES-256-GCM, and a key locked by your iPhone.
AES-256-GCM for stored secrets
Your secret phrase and private keys are encrypted with AES-256-GCM before they are saved. Wallet names and public addresses aren't secrets, so they are saved as they are.
A separate key for each wallet
Each wallet gets its own random key. A key made in the iPhone's Secure Enclave locks that key, and Face ID, Touch ID or your iPhone passcode opens it.
A second copy on the phone
Foxsafe keeps a second encrypted copy so you can recover your wallets on the same iPhone. Its key is made from your app passcode with Argon2id, and the Secure Enclave isn't part of it.
Saved for this iPhone only
Both copies are in the iPhone Keychain as items for this device only, so they aren't copied to iCloud or to another phone. Our servers never receive your phrase, your keys or your app passcode.
See it in the app.
Example screens and amounts.
Step by step.
- 1
Create or import a wallet
Foxsafe encrypts its secret with a new random key before saving it.
- 2
Approve when a key is needed
Your iPhone asks for Face ID, Touch ID or your iPhone passcode, then opens that wallet's key.
- 3
Come back after Log out
On the same iPhone, enter the app passcode you used before. It makes the key that opens the second copy.
In detail.
- Stored wallet secrets
- AES-256-GCM
- Key
- Random, a separate one for each wallet
- What locks that key
- A key made in the iPhone's Secure Enclave
- What opens it
- Face ID, Touch ID or your iPhone passcode
- Second copy on the phone
- Key made from your app passcode with Argon2id
- New secret phrases
- 12 or 24 words from the iPhone's own random generator
Questions and answers.
Does the Secure Enclave hold my secret phrase?
No. It holds the key that locks each wallet's own key. Your phrase is saved encrypted in the iPhone Keychain.
Is Face ID the only thing that opens my keys?
No. Touch ID or your iPhone passcode opens them too, and the second copy opens with your app passcode. Choose both passcodes with care.
Why is there a second copy?
So you can recover your wallets on the same iPhone with your app passcode after Log out. That copy is protected by the app passcode, so don't pick one that is easy to guess.