Threat model
What can go wrong with your keys, your backups and your computer, and what Liana changes in each case.
Liana changes one thing about your keys: what each one can do, and when. That settles some failures, eases others, and leaves a few to you.
You lose a key
In a single-key wallet, a lost key means lost bitcoin. Every Liana wallet has at least one recovery path, so a lost primary key puts your coins behind a wait instead. Say a spare key of yours sits on a recovery path with the installer's default wait, 52,596 blocks (about 1 year). Once a coin has stayed unspent that long, the spare key can move it.
That wait lets you run a strict primary path, such as a 2-of-2, as the Wallet policies page shows.
Once the wait is over, follow Recover in Liana. A lost spare key leaves the primary path working but uncovered. Move your coins to a wallet with a new recovery key, as Change a policy shows.
A key holder dies
With a classic wallet, your heir needs a key that can already spend, or someone who hands one over after your death. With Liana, your heir holds their own key on a recovery path. It can do nothing while you keep moving your coins. Once you stop, the wait of each coin runs out in turn. Your heir then spends with their key alone.
The cost to your heir is time. They also need the descriptor, because their key alone cannot find a single coin. Follow Set up inheritance to prepare the key, the descriptor and a letter. Your heir follows Claim an inheritance.
You are coerced
Someone who knows you hold bitcoin can threaten you until you sign. No wallet stops that. Liana cannot put a wait on the primary path either, so any key within your reach is a key you can be forced to use.
A policy can keep enough keys out of reach. With a 2-of-2 primary path and the second key in another city, you cannot pay on the spot. That slows an attacker down without removing the threat. Set the threshold of your primary path in Choose a policy.
You lose a seed phrase backup
If the signing device still works, you still have the key, but not its spare copy. The missing sheet may be in someone else's hands. Treat the key as exposed. While the device still signs, create a wallet with a freshly generated key and send your coins to it, as Change a policy shows.
If the device is gone too, see You lose a key.
You lose the descriptor
Your seed phrases alone cannot restore the wallet, as the Descriptors page explains. Rebuilding the policy in the installer is not a reliable way back either. The same keys and timelocks can give a different descriptor, with different addresses.
What Liana changes is the cost of a copy. Requires Liana 13.0+ Liana can save the descriptor as an encrypted file, so you can keep copies in many places.
Keep copies of the encrypted file in as many private places as you like, as Store the descriptor lists, and give each key holder a copy. If yours is gone, see Find the descriptor.
An heir turns hostile
An heir who holds a recovery key may not wait for your death. The timelock is the whole defense. Every node rejects a spend with the heir's key until the coin has stayed unspent for the full wait. Each spend or refresh gives the new coin a fresh wait.
Your heir can still watch. Their own xpub decrypts your descriptor backup. With the decrypted descriptor, Liana shows them every coin and the blocks left before its first recovery path opens.
Refresh each coin Liana warns you about, as Refresh coins shows. If one heir worries you, put several on the recovery path with a threshold, such as 2-of-3. Nothing here stops an heir who also obtains your primary key.
The computer running Liana is compromised
Malware on that computer controls what Liana shows you and what it sends to your signing devices. It cannot sign with the keys on your signing devices, because Liana is a watch-only coordinator and those private keys stay on the devices. Nor can it shorten a coin's timelock, which every node enforces from the coin's script.
It can still reach four things:
- Your receive address: It can show you an address that is not yours.
- Your payments: It can change a payment's destination or amount before the signing device sees it.
- A new wallet: It can swap a key or shorten a timelock in the descriptor before you register it.
- Your privacy: It can read the descriptor, and with it your addresses, balance and history.
The malware does not control the signing device's screen. Read every address, payment and policy there before you approve, as Receive your first bitcoin and Send bitcoin show. A device can show an address only once you register the descriptor on it, as the Descriptor registration page explains. With Liana Connect, Wizardsardine's servers build your transactions. The same check covers them.
The private keys on your signing devices stay out of the malware's reach. A hot key does not: its 12 words sit in a file on that computer, so malware that reads your files can spend what that key can spend alone.
A signing device generated a weak key
Your keys come from a random draw. A 12-word seed phrase records one draw among
2^128 possible ones, a number with 39 digits. A broken generator draws from a
far smaller set, which an attacker searches offline for keys that have received
coins. Nothing shows on your side until the coins leave. Attackers have taken
coins this way many times, from keys that wallet software or signing devices
generated.
A weak key looks like any other, so Liana cannot flag it. It limits the damage instead, depending on where the key sits:
- The only key of the primary path: The attacker spends at once.
- The only key of a recovery path: The attacker waits for the timelock, like the rightful holder. Refreshing your coins keeps the attacker out while you replace the key.
- One key of a multisig path: With a threshold of 2 or more, it falls short and spends nothing alone.
A firmware update does not repair a weak key
A key generated on affected firmware stays weak after the update. Generate a new key on fixed firmware and move your coins to a wallet that uses it, as Change a policy shows.
A multi-vendor multisig (MVMS) contains the risk
Signing devices of one model share one generator, so they share its flaw. With three Coldcards that generated their keys on affected firmware, all three keys of a 2-of-3 path are weak. In a multi-vendor multisig (MVMS), each key of a path lives on a signing device from a different manufacturer. With three manufacturers, a flaw in one firmware exposes one key, one short of the threshold.
Liana refuses the same signing device twice in one path, but building an MVMS is your choice. A Coldcard also lets you mix your own dice rolls into its randomness. Coinkite does not consider a Coldcard seed at risk from its seed generation bug if you added at least 50 fair, independent, private rolls. The Signing devices page lists the devices Liana supports.
What Liana does not protect against
- A coin whose timelock runs out: Its recovery keys can spend it, even while you are alive. Refresh coins before that.
- Heirs who never find the wallet: A descriptor nobody finds is a wallet nobody inherits. Write the letter for your heir.
- A backend that lies: Bitcoin Core, an Electrum server and Liana Connect never hold a key. They can still hide a coin or drop a transaction. See Backends.