Mnemonic-Seed
將 bip39 種子分成三分之二的身份驗證的實用方法?
我想保留我的種子的異地紙質備份,但這會增加遭受物理攻擊的風險。我可以以某種方式將我的助記符分成三部分,我只需要其中兩部分來恢復我的 Trezor 嗎?
可以使用Shamir’s Secret Sharing Scheme,但輸入的 ASCII 字元串長度必須小於 128 個 ASCII 字元。幸運的是,保證 2048 個英語 BIP 39 單詞從它們的第一個四個字元開始是唯一的,有時甚至更少的字元。
讓我們假設24個恢復詞是“地堡殘骸真正的邊緣造成有氧夥伴憐憫離婚狼明亮免疫胖腳詩人部分維持揭示獨特反映有拉丁問題章節”,它超過128個字元。
縮短後的字元串變為“ bunk wrec real edge infl aero budd merc divo wolf brig immu fat foot police sect sust reve uniq refl have lati prob chap ”。通過檢查2048 個英語 BIP 39 個單詞的完整列表,可以重構完整的單詞長度。
您可以從<http://point-at-infinity.org/ssss/>
ssss-split
獲取和獲取。在 Arch Linux 上,有一個AUR 包提供它們。ssss-combine
% echo "bunk wrec real edge infl aero budd merc divo wolf brig immu fat foot poet sect sust reve uniq refl have lati prob chap" | ./ssss-split -t 2 -n 3 -w MyWill WARNING: couldn't get memory lock (ENOSYS, kernel doesn't allow page locking). Generating shares using a (2,3) scheme with dynamic security level. Enter the secret, at most 128 ASCII characters: Using a 944 bit security level. **MyWill-1-e77f7d1fbeca7f35fc9735f698df76e3aa6187c5b8b1110ab1b249b69435fd23f3e35724736f0a76aa3157d8c483f9a633ba254dc518fda26ec1ee0907a7dc8dba1a9733ab14038b0f2e42ce8ad457192befa42c8afa7d55d739f07e7f252463610b1030283002941187b0fc2e423730af25d54807da** **MyWill-2-bbf6fc411a6cce683b26bd888aed207ba3ef8aa8235a89010031f67f565bfbebd6e410e2cd16145bb28475d2b71eba8fccecb5bcf881e3eb26ba8d5f65ee61a6981052f8eab864e8a7b582e969cc34ec917157303005d674584ad57e0097bb9408a83948d4960d29316a548bce8c4ecee23ad7474436** **MyWill-3-70718374860ea15c8649c5a284fcedf3a4958e7355fc010790b09cc7e87e0653ca192da0a73ee1bf45176bd49995846899dec5ec13f6e9d3e16c5392bbd6f54079e9ee41d5dc46363fc33d0bc8c415bff8fb063ba650b094dd64367e2a0631392fc9219f7f0bf7bdd13108a691366664d9302942736f** % ./ssss-combine -t 2 WARNING: couldn't get memory lock (ENOSYS, kernel doesn't allow page locking). Enter 2 shares separated by newlines: Share [1/2]: MyWill-1-e77f7d1fbeca7f35fc9735f698df76e3aa6187c5b8b1110ab1b249b69435fd23f3e35724736f0a76aa3157d8c483f9a633ba254dc518fda26ec1ee0907a7dc8dba1a9733ab14038b0f2e42ce8ad457192befa42c8afa7d55d739f07e7f252463610b1030283002941187b0fc2e423730af25d54807da Share [2/2]: MyWill-3-70718374860ea15c8649c5a284fcedf3a4958e7355fc010790b09cc7e87e0653ca192da0a73ee1bf45176bd49995846899dec5ec13f6e9d3e16c5392bbd6f54079e9ee41d5dc46363fc33d0bc8c415bff8fb063ba650b094dd64367e2a0631392fc9219f7f0bf7bdd13108a691366664d9302942736f **Resulting secret: bunk wrec real edge infl aero budd merc divo wolf brig immu fat foot poet sect sust reve uniq refl have lati prob chap**
相同的 Shamir 的秘密共享方案也可以應用於互補的BIP 39 密碼片語。