xous-core/libs
bunnie e6bef77b5f
change boot1 default behavior
The motivation for this is to make the tester configuration
exactly identical to that used in production. Right now a
"cheater" step is used to set the board type to dabao and
enable boot waiting because in the test environment there
isn't a physical switch anyone can press to invoke that
behavior.

So, in order to get the test environment to work just like
production, the behavior goes from insta-die if no valid
image is found on the next stage, to "wait for new image".
This is slightly less secure of a default, but only slightly
so. Basically the previous scheme required someone to be
physically present to press the "give me a new image" button,
this one causes the system to automatically accept a new image.
I suppose the main downside is this does allow the possibility
of say, a fully remote, automated exploit to be delivered
if an adversary can damage the loader image such that it
doesn't pass signature check and then it will automatically
go into a mode looking for a new image, at which point
an arbitrary image could be potentially loaded (although
because the image would need to be signed, and there is
a trap that destroys secrets if a developer image is
presented, it wouldn't instantly lead to secret disclosure,
but it would be a denial of service).

The flip side is that with the paranoid default, developers
are "confused" by the silent failure of a brand new chip that
has no code loaded in it (because it goes catatonic until
the developer knows to press the load button).

The loader image is protected from writes after boot, so
in theory there isn't a direct path to "spoil" the loader
image and trigger this path, so it's not like we're just
hanging in the wind. It just means that there isn't a
full human-presence requirement as a defense in depth against
a potential denial of service if an adversary could find
a way to spoil the loader image.

If the DoS path is a concern, one option is to configure
the system such that the developer key is revoked. This
would disallow that from being recognized as a valid
image, and would also prevent the DoS from happening,
as it would require the adversary to present a valid,
signed image which presumably they can't as long as
the signing keys are kept safe.
2025-10-27 18:22:00 +08:00
..
bao1x-api change boot1 default behavior 2025-10-27 18:22:00 +08:00
bao1x-hal rram handler for std environment 2025-10-26 22:18:23 +08:00
blitstr2 bump versions 2025-10-06 13:23:18 +08:00
chat bump versions 2025-10-06 13:23:18 +08:00
cos_table format libs/cos_table 2024-01-14 19:12:38 +08:00
flatipc update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00
flatipc-derive update formatting to latest nightly rules 2024-09-24 01:49:45 +08:00
keystore-api bump versions 2025-10-06 13:23:18 +08:00
mass-storage bump versions 2025-10-06 13:23:18 +08:00
perflib bump versions 2025-10-06 13:23:18 +08:00
precursor-hal reduce the pddb size for the vexii-test target 2025-07-21 19:03:24 +08:00
tls bump versions 2025-10-06 13:23:18 +08:00
userprefs bump versions 2025-10-06 13:23:18 +08:00
ux-api bump versions 2025-10-06 13:23:18 +08:00
xous-bio bump versions 2025-10-06 13:23:18 +08:00
xous-bio-bdma bump versions 2025-10-06 13:23:18 +08:00
xous-pio bump versions 2025-10-06 13:23:18 +08:00
xous-pl230 bump versions 2025-10-06 13:23:18 +08:00