BOMBARCHIVE
Explore

A living reference collection. Written in the wiki, preserved in Git.

The archiveBitcoin

SLIP 39

SLIP 39 (''Shamir's Secret-Sharing for Mnemonic Codes'') is a SatoshiLabs specification for encoding a wallet master secret as multiple recovery shares. A chosen threshold of shares is needed to reconstruct the secret; no individual share needs to disclose it. The document carries a creation date of 18 December 2017, while the first preserved Git working draft was committed on 19 December 2017. Its maintained status is Final. It is an application-level backup format, not a Bitcoin consensus rule. Original working draft · Maintained specification

A SLIP 39 share is not a BIP 39 recovery phrase. BIP 39 turns input randomness into a complete mnemonic and then into seed bytes; SLIP 39 reconstructs a secret from multiple share mnemonics. The latter can initialize a BIP 32 wallet once recovery has succeeded. Similar-looking paper backups can therefore require quite different interpretation and software. Abstract and BIP 32 backup specification · BIP 39

Why split a backup?

Copying a complete wallet seed to several locations protects against losing one copy, but also makes any exposed copy sufficient for theft. Shamir's secret sharing distributes that risk: a selected threshold of polynomial shares reconstructs the secret; fewer shares are intended to reveal nothing about it under the scheme's cryptographic assumptions. The original 2017 draft argued that standardized recovery encoding would protect against future loss of particular software tools. This is a contemporary statement of design motivation, not proof that every real-world backup using the scheme remains recoverable. Original motivation · Secret-sharing scheme

The maintained format uses two levels. First an encrypted master secret is divided among groups, with a required group threshold. Each group share may in turn require a specified threshold of its own members. For example, two groups must cooperate, but one might require two out of three holders while another requires three out of five. Five people from just one group do not meet a two-group threshold. In a simple one-level arrangement, the specification recommends one group and a threshold of member shares. Introduction of group sharing · Two-level scheme and group policy

master secret
     |
passphrase encryption
     |
encrypted master secret
     |
group threshold: 2 of 3
   /      |      \
group A  group B  group C
   |       |       |
member  member   member
shares  shares   shares

The current share format uses a 1,024-word English list. Share mnemonics are 20 words for a 128-bit master secret and 33 words for a 256-bit one. Their encoded fields include a 15-bit set identifier, extendable-backup flag, iteration exponent, group and member indexes and thresholds, share value and 30-bit RS1024 checksum. Recovery software uses these fields to distinguish shares and reject incompatible combinations. Format, checksum and wordlist · Published test vectors

A share checksum checks transcription, while the recovery algorithm separately checks a short digest of the reconstructed encrypted secret. Neither verifies a wallet passphrase. The specification explicitly states that a different passphrase produces another master secret rather than an error. It restricts passphrases to printable ASCII for interoperability, unlike BIP 39's UTF-8 NFKD normalization. The risk is operational: every holder can have enough correct shares and still restore the wrong wallet because the passphrase was mistaken. Passphrase and reconstruction rules · Mnemonic-to-seed rule

How the standard changed

18–19 December 2017
The document header records 18 December as its creation date, but the earliest preserved Git working draft was committed on the 19th. It described a GF(2^16) scheme, four-bit index/threshold fields, a 16-bit checksum and an unfinished wordlist. It also described the polynomial degree incorrectly in terms of the total number of shares rather than the threshold. This is evidence of **draft text**, not proof that those fields were deployed. Original 68-line draft
2018
The specification underwent successive revisions to its field representation, identifiers, checksums and passphrase construction. On **19 September 2018**, a substantial merged change documented a Feistel design and replaced an earlier Bech32-style checksum proposal with **RS1024**. Andrew Kozlik was added to the author list. These revisions matter for interpreting surviving implementation snapshots, but a specification edit is not a software release. September revision · July intermediate fields
15 and 27 March 2019
The **15 March** rewrite introduced the modern **two-level group** model. The **27 March** revision changed the secret-recovery digest from a double-SHA construction to an HMAC-based construction. These are changes to the specified procedure, not evidence of funds protected by each intermediate design. Group-sharing rewrite · Recovery digest change
August–October 2019
Trezor's Model T firmware changelog records **Shamir Backup** in version **2.1.3 (August)**, a related hotfix in 2.1.4 and **Super Shamir** in version **2.1.6 (October)**. This is a first-party release record documenting deployment, stronger evidence than the presence of an implementation name in a maintained list. It is not an independent audit of those binaries or of their users' recoveries. Model T firmware history
30 December 2020
The SLIP added a precise interoperability rule for BIP 32 backups: the SLIP master secret must be the **BIP 32 master seed bytes** used as input to create the master node. The commit resolved ambiguity about what stage of wallet derivation was being backed up. It does not independently establish that earlier implementations were incompatible. Master-seed clarification
9 March 2021
A repository-wide metadata update changed the SLIP's classification from **Draft** to **Final**. A status change identifies a standard's maintained state, not the adoption date for every compatible wallet. Status change
9 May 2024
An **extendable backup flag** was added, using one bit previously assigned to the five-bit iteration exponent. The updated scheme permits a newly generated share set with a different identifier to recover the same original master secret, while retaining recovery of older shares. May extension
20 June 2026
A correction repaired the written explanation of polynomial degree. The direct evidence is a **documentation correction**; it does not establish a defect in deployed threshold arithmetic. Mathematics wording correction

The extendable-backup boundary

Before the 2024 change, the share-set identifier participated in the passphrase-encryption salt. Regenerating shares under a new identifier could therefore change the reconstructed wallet even if the user retained the same underlying input secret and passphrase. With ext = 1, the identifier no longer contributes to that salt. With ext = 0, the old rule remains in effect. The maintained text recommends the extendable form for new shares and requires support for decrypting both. Source diff · Extendable-backup rationale

New share sets are not interchangeable share-by-share. They can reconstruct the same underlying secret but must be recovered as their own valid sets, not mixed at random. Nor does the format flag itself prove that a particular device can enlarge an existing group without replacing any old shares. A Trezor firmware issue opened 4 October 2024 discussed that separate interface capability, which should be tested against actual releases. Recovery validation · Feature discussion

The BIP 39 conversion problem

BIP 39 derives a 512-bit seed by processing the mnemonic words themselves and their optional passphrase. SLIP 39 recovers a different object, the master secret used to initialize a wallet. The maintained SLIP says an existing BIP 39 wallet can be preserved by sharing its resulting 512-bit seed, but that means 59-word SLIP 39 shares, not simply distributing parts of a twelve-word phrase. Going from an arbitrary recovered SLIP 39 master seed back to a BIP 39 mnemonic that produces the identical seed is not generally possible by a direct format conversion. The specification's recommendation to move funds to a newly backed-up wallet is author guidance, not an on-chain requirement. Compatibility with BIP 39 · Mnemonic-to-seed construction

BIP 85 solves a different task: a single protected private root can reproducibly produce new, separate child secrets for applications. SLIP 39 divides control of one chosen backup secret among threshold share holders. Neither encodes which BIP 44 derivation path, descriptor or historical output the recovered wallet should search. That missing layer matters when recovering Ordinals and Bitmap holdings: restoring private material does not independently reconstruct every application interpretation of an output. BIP 85 · BIP 32 backup · Descriptors

Evidence boundaries and open work

Dated Git commits directly establish changes to the document, not the first real-world use of each intermediate design. The 2019 Trezor changelog is first-party software release documentation; the maintained list of compatible wallets is not a historical census of independently tested recovery behavior. As with any backup scheme, real security also depends on cryptographic randomness, implementation correctness, enough shares surviving, a preserved passphrase and reliable custody arrangements.

Open question
Find and test version-pinned implementations corresponding to the 2017 and 2018 draft designs, if any, rather than assuming that developing specifications reached users.
Open question
Verify 2019 Model T firmware 2.1.3 and 2.1.6 binaries and actual Shamir recovery behavior against contemporary specification snapshots.
Open question
Test legacy and extendable share sets across reference-library tags and available signing devices, distinguishing regeneration of a new set from increasing membership in an existing set.

From the archivist's desk

The paper words are only the visible tip of a recovery contract. I went looking for a familiar mnemonic divided among friends and instead found a standard whose field, checksum, group and encryption designs had changed repeatedly before its first documented firmware release. A share restores a secret; the secret regenerates keys; the wallet still needs to find what those keys control. Those three acts deserve three different names.

See also