Skip to content

Releases

1.1.2

Choose a tag to compare

@tamaina tamaina released this 05 Oct 04:20

Correct the README's HTTP Message Signatures Implementation Level section.

  • Explain the independent two-character dimensions: signature/digest family and Actor key discovery.
  • Document all markers from 00 through 12; x1 (01/11) is the deprecated additionalPublicKeys proposal, while x2 (02/12) uses assertionMethod/Multikey.
  • Describe the revised, unmerged Misskey PR's 02 advertisement, exact outgoing Ed25519 selection and conservative RSA fallback without claiming RFC 9421 sending.
  • Replace the outdated Actor example with a valid assertionMethod/Multikey example; retain the 1.1.1 Multikey API guidance.

No production source or runtime dependency changes. npm name remains @misskey-dev/node-http-message-signatures.

Validation: 303 tests across 22 suites; build, lint, API types, release guards and workflow checks; clean-source package checks; actual 1.1.2 tarball inspected for package version/name and the exact corrected README. Exact-head GitHub Test matrix covers Node 22/24/26 and browser; Lint also passed.

The existing OIDC workflow stages this release once. Final npm publication requires approval by the package owner.

1.1.1

Choose a tag to compare

@tamaina tamaina released this 05 Oct 04:00

Clarify public Multikey integration in the README:

  • PublicKeySource accepts the publicKeyMultibase string, rather than an Actor or a whole Multikey document.
  • Document the supported Ed25519/RSA codecs and input limits.
  • Show an assertionMethod example using parseRequestSignature and an application-owned key resolver, with controller and exact keyId checks.
  • Explain that actor authorization, dereferencing, network/cache policy, data-integrity proofs and HTTP signature protocol selection remain application concerns.

No production source or runtime dependency changes. The npm name remains @misskey-dev/node-http-message-signatures.

Validation: 303 unit tests; build, lint, API types, release guards and workflow validation; clean-source package checks; 79 native adapter checks; browser and Worker checks (43 each); GitHub Test matrix on Node 22/24/26 and Lint passed for commit 2dea3275ef10d83bd4b949a1757b7afe49beeb16.

This release triggers the existing OIDC staging workflow once. Final npm publication requires the package owner's staged-package approval.

1.1.0

Choose a tag to compare

@tamaina tamaina released this 04 Oct 10:02

Adds optional Node adapters for caller-injected slacc 0.2.0 RSA/SHA-256 and Ed25519 signing and verification. Existing WebCrypto behavior and arbitrary signer, verifier and key-resolver hooks remain available; the package adds no slacc runtime/peer dependency or automatic initialization.

  • Separate @misskey-dev/node-http-message-signatures/node/slacc ESM/CommonJS/type entry point; strict key and algorithm validation, exact raw signature bases, caller-owned key reuse and pool lifecycle.
  • Generated dist/ is removed from Git. Build and normal pack regenerate ESM/CommonJS/declarations, including the Node entry point. npm packages include these files; source checkouts require a build.
  • Real native RSA2048/4096 and Ed25519 interoperability tests, Node22/24/26 CI, browser/Worker regressions and actual tarball export/type checks.

Applications using slacc 0.1.5 must upgrade their own slacc/native binaries and direct RsaKeyPair callers before using the optional adapter; no 0.1.5 compatibility layer is included. Browser/edge consumers continue using the main entry point. Native testing covers Linuxx64GNU; no general performance improvement is promised.

Reviewed PRs: #10 and #9. The npm package name, MIT notices and original authors are retained.

This GitHub release triggers the existing npm OIDC staging workflow once. Final npm publication awaits the package owner's staged approval and 2FA.

1.0.0

Choose a tag to compare

@tamaina tamaina released this 04 Oct 07:16

Stable 1.0.0 from the reviewed joinmisskey maintenance fork. The npm package name remains @misskey-dev/node-http-message-signatures; original MIT notices and authors are retained.

  • Preserve draft request-target queries, encoded queries and an explicitly empty ?, while excluding fragments.
  • Correct RFC 9421 ECDSA/SFV verification and key selection; enforce effective algorithm allowlists even without alg, and preserve validated JWK hash metadata.
  • Add unencrypted two-prime RSA PKCS#1 private keys, RFC 9421 RSA-PSS/SHA-512 with exactly 64 salt bytes, local JWK input, public Ed25519/RSA Multikey input, and typed signer/verifier/resolver hooks.
  • Reject malformed key containers and bound key inputs before decoding/ASN.1 parsing.
  • Cover Node 22/24 LTS and Node 26 Current in CI; lint/browser jobs use Node 24. The declared engine compatibility and existing default RSA behavior remain unchanged. Stricter validation intentionally rejects unsupported or conflicting algorithms and malformed inputs.

Reviewed changes: #2, #3, #4, #5, #6, #7. Validation: 295 unit tests, 86 native Chrome main-thread/DedicatedWorker cases without skips, 46 compiled ESM/CommonJS regressions, API type checks, lint, build, release guards and package inspection. Rebuilt declarations/bundles match the source, including Ed448 key-pair default usages.

Browser coverage is Chrome only; Firefox, Safari and Service Worker network/lifecycle behavior have not been tested. Multikey coverage is Ed25519 and RSA only. Runtime support still determines available WebCrypto algorithms.

This GitHub Release triggers OIDC npm staging for version 1.0.0 on latest. Final npm approval is performed by the package owner; staging alone does not make the package publicly installable. No Misskey dependency changes are included.