
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@peac/http-signatures
Advanced tools
RFC 9421 HTTP Message Signatures parsing and verification. Runtime-neutral with no DOM dependencies.
pnpm add @peac/http-signatures
@peac/http-signatures implements the RFC 9421 HTTP Message Signatures standard for parsing structured signature headers, building canonical signature base strings, and verifying Ed25519 signatures. It is runtime-neutral and works in Node.js, Deno, and browser environments with WebCrypto support.
import { parseSignature, verifySignature, createWebCryptoVerifier } from '@peac/http-signatures';
const parsed = parseSignature(signatureHeader, signatureInputHeader);
const result = await verifySignature({
signature: parsed,
request: { method: 'GET', url: '/resource', headers },
verifier: createWebCryptoVerifier(publicKey),
});
console.log(result.verified); // true or false
import { parseSignatureInput } from '@peac/http-signatures';
const params = parseSignatureInput(
'sig1=("@method" "@target-uri" "content-type");created=1704067200;keyid="my-key"'
);
console.log(params.sig1.keyid); // 'my-key'
console.log(params.sig1.created); // 1704067200
import { buildSignatureBase, signatureBaseToBytes } from '@peac/http-signatures';
const base = buildSignatureBase({
components: ['@method', '@target-uri', 'content-type'],
request: { method: 'POST', url: '/api', headers },
params: { created: Math.floor(Date.now() / 1000), keyid: 'my-key' },
});
const bytes = signatureBaseToBytes(base);
@peac/jwks-cache: JWKS-based key resolution for signature verification@peac/server (Layer 5): Verification server uses HTTP signatures for request authentication@peac/middleware-express: Express middleware for signature verificationIf you are building an AI agent or MCP server that needs evidence receipts:
@peac/mcp-server for a ready-to-use MCP tool server@peac/protocol for programmatic receipt issuance and verificationApache-2.0
PEAC Protocol is an open source project stewarded by Originary and community contributors.
FAQs
RFC 9421 HTTP Message Signatures parsing and verification
We found that @peac/http-signatures demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.