npm / @hpke/core
@hpke/core
What changed in @hpke/core 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
2 breaking1 security1 performance1 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@hpke/core 17 changes
Breaking changes 2
Calls using Auth or AuthPSK with KEMs that do not support authentication now throw NotSupportedError instead of silently accepting an unauthenticated sender.
Output lengths of 256 bytes or more now match RFC 9180.
Security 1
Introduces a mutex to protect against nonce reuse.
Performance 1
The bundle size is reduced.
Behavior and default changes 1
Types use ArrayBufferLike | ArrayBufferView instead of ArrayBuffer, broadening the accepted buffer types.
Fixes and other changes 2
Accepts arbitrary-length HKDF salts.
Public keys are derived without JWK export to improve Firefox compatibility.