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
{{ message }}
Repository navigation
shell: the list of models can be rolled back to an older signed one (D56 follow-up) #826
Since D56 (#825), the list of models read again is refused unless its signature verifies under the decider's key. The signature's trusted comment, which holds the timestamp, is never read. So an older list, genuinely signed by the decider, is accepted again in place of a newer one. Someone who controls what Kitokey downloads, a network or a mirror for example, can then roll the list back: models removed since (withdrawn, unsafe) come back, and new ones disappear.
TUF's timestamp and snapshot roles, and apt's Valid-Until and date checks: a signed metadata file is refused when it is older than the one already trusted.
Oracle
A list signed by a test key, with an older timestamp in its trusted comment than the list built in, or than the last one accepted, is refused and the refusal is said. A newer one is accepted. The test fails before the fix.
Size
The smallest fix: read the trusted comment's timestamp, which minisign verifies with the signature, and compare it with the built-in list's. No new metadata format.
Activity