Skip to content

feat(erc8128): signed http requests#203

Open
jxom wants to merge 2 commits intomainfrom
jxom/erc8128
Open

feat(erc8128): signed http requests#203
jxom wants to merge 2 commits intomainfrom
jxom/erc8128

Conversation

@jxom
Copy link
Member

@jxom jxom commented Mar 25, 2026

Summary

Adds modules for ERC-8128/RFC9421 (Signed HTTP Requests).

Details

  • Added HttpSignature module with getSignPayload, serialize, toRequest, and fromRequest for RFC 9421 HTTP Message Signatures with Ethereum accounts (ERC-191).
  • Added ContentDigest module with compute, serialize, deserialize, and verify for RFC 9530 Content-Digest headers.
  • Accepts both plain request objects and Fetch API Request.
  • Supports custom components for class-bound signatures.
  • Internal modules for KeyId and HttpSignatureInput serialization.
  • SF-string quoting per RFC 8941.

Modules Touched

  • ERC-8128 HTTP Signatures: HttpSignature
  • RFC 9530 Content-Digest: ContentDigest

@vercel
Copy link

vercel bot commented Mar 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ox Error Error Mar 25, 2026 2:47am

Request Review

@jxom jxom changed the title feat: erc-8128 signed http requests feat(erc8128): signed http requests Mar 25, 2026
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 25, 2026

Open in StackBlitz

npm i https://pkg.pr.new/ox@203

commit: 3e06187

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.

1 participant