You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refine STATUS/NOTE/INFO logging for consistent UX and accurate terminology
- doc/logging.md: rewrite INFO/NOTE sections, add sleep/blank-line table columns
for NOTE/WARN/DIE, clarify when to use each level
- initrd/bin/key-init.sh: streamline status messages, use 'public keys'
terminology consistently (keys are for verification, not signing),
consolidate under single STATUS/STATUS_OK pair
- initrd/bin/gui-init.sh: remove noisy STATUS pairs (HOTP presence check,
TOTP/HOTP generation, TPM reset), add STATUS_OK for HOTP verification
- initrd/bin/oem-factory-reset.sh: change INFO to NOTE for user guidance
(questionnaire, key generation explanations), add STATUS_OK for
key generation, TPM reset, firmware flash, checksum signing steps
- initrd/bin/gpg-gui.sh: change INFO to NOTE for gpg card-edit instructions
(user-facing hand-off guidance)
- initrd/bin/seal-totp.sh: change INFO to STATUS for PCR reading,
change STATUS to NOTE for TOTP secret manual input display
- initrd/bin/tpmr.sh: change INFO to WARN for TPM unseal failure
(actionable problem, not just informational)
- initrd/bin/cbfs-init.sh: clarify STATUS message for full SPI flash dump,
add STATUS_OK for successful flash read
- initrd/bin/kexec-seal-key.sh: add STATUS_OK for LUKS TPM Disk Unlock
Key generation, slot addition, LUKS header measurement, PCR reads
- initrd/bin/seal-hotpkey.sh: add STATUS/STATUS_OK for HOTP secret
writing to security dongle
- initrd/bin/unseal-hotp.sh: add STATUS/STATUS_OK for HOTP secret
unsealing from TPM
- initrd/bin/lock_chip.sh: add STATUS_OK for chipset write protection lock
- initrd/bin/network-init-recovery.sh: add STATUS_OK for ethernet module
loading, hardware clock sync, Dropbear SSH server start
- initrd/etc/gui_functions.sh: remove redundant STATUS_OK for dongle
detection, add STATUS_OK for signing key verification only on match,
update signing key guidance message
- initrd/etc/functions.sh: fix dongle VID wait loop: add sleep 0.1
to avoid busy-wait, add iteration cap (30) as hard fallback when
/proc/uptime is unavailable to prevent infinite loop
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
| DIE | bold red |`\033[1;31m`| Red = universal danger signal; `!!! ERROR:` prefix is the semantic carrier |
296
-
| WARN | bold yellow |`\033[1;33m`| Most universally perceptible alert color across deuteranopia, protanopia, tritanopia |
297
-
| NOTE | italic white |`\033[3;37m`| White = highest-contrast neutral on dark consoles; italic separates NOTE from bold STATUS/WARN, no semantic hue |
298
-
| STATUS | bold only |`\033[1m`| In-progress actions - bold without hue readable in every terminal theme; `>>` prefix differentiates semantically |
299
-
| STATUS_OK | bold green |`\033[1;32m`| Confirmed success - green is universally understood as success; scannable at a glance against plain bold STATUS |
300
-
| INFO | green |`\033[0;32m`| Standard informational color; INFO is optional context, its absence on console is harmless |
301
-
| INPUT | bold white |`\033[1;37m`| Maximum contrast (21:1) on VGA/dark consoles; no color dependency, readable under all deficiency types |
0 commit comments