Commit graph

10340 commits

Author SHA1 Message Date
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
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
bunnie
9e79dd5292 more translations and cosmetic improvements 2022-11-23 06:29:58 +08:00
bunnie
e9c94aaab6 fixup more translations 2022-11-23 06:12:18 +08:00
bunnie
0c849c148c remove wifi on/off from wlan setting
because the wifi kill switch is this setting.

trying to stick to the rule of "one place to set something only"
2022-11-23 06:02:38 +08:00
bunnie
4fdbec310c modify wifi on boot to wifi kill switch 2022-11-23 06:00:59 +08:00
bunnie
22ccc5836e move connection manager start/stop to the correct block 2022-11-23 05:46:15 +08:00
bunnie
816b3683c5 clean up connect to networks on boot flow 2022-11-23 05:43:11 +08:00
bunnie
c48e29fb2c add a way to specify a default value for a setting
turns out more than one item needs to have a default that
doesn't match Rust default values for types. add _or_value()
method so we can specify a default on a blank DB that matches
the expected UX
2022-11-23 05:01:03 +08:00
bunnie
c5d6bd655c fix polarity of preferences update 2022-11-23 03:03:31 +08:00
bunnie
74ccdd5eae cleanup translation 2022-11-23 02:57:08 +08:00
bunnie
8f8d4be73b cleanup autobacklight flow
remove redundant mention on top level menu
2022-11-23 02:52:16 +08:00
bunnie
749b701687 print backlight debug in hosted mode 2022-11-23 02:52:03 +08:00
bunnie
26adda2fa7 CHORE: clean whitespace 2022-11-23 02:18:02 +08:00
bunnie
689276d631 localize autobacklight; make autobacklight on by default 2022-11-23 02:15:51 +08:00
bunnie
024f400f97 fix API change in pddbcommon that impacts pddbdbg.py 2022-11-19 22:34:47 +08:00
bunnie
908818010d fix API change in pddbcommon that impacts pddbdbg.py 2022-11-19 22:33:43 +08:00
bunnie
360b0cbd81 commit a fixed soc image at 2022.08 2022-11-18 19:18:54 +08:00