Skip to content

Attesto 2.7.0

Choose a tag to compare

@neilberkman neilberkman released this 27 Oct 21:03
· 49 commits to main since this release

Security

  • Require JOSE 1.11.13 or later. It fixes CVE-2026-65625 through
    CVE-2026-65632, among them unbounded recursion when an ECDH-ES ephemeral
    key's type differs from the recipient key's, prime recovery from an RSA
    private JWK without CRT members, and acceptance of zero-padded ECDSA
    signatures. Attesto.JWE already rejected compressed payloads, short GCM
    tags, and ephemeral keys other than public P-256 keys before calling JOSE.
  • Attesto.JWS.verify_strict/3 accepts an ES256, ES256K, ES384, or ES512
    signature only in the fixed-length R || S encoding of RFC 7518 §3.4,
    whatever the JOSE version. Earlier JOSE releases also accepted R and S
    padded with leading zero bytes, giving one signature many accepted
    encodings.

Added

  • Opt-in VM-wide DPoP capability snapshots through prime_allowed_algs/0
    and clear_allowed_algs_cache/0. Hosts with a fixed crypto backend can
    discover signing support once before serving. Unprimed callers retain
    per-call discovery; priming with no supported asymmetric algorithm clears
    any previous snapshot and returns an error. Signature, key, claim, target,
    freshness, and replay verification still run for every proof.

Changed

  • JOSE 1.11.13 detects native Ed448 support and no longer enables its
    pure-Erlang crypto_fallback by default. Attesto.DPoP.allowed_algs/0, and
    the dpop_signing_alg_values_supported metadata derived from it, now
    include Ed448 where the crypto backend provides it, and omit any algorithm
    that only the fallback supplied.