Skip to content

Commit 37f9fff

Browse files
committed
Version 9.1.1; Entropy Analysis integrated
1 parent d467494 commit 37f9fff

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

SLIP-39-macOS.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ coll = COLLECT(exe,
5050
app = BUNDLE(coll,
5151
name='SLIP-39.app',
5252
icon='images/SLIP-39.icns',
53-
version='9.1.0',
53+
version='9.1.1',
5454
info_plist={
55-
'CFBundleVersion':'9.1.0',
55+
'CFBundleVersion':'9.1.1',
5656
'CFBundlePackageType':'APPL',
5757
'LSApplicationCategoryType':'public.app-category.finance',
5858
'LSMinimumSystemVersion':'10.15.0',

slip39/gui/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ def app(
10891089
group_threshold = group_threshold,
10901090
groups = groups,
10911091
cryptocurrency = cryptocurrency,
1092-
passphrase = passphrase,
1092+
passphrase = passphrase.decode( 'UTF-8' ) if passphrase else None,
10931093
wallet_pwd = wallet_pwd,
10941094
wallet_pwd_hint = wallet_pwd_hint,
10951095
wallet_derive = wallet_derive,

slip39/layout/pdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def produce_pdf(
322322
if len( accounts[0] ) > 1:
323323
tpl['card-crypto2'] = f"{accounts[0][1].crypto} {accounts[0][1].path}: {accounts[0][1].address}"
324324
tpl['card-qr2'] = qr[1].get_image()
325-
tpl[f'card-g{g_n}'] = f"{g_name:8.8}..{mn_n+1}" if len(g_name) > 9 else f"{g_name} {mn_n+1}"
325+
tpl[f'card-g{g_n}'] = f"{g_name:7.7}..{mn_n+1}" if len(g_name) > 8 else f"{g_name} {mn_n+1}"
326326
tpl['card-link'] = 'slip39.com'
327327
if watermark:
328328
tpl['card-watermark'] = watermark

slip39/util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ def round_onto( value, keys, keep_sign=True ):
143143

144144

145145
entropy_signal_strengths = {
146+
3: "very bad",
146147
2: "bad",
147148
1: "poor",
148149
0: "weak",

slip39/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version_info__ = ( 9, 1, 0 )
1+
__version_info__ = ( 9, 1, 1 )
22
__version__ = '.'.join( map( str, __version_info__ ))

0 commit comments

Comments
 (0)