libjwt3 (3.8.0-1) unstable; urgency=medium

  * New upstream release (3.6.1 was never uploaded; this entry covers
    3.6.0 through 3.8.0)
  * Closes: #1156163
    - Remove MbedTLS from build-deps. It was not being used anyway.
  * Security advisory: GHSA-mhc9-xvg5-qg29 (fixed upstream in 3.6.2)
    - Keyring checkers accepted forged unsigned ("alg":"none") Compact
      tokens; a verify callback could also clear the checker's key and
      cause the same forgery to be accepted
    - Introduced in 3.6.0 (keyring and embedded-JWK support); the
      callback variant with JWT_ALG_NONE-from-key exists since 3.0.0
    - CVE: pending
  * Security advisory: GHSA-6gm4-gxx5-93hq (fixed upstream in 3.6.2)
    - RFC 7797 "b64" taken from an unverified JWS JSON signature entry
      disabled claim checks (exp, nbf, iss, sub, aud, required claims);
      the builder could also emit inconsistent "b64"/"crit" headers
    - Introduced in 3.6.0 (RFC 7797 support)
    - CVE: pending
  * Security advisory: GHSA-v7q9-pwfj-qmf5 (fixed upstream in 3.6.2)
    - Unencoded (b64=false) detached payloads were verified only up to
      the first NUL byte, allowing arbitrary trailing data
    - Introduced in 3.6.0 (RFC 7797 support)
    - CVE: pending
  * Security advisory: GHSA-vmf4-mvgm-7vpv (fixed upstream in 3.6.3)
    - Private OKP/AKP JWKs whose private member did not match the public
      member were accepted, bypassing embedded-JWK thumbprint pinning
    - Embedded "jwk" headers carrying private or symmetric key material
      are now refused
    - CVE: pending
  * Security advisory: GHSA-4jp4-6w6j-ff4q (fixed upstream in 3.6.3)
    - Keys marked in error were still used for sign/verify/JWE (and could
      cause a NULL dereference with mixed backends)
    - "x5c" leaf certificate was not required to hold the JWK's key
    - Public export of a key with unknown "kty" leaked private members;
      RSA "oth" was not stripped
    - CVE: pending
  * Security advisory: GHSA-g7xw-4cjw-2247 (fixed upstream in 3.6.3)
    - jwt-verify could exit 0 with forged tokens (exit status truncated
      to 8 bits, long/NUL-containing lines split, option-like tokens),
      treated a signal-killed --print validator as success, silently
      skipped --print without --verbose, and printed unescaped control
      bytes allowing terminal output spoofing
    - Affects jwt-tools since 3.0.0
    - CVE: pending
  * Additional upstream hardening:
    - Reject tokens of INT_MAX bytes or more before parsing (3.6.4)
    - Reject EC private JWKs whose "d" does not match (x, y) (3.7.0)
    - Unsigned ("alg":"none") tokens are now rejected by default unless
      JWT_ALG_NONE is explicitly allowed via jwt_checker_setalgs();
      jwt-verify requires "-a none" (3.7.0, behavior change)
    - json-c backend parity fixes: reject out-of-range integers, raw
      control characters and "\u0000"; no crashes on JSON null/non-object

 -- Benjamin Collins <bcollins@libjwt.io>  Wed, 02 Dec 2026 17:29:31 +0000

libjwt3 (3.3.3-1) unstable; urgency=medium

  [Benjamin Collins]
  * New upstream release
  * Security advisory: GHSA-q843-6q5f-w55g
    - Algorithm confusion allows JWT forgery with RSA JWK as empty-key HMAC
    - Fixes: CVE-2026-44699
  [Nicolas Mora <nicolas@babelouest.org>]
  * Update Standards-Version to 4.7.4
  * Remove debian/libjwt14-doc.lintian-overrides
  * Remove Priority and Rules-Requires-Root in d/control which are useless
    in 4.7.4

 -- Benjamin Collins <bcollins@libjwt.io>  Mon, 04 May 2026 10:13:19 -0400

libjwt3 (3.3.2-1) unstable; urgency=medium

  * New upstream release
  * Sync debian/copyright with code
  * Closes: #1132165 for CVE-2026-33996

 -- Benjamin Collins <bcollins@libjwt.io>  Tue, 03 Mar 2026 01:25:44 +0000

libjwt3 (3.3.1-1) unstable; urgency=medium

  * New upstream release

 -- Benjamin Collins <bcollins@libjwt.io>  Tue, 03 Mar 2026 00:50:56 +0000

libjwt3 (3.3.0-1) unstable; urgency=medium

  * New upstream release

 -- Benjamin Collins <bcollins@libjwt.io>  Mon, 02 Mar 2026 19:23:03 -0500

libjwt3 (3.2.3-1) unstable; urgency=medium

  * New upstream release
  * Fixes lrc issues with embedded SVG icon in JS
  * Fixes HPPA build failure (unit test timeout)

 -- Benjamin Collins <bcollins@libjwt.io>  Tue, 11 Nov 2025 11:55:40 +0000

libjwt3 (3.2.2-1) unstable; urgency=medium

  * First build of v3.2.2 (SOVERSION 14)
  * API and ABI are completely different than versions < v3.0.0
  * Closes: #1095775
    - Changed to libjwt3 (as per ta@debian-ftp)
  * Add Salsa-CI
  * libjwt14-dev: Conflicts: libjwt-dev, libjwt-gnutls-dev
  * New upstream version 3.2.2
    - Fixes blhc test failure
    - Fixes test-build-any test failure
  * salsa-ci: Enable lrc job
  * debian/copyright: Fixes to comply with lrc

 -- Benjamin Collins <bcollins@libjwt.io>  Mon, 15 Sep 2025 12:34:57 +0000
