diff --git a/shared/nvstore.py b/shared/nvstore.py index 9142432a..aee417ad 100644 --- a/shared/nvstore.py +++ b/shared/nvstore.py @@ -67,7 +67,7 @@ from utils import call_later_ms # msas = multisig address show (do not censor multisig addresses) # ccc = (complex) If present, CCC feature is enabled and key details stored here. # ktrx = (privkey) Key teleport Rx has been started, this will be our keypair -# sssp = (complex) If present, spending-policy (single signer) feature are defined +# sssp = (complex) If present, a (single signer) spending-policy is defined (maybe disabled) # lfr = (string) If present, the reason why Spending Policy blocked last transaction # Stored w/ key=00 for access before login diff --git a/shared/trick_pins.py b/shared/trick_pins.py index fa38b205..6058c68e 100644 --- a/shared/trick_pins.py +++ b/shared/trick_pins.py @@ -312,7 +312,7 @@ class TrickPinMgmt: # remove all bypass pins, they are done w/ feature for k, (sn,flags,arg) in self.tp.items(): if (flags & TC_FW_DEFINED) and (arg == TCA_SP_UNLOCK): - self.clear_slots(range(sn, sn+1)) + self.clear_slots([sn]) self.forget_pin(k) @@ -716,7 +716,7 @@ hiding this item.''') return if (flags == TC_FW_DEFINED) and (arg == TCA_SP_UNLOCK): - msg = "It will still be possible to change or disable the spending policy if this PIN if known." + msg = "It will still be possible to change or disable the spending policy if this PIN is known." elif pin == WRONG_PIN_CODE: msg = "This will hide what happens with wrong PINs from the menus but it will still be in effect." else: diff --git a/testing/test_hobble.py b/testing/test_hobble.py index 4042a5c6..4a136b65 100644 --- a/testing/test_hobble.py +++ b/testing/test_hobble.py @@ -22,7 +22,7 @@ When hobbled... * notes hidden if the exist but access disabled in policy * verify no settings menu -- temp seeds are read only: no create, no rename, etc. +- temp seeds are read-only: no create, no rename, etc. - seed vault can be accessed tho - login sequence