Work is getting near merging state under #2158
A user could still flash an evil-maid firmware unauthenticated to bypass authentication.
Up to now (before authentication keys being able to be restored on new smartcard received when lost) per #2158
So attack surface is now:
- got to system info, capture commit id of good firmware
- flash new evil maid firmware
- not reseal secrets, got to recovery shell
- backup firmware, giving keyring, trustdb and config.user override
- create havoc if needed (DoS: wipe os install)
- create reproducible build for known good commit, reflash that rom
- on reboot, totp/hotp good, but havoc created
What do we want here? prevent flashing when user has gpg priv key backup (so lost usb dongle is not bricking access?) or should we stay more liberal vs more secured? @JonathonHall-Purism @nestire ?
Work is getting near merging state under #2158
A user could still flash an evil-maid firmware unauthenticated to bypass authentication.
Up to now (before authentication keys being able to be restored on new smartcard received when lost) per #2158
So attack surface is now:
What do we want here? prevent flashing when user has gpg priv key backup (so lost usb dongle is not bricking access?) or should we stay more liberal vs more secured? @JonathonHall-Purism @nestire ?