Skip to content

Commit

Permalink
Support A4 paper
Browse files Browse the repository at this point in the history
  • Loading branch information
pjkundert committed Feb 26, 2024
1 parent e2e0d08 commit 98ba69b
Show file tree
Hide file tree
Showing 9 changed files with 141 additions and 306 deletions.
8 changes: 4 additions & 4 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ sets of 20 words is difficult, error-prone and time consuming.

Here's a full round-trip demonstration of:
- Creating new (or "Backing Up" existing) Seed Entropy as a BIP-39 Mnemonic
- Recovering the Seed Entropy from SLIP-39 (via [[https://iancoleman.com/slip39/]])
- Recovering the original BIP-39 (via [[https://iancoleman.com/bip39/]])
- Recovering the Seed Entropy from SLIP-39 (via [[https://iancoleman.io/slip39/]])
- Recovering the original BIP-39 (via [[https://iancoleman.io/bip39/]])

First, we generate create SLIP-39 Cards representing a BIP-39 Mnemonic seed:

Expand Down Expand Up @@ -109,7 +109,7 @@ slip39 -q --secret "seven replace great luggage fox rent general tower guess ins
[[./images/SLIP39-recover-BIP39-entropy.png]]

Later, when you need to recover your BIP-39 Seed Entropy and Mnemonic, use this SLIP-39 App or
[[https://iancoleman.com/slip39/]] and entry some of your SLIP-39 Mnemonic Cards. These may need
[[https://iancoleman.io/slip39/]] and enter some of your SLIP-39 Mnemonic Cards. These may need
to be collected from friends and family.

In this case, we're using the First and Second cards, intended for you to secure, separately from
Expand All @@ -121,7 +121,7 @@ slip39 -q --secret "seven replace great luggage fox rent general tower guess ins
[[./images/SLIP39-recover-BIP39-mnemonic.png]]

Finally, convert the recovered Seed Entropy back to your BIP-39 Mnemonic. This requires 2 steps
if you use [[https://iancoleman.com/bip39/]]
if you use [[https://iancoleman.io/bip39/]]

In this step, we're simply converting the recovered Seed Entropy back into its BIP-39 Mnemonic.
You need to select the "[X] show entropy details" checkbox in order to enter the raw Seed Entropy
Expand Down
Binary file modified README.pdf
Binary file not shown.
415 changes: 125 additions & 290 deletions README.txt

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions SLIP-39-macOS.spec
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ app = BUNDLE(
exe,
name='SLIP-39.app',
icon='images/SLIP-39.icns',
version='11.2.0',
version='11.2.1',
info_plist={
'NSPrincipalClass': 'NSApplication',
'NSAppleScriptEnabled': False,
'LSBackgroundOnly': False,
'NSRequiresAquaSystemAppearance': 'No',
'CFBundleSupportedPlatforms': ['MacOSX'],
'CFBundleIdentifier': 'ca.kundert.perry.SLIP39',
'CFBundleVersion':'11.2.0',
'CFBundleVersion':'11.2.1',
'CFBundlePackageType':'APPL',
'LSApplicationCategoryType':'public.app-category.utilities',
'LSMinimumSystemVersion':'10.15',
Expand Down
2 changes: 1 addition & 1 deletion requirements-gui.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pysimplegui >=4.60
pysimplegui >=4.60, <5
8 changes: 4 additions & 4 deletions slip39/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
BUSINESS_CARD = (2, 3+1/2), 1/32 # noqa: E241
CREDIT_CARD = (2+1/4, 3+3/8), 1/32
INDEX_CARD = (3, 5), 1/16 # noqa: E241
HALF_LETTER = (13.5/3,8), 1/8 # noqa: E241 (actually 2/letter, 3/legal)
THIRD_LETTER = (13.5/4,8), 1/8 # noqa: E241 (actually 3/letter, 4/legal)
QUARTER_LETTER = (10.5/4,8), 1/8 # noqa: E241 (actually 4/letter, 5/legal)
HALF_LETTER = (13.5/3,7+3/4), 1/8 # noqa: E241 (actually 2/letter, 3/legal)
THIRD_LETTER = (13.5/4,7+3/4), 1/8 # noqa: E241 (actually 3/letter, 4/legal)
QUARTER_LETTER = (10.5/4,7+3/4), 1/8 # noqa: E241 (actually 4/letter, 5/legal)
PHOTO_CARD = (3+1/2, 5+1/2), 1/16 # prints on 4x6 photo paper w/ 1/4" default outer border

# SLIP-39 Mnemonic Card Sizes
Expand All @@ -64,7 +64,7 @@
index = INDEX_CARD,
half = HALF_LETTER,
third = THIRD_LETTER,
quarter = THIRD_LETTER,
quarter = QUARTER_LETTER,
photo = PHOTO_CARD,
)

Expand Down
4 changes: 2 additions & 2 deletions slip39/gui/SLIP-39-CRYPTO.org
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Ledger, etc. compatible) displayed are:
|-----------+--------+----------+-------------------+---------+---------|
| (default) | ETH | Legacy | m/44'/ 60'/0'/0/0 | 0x... | |
| (default) | BTC | Bech32 | m/84'/ 0'/0'/0/0 | bc1... | |
| | | SegWit | m/44'/ 0'/0'/0/0 | 3... | |
| | | SegWit | m/49'/ 0'/0'/0/0 | 3... | |
| | | Legacy | m/44'/ 0'/0'/0/0 | 1... | |
| Recover | LTC | Bech32 | m/84'/ 2'/0'/0/0 | ltc1... | |
| | | SegWit | m/44'/ 2'/0'/0/0 | M... | |
| | | SegWit | m/49'/ 2'/0'/0/0 | M... | |
| | | Legacy | m/44'/ 2'/0'/0/0 | L... | |
| Recover | DOGE | Legacy | m/44'/ 3'/0'/0/0 | D... | |
| Pro | BSC | Legacy | m/44'/ 60'/0'/0/0 | 0x... | Beta |
Expand Down
4 changes: 2 additions & 2 deletions slip39/gui/SLIP-39-CRYPTO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ compatible) displayed are:
──────────────────────────────────────────────────────────────────
(default) ETH Legacy m/44'/ 60'/0'/0/0 0x…
(default) BTC Bech32 m/84'/ 0'/0'/0/0 bc1…
SegWit m/44'/ 0'/0'/0/0 3…
SegWit m/49'/ 0'/0'/0/0 3…
Legacy m/44'/ 0'/0'/0/0 1…
Recover LTC Bech32 m/84'/ 2'/0'/0/0 ltc1…
SegWit m/44'/ 2'/0'/0/0 M…
SegWit m/49'/ 2'/0'/0/0 M…
Legacy m/44'/ 2'/0'/0/0 L…
Recover DOGE Legacy m/44'/ 3'/0'/0/0 D…
Pro BSC Legacy m/44'/ 60'/0'/0/0 0x… Beta
Expand Down
2 changes: 1 addition & 1 deletion slip39/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version_info__ = ( 11, 2, 0 )
__version_info__ = ( 11, 2, 1 )
__version__ = '.'.join( map( str, __version_info__ ))

0 comments on commit 98ba69b

Please sign in to comment.