The wallet core is public
The part of Foxsafe that handles your keys is open source, so anyone who reads code can check what it does.
- $npm ci
- $npm test
- ✓encryption format
- ✓cross-library checks
- ✓addresses on every network
- ✓signing
- ✓create, sign, recover, back up
What the open code does.
This is the part of Foxsafe that touches your keys. You can read every line of it.
- 01
Your words
A new secret phrase of 12 or 24 words is made on your iPhone, from its own secure random numbers.
- 02
Locked with AES-256-GCM
Secret phrases and keys are encrypted before they are stored. Each wallet has its own key.
- 03
Passwords become keys with Argon2id
Your backup password is turned into a key in a way that makes guessing slow.
- 04
Signed on the phone
A payment is signed on your phone after you confirm it. Our servers can't sign.
- 05
Same result on every phone
Fixed test inputs come with the code. Every phone has to give exactly the same outputs.
- 06
Apache License 2.0
Anyone may read the code, use it and build on it under that licence.
What's in the repository.
srcThe TypeScript code and the reference for the encryption formatiosThe iPhone part, in SwiftandroidThe Android part, in Kotlindocs/SPEC.mdThe written specification: file formats and the values we usetest/vectorsFixed inputs and the results every phone must giveSECURITY.mdHow to report a weakness
What is open and what isn't.
What is open
The repository is called Foxsafe wallet-core and it's on GitHub. It has the code for:
- making a wallet, and importing one from a secret phrase or a private key;
- encrypting keys and storing them on the phone;
- the locked copy that lets you recover on the same phone;
- encrypting a backup before it is saved;
- signing transactions.
It also has a written specification of the file formats and the values we use, and a file that says how to report a weakness.
What isn't
The rest of the app, with its screens, is private. So are our servers.
The licence
The wallet core is under the Apache License, Version 2.0. The full text is in the repository's LICENSE file.
Work by others
The wallet core is built on an open-source wallet library that is also under the Apache License 2.0. The NOTICE file in the repository names it and credits its authors.
Foxsafe depends on many other open-source projects. Thank you to the people who write and look after them.
See it for yourself
Write to support@thefoxsafe.com and we'll send you the link. Be careful with copies under other names.
How it is checked.
Before an update goes out, we check the parts that hold your keys and move your money. Foxsafe hasn't had an outside audit. The code that holds your keys is public, so anyone can check it.