bunnie
8d8dd2bd2f
fix typo in unwrap message
2022-12-11 16:41:25 +08:00
bunnie
f31afa5125
remove unused opcode in shellchat; improve debug output
2022-12-11 16:41:06 +08:00
bunnie
6138b65d76
update comments to reflect changes in CI infra
2022-12-10 23:44:18 +08:00
bunnie
399124f942
fix hosted mode
2022-12-10 22:05:47 +08:00
bunnie
939e13950d
comment out debug in rootkeys implementation section
2022-12-10 18:59:55 +08:00
bunnie
2097afc166
add efuse burning flow to rootkeys
...
currently only available for builds that have the `efuse` feature
enabled
2022-12-10 18:58:06 +08:00
bunnie
19e16aea29
fix jtag fuse burning & add diagnostic messages
...
- msb/lsb swap on efuse bank fixed
- hazardous-debug feauter gates added
- dry-run for "testing only" added
2022-12-10 18:56:59 +08:00
bunnie
4ec866e1d7
add diagnostic seal command
2022-12-10 18:56:12 +08:00
bunnie
f5c687a524
clarify user prompt
2022-12-10 17:45:30 +08:00
bunnie
2b4e47384e
add fused device support and warnings to precursorupdater
2022-12-10 17:44:54 +08:00
bunnie
e42c4c7b33
add warnings & support for fused devices
...
burning a generic image to a fused device will surely lead to
a brick, so, try to keep a user from shooting themselves in the foot.
2022-12-10 16:39:14 +08:00
bunnie
c2f7a63f97
remove some whitespace to allow for easier debugging
2022-12-10 16:39:01 +08:00
bunnie
1f89843122
defer init root keys question until status thread starts
...
also defer the preference thread from loading until after the
PDDB mount thread is started -- doesn't make sense to start it
any earlier than that, since it depends on the PDDB being mounted.
2022-12-09 12:38:53 +08:00
bunnie
02f9701546
make an explicit dvt feature to simplify flags
2022-12-08 17:42:12 +08:00
bunnie
4dd983bfc4
adjust security parameters for dvt build
2022-12-08 17:19:05 +08:00
bunnie
fc08c3e29d
add hazardous-debug to modals bip-39
...
for convenient key printout during debug. flag is normally off.
2022-12-08 17:14:47 +08:00
bunnie
dd82b7f32a
add no-codec mode to status
...
this is for DVT builds where the codec isn't supported, needed
for efuse testing
2022-12-08 17:14:21 +08:00
bunnie
a5d341c7a6
add a bitstream encryption/recovery tool for fused devices
...
This is useful for recovering bricked devices where the backup
key is available. This tool can be used to generate an FPGA
image for a device that has been permanently fused to a non-0
backup key.
2022-12-08 14:09:36 +08:00
bunnie
4f270f54be
revert debugging on status opcodes
2022-12-07 22:24:56 +08:00
bunnie
f84a9d10c7
add placeholder for the efuse flow in the rootkey service
2022-12-04 18:13:37 +08:00
bunnie
8208a86c08
add the UX front-end for backup key burning
...
- instructions for BBRAM flow (refers to wiki)
- consent for efuse flow
- fix a blocking issue on backup prep (minor problem, just gives
users more time to contemplate without a panic)
2022-12-04 18:12:30 +08:00
bunnie
3838f3bc15
add a pause for context swaps on menu release
2022-12-04 18:12:05 +08:00
bunnie
53c9af1033
bump readme's
2022-12-02 23:00:38 +08:00
bunnie
52955681d5
reflect unmount status after tryunmount
...
this fixes a problem where backups fail when autobacklight is
enabled, because autobacklight is constantly querying the PDDB
for the length of the autobacklight timeout, even after the
PDDB is unmounted.
2022-12-02 20:10:10 +08:00
bunnie
6f5d37866c
clean up warning message
2022-12-02 15:06:00 +08:00
bunnie
f0e1597b5c
don't restore default text if field is cleared with backspace
...
even if persist is set, if the field has been edited, don't
restore the default text. otherwise, the default text re-appears
if you backspace to an empty string.
2022-11-30 15:15:56 +08:00
bunnie
c8ec87b2d6
apply persistent field to other authentication methods
2022-11-30 15:11:56 +08:00
bunnie
d7a3f8962d
update vault's password edit to use the new persistent field
2022-11-30 15:00:20 +08:00
bunnie
6a1271e890
add persistent default text for issue #281
...
this adds a method field_placeholder_persist() to the
text entry box builder. When this is used (instead of
field()), the placeholder, if provided, is treated as
"persistent" data, that is, when you press a key, it is
not automatically cleared, but instead, the user starts
editing the existing data.
2022-11-30 14:58:23 +08:00
bunnie
e8671650e3
add more test cases
2022-11-30 12:13:27 +08:00
bunnie
bf19a60369
add docs for CSV flow
2022-11-30 12:13:15 +08:00
bunnie
e63aaf8832
change wording of error on skipped entry
2022-11-30 12:12:43 +08:00
bunnie
a312432135
fix up some formatting & one missed string in the refactor
2022-11-30 11:31:57 +08:00
bunnie
9699cb761a
avoid use of format!() to improve performance ( #260 )
2022-11-30 00:56:08 +08:00
bunnie
e77588805c
fix issue #282
...
this now refers the keyboard preference setting to the
correct, specialized location because it is the only parameter
that must strictly be available before the system is secured.
2022-11-30 00:23:52 +08:00
bunnie
79c773e245
add basic CSV to password support
2022-11-29 23:53:27 +08:00
bunnie
501b694db8
bump verifier versions
2022-11-26 11:19:02 +08:00
bunnie
c696f4eff0
Merge pull request #279 from gsora/feat/hotp-vaultbackup
...
fix: support HOTP codes in `vaultbackup`
2022-11-25 18:12:20 -08:00
bunnie
1d1b3a35b7
commit version bump
2022-11-26 10:00:44 +08:00
bunnie
bf85402729
Merge pull request #280 from eupn/impl-bitwidth-bitoffset
...
svd2utra: implement bitWidth and bitOffset tags for fields
2022-11-25 17:53:25 -08:00
eupn
cb8ba8dbe3
svd2utra: implement bitWidth and bitOffset tags for fields
2022-11-25 18:16:49 +04:00
bunnie
998061448c
autobacklight on earlier; blocking poll of pddb mount
...
previously a busy-wait loop was used to poll the PDDB,
this makes it a blocking loop so the wait is more efficient.
also, allow the autobacklight to turn on before the PDDB
is mounted (so you can type your unlock PIN in the dark).
2022-11-24 14:02:18 +08:00
bunnie
9aa235d3d0
fix one more instance of old value being used for setting
2022-11-24 05:07:17 +08:00
bunnie
bacf2b65ab
trigger off of the new value setting not the old; fix default value on boot for autobacklight
2022-11-24 05:06:03 +08:00
bunnie
cc9cffcd39
Merge pull request #241 from gsora/feat/user-preferences
...
feat: user preference
2022-11-24 02:07:57 +08:00
bunnie
87a967dce1
bump lock file
2022-11-24 01:29:04 +08:00
bunnie
4ca99afa80
fix some merge conflicts that escaped in the loader
2022-11-24 01:16:18 +08:00
bunnie
ae68aa4120
Merge branch 'feat/user-preferences' into main
2022-11-24 01:15:00 +08:00
bunnie
be6f898e63
final re-org of top level menu before casting into CI
2022-11-24 00:47:32 +08:00
bunnie
b9682c240f
add comment about menu positions and the final decision and rationale
2022-11-24 00:34:51 +08:00