Skip to content

security: verify update manifests before parsing payloads - #222

Open
turinglambdaai wants to merge 1 commit into
mainfrom
security/verify-before-parse
Open

turinglambdaai wants to merge 1 commit into
mainfrom
security/verify-before-parse

Conversation

@turinglambdaai

Copy link
Copy Markdown
Owner

Closes #221.

Authenticates the exact payload bytes before the semantic JSON parser sees them. The regression test supplies malformed payload bytes with a well-formed but mismatched Ed25519 signature and requires the cryptographic failure, not a JSON parse diagnostic.

Also documents
ead-signed-manifest as an explicitly unauthenticated inspection API while �erify-signed-manifest remains the runtime trust boundary.

Local evidence:

aco test tests/distribution.rkt — 55 passed

  • public API + documentation tests — 177 passed
  • Scribble renders successfully

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Verify manifest signatures before parsing authenticated payloads

1 participant