Skip to content

Conform browser verifier to updated protocol model #2

Description

@jt55401

Implement the browser-client cleanup from the spec review.

Tasks:

  • Use canonical unpadded Base64 consistently.
  • Verify against serialized origins rather than hostname.
  • Implement the finalized claims contract: all direct child meta elements inside signed-section are signed claims.
  • Implement the signed attribute allowlist starting with href, src, alt, and aria-label.
  • Add server-HTML snapshot verification support with explicit result states for source-only, stale, and rendered-content match.
  • Align key resolution, directory fetches, and endorsement verification with the provisional network/CSP/privacy model.
  • Replace freeform failure strings with the spec enum.

Spec tracking issue: HTMLTrust/htmltrust-spec protocol cleanup after security review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions