Skip to content

Commit 698efe8

Browse files
dickhardtclaude
andcommitted
Export calculateThumbprint from @hellocoop/httpsig
Expose the RFC 7638 JWK thumbprint function as a public API so consumers don't need to implement their own (which led to bugs with missing y parameter for EC keys). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 98635a0 commit 698efe8

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

httpsig/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hellocoop/httpsig",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"description": "HTTP Message Signatures (RFC 9421) with Signature-Key header support",
55
"repository": {
66
"type": "git",

httpsig/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ export {
2323
export { generateKeyPair } from './utils/crypto.js'
2424
export type { GenerateKeyPairOptions, KeyPair } from './utils/crypto.js'
2525

26+
export { calculateThumbprint } from './utils/thumbprint.js'
27+
2628
export type {
2729
HttpSigFetchOptions,
2830
SignatureKeyType,

0 commit comments

Comments
 (0)