Commit graph

4966 commits

Author SHA1 Message Date
bunnie
08cf863ff5 update SoC artifacts for 0.9.11 build 2022-12-12 16:05:15 +08:00
bunnie
c32b5d5bac bump release notes 2022-12-12 15:31:15 +08:00
bunnie
80ce119c95 fix RSSI calculations 2022-12-12 15:31:06 +08:00
bunnie
edf24d9fc2 clean up on the wifi signal bars 2022-12-12 14:11:19 +08:00
bunnie
eb17edc4ec
Merge pull request #283 from gsora/feat/wifi-signal-bars
feat: wifi signal bar
2022-12-12 11:47:18 +08:00
bunnie
9a580070a3 revert threaded init question now that deface issue is fixed 2022-12-11 17:50:51 +08:00
bunnie
f9cdf31857 bump release notes 2022-12-11 17:07:29 +08:00
bunnie
196ceb0d29 fix: avoid thrashing when recomputing previously defaced canvases
There was a dubious line that I never felt good about and today
I found out why. By flipping every canvas to drawable before doing
the intersection computation we also throw away the defacement state,
so previously defaced canvases would lose their status bit, causing
thrashing of the canvases anytime there is a re-computation of
the canvas ordering.

This fix caches if a canvas was already defaced, and if it turns out
that an on-screen canvas should not be drawable but was already
defaced, the setting is re-applied, preventing thrashing.
2022-12-11 16:42:03 +08:00
bunnie
dca043d387 improve context swap debug messages 2022-12-11 16:41:53 +08:00
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
Gianguido Sorà
435a6ea2bd feat: wifi signal bar
This commit draws a Wi-Fi signal bar with 5 bars (lowest to highest signal), to the right of SSID name.

Signal power is calculated from a lowest of -90dBm to a maximum of -30dBm, by increments of 13dBm.
2022-12-07 14:28:07 +01: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