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
Mission update: the PS need not return or serve the hashed bytes #237
L1471 (Mission Update): "returns its s256 — the unpadded base64url SHA-256 digest of the update's bytes as the PS persists them — so the sequence of accepted updates is verifiable, not merely stored:"
L1437 (Mission Identifier): "The PS MUST compute s256 over the exact bytes it persists as the mission blob, MUST return those same bytes as mission, and MUST serve them wherever it later exposes the mission for audit."
L1481 (Mission Update): "a party auditing the mission MUST read both."
L1471 already makes the update's bytes as persisted the hash input. Unlike L1437 for the blob, nothing requires the PS to return those bytes or to serve them unchanged wherever it exposes the update, so an auditor cannot be sure it holds the bytes the returned s256 was computed over. The interfaces through which other parties read a mission are left to a companion specification (L1530), and I am not asking to define them here.
Ask: Require the PS to return the exact persisted update bytes with the s256 and to serve those same bytes wherever it later exposes the update, as L1437 does for the blob, or to persist the update body exactly as received.
Agent request body: {"action":"update","description":"# Hotel unavailable\n\n..."}
The PS persists a re-serialised form and returns only {"s256": "..."} (L1471).
An auditor hashes the agent's request body and gets a different value.
No rule requires any surface to return the persisted bytes the s256 was computed over.
Activity