php-web-token-jwt-framework (4.3.0-1) unstable; urgency=medium [ Florent Morselli ] * ci: run the whole release sequence in a single job * feat(core): make the JWS and JWE builders immutable * feat(core): introduce interfaces for the main services * feat(core): introduce a JOSE exception hierarchy * feat: make the algorithm, checker and serializer managers immutable * refactor: remove the code duplicated by the managers, factories and JWE components (#704) * feat(key-management): free JKUFactory and X5UFactory from a deprecated base (#710) * feat(core): return result objects instead of by-reference output parameters (#708) * feat(core): seal the internal mutators of the JWS and the JWE (#711) * feat(core): typed accessors on the JWK, sealed helpers on the JWKSet (#713) * feat(key-mgmt): make the key factory an injectable service (#712) * feat(algorithms): ship "none" and RSA1_5 in their own packages (#714) * feat(core): announce the 5.0.0 breaks that were still silent (#715) * feat(checker): announce the object replacing the token type support headers (#716) * ci: defer the jwt-unsecured and jwt-rsa15 splits (#720) * ci: restore the jwt-unsecured and jwt-rsa15 splits (#721) * feat(checker): explicit typing header checker for "typ" (RFC 8725 §3.11) * feat(core): JWK Thumbprint URI (RFC 9278) * feat(signature): Ed25519 and Ed448 fully-specified algorithms, X448 for ECDH-ES (RFC 9864, RFC 8037) * feat(signature): ML-DSA-44/65/87 and the AKP key type via OpenSSL 3.5 (RFC 9964) * feat(signature): move ES256K from the experimental package to the library (RFC 8812) * ci: mutate the lines of the diff only, as the pull requests and the pushes need * feat(sd-jwt): Selective Disclosure for JWTs, the Issuer, Holder and Verifier roles (RFC 9901) * feat(sd-jwt): the JWS JSON serialization of SD-JWTs (RFC 9901 section 8) * chore(security): add the OSS Scanner build and threat model * fix(checker): deprecate a second checker of the same claim or header parameter * fix(encryption): AL of AES-CBC-HMAC is the length of the whole AAD * fix(bundle): deprecate tagging two services with the same alias * fix: deprecate loader factories without a header checker manager factory * fix(bundle): merge the SD-JWT alias lists like the other lists * fix(sd-jwt): keep only the verified signature in the verified Issuer-signed JWT * fix(nested-token): deprecate a "cty" outside the protected header of the JWE * fix(encryption): read "key_ops" according to the key management mode * fix(sd-jwt): bound the depth of the processed payload * fix(encryption): deprecate "dir" JWEs without protected header and without "aad" * fix(sd-jwt): refuse the reserved claim names in the objects of the claims * feat(key-mgmt): let JKUFactory and X5UFactory refuse HTTP redirects * fix(encryption): check the size of an AES key wrapped key before unwrapping it * Place the wrapped key size check next to the CEK size check * fix(sd-jwt): keep the pure enums disclosable * feat(nested-token): make the refusal of an unprotected "cty" an option * fix(sd-jwt): serialize the objects of the Disclosures as the payload * fix(sd-jwt): refuse at issuance the SD-JWTs the Holder and the Verifier reject * fix(sd-jwt): create only the Disclosures that can be parsed * fix(console): inject the key factory into the generator commands through a setter * fix(sd-jwt): tell the decoding bounds apart from invalid JSON * fix(sd-jwt): name the bound a Disclosure factory hits * fix(sd-jwt): refuse the unparsable unprotected headers as the other claims * fix(serializers): name the bound a token goes beyond when it is decoded * fix(serializers): chain the bound a token goes beyond in the serializer managers * fix(serializers): chain the reason of the serializer a token belongs to * fix(json): bound the JSON documents decoded outside of a token * fix(composer): require web-token/jwt-library ^4.3 in the bundle and experimental packages * fix(key-management): JKUFactory and X5UFactory extend UrlKeySetFactory again * fix(bundle): keep the service ids of the library "none" and "RSA1_5" classes, deprecated * ci: add to the PHPStan baseline the four errors reported on 4.3.x whatever the change * fix(encryption): check the size of an AES-GCM wrapped key before unwrapping it * fix(encryption): deprecate deriving the passwords of a key set beyond the PBES2 cap * fix(okp): refuse the Ed448 public keys of small order [ lav45 ] * fix(okp): refuse the Ed25519 public keys of small order without sodium [ David Prévot ] * Update packaging to added components * Compatibility with recent PHPUnit (13) * Update copyright * PHP 8.6: Update expected Exception Message -- David Prévot Mon, 30 Nov 2026 14:26:03 +0100 php-web-token-jwt-framework (4.2.9-1) unstable; urgency=medium [ Florent Morselli ] * Compute the RSA public operation with OpenSSL (GHSA-47cp-rxmj-fwr5) * Compute the RSA private operation with OpenSSL (GHSA-47cp-rxmj-fwr5) * Sign with RSA-PSS through OpenSSL (GHSA-47cp-rxmj-fwr5) -- David Prévot Sun, 29 Nov 2026 18:18:42 +0100 php-web-token-jwt-framework (4.2.8-1) unstable; urgency=medium [ lav45 ] * fix(key-mgmt): analyze RSA n and e and EC coordinates by their integer value [ Florent Morselli ] * fix(key-mgmt): measure the RSA modulus and exponent on their octets * fix(key-mgmt): stop the EC analysis on coordinates of the wrong size * fix(core): bound the RSA public exponent to 64 bits whatever the modulus [ David Prévot ] * Update debian/rules -- David Prévot Tue, 24 Nov 2026 11:38:52 +0100 php-web-token-jwt-framework (4.2.7-2) unstable; urgency=medium * Skip failing tests on 32-bit and big endian architectures -- David Prévot Tue, 10 Nov 2026 10:15:41 +0100 php-web-token-jwt-framework (4.2.7-1) unstable; urgency=medium [ Florent Morselli ] * Parse the signatures of a JSON general JWS in linear time (GHSA-jgv7-g4jg-6hqv) * Bound the JSON values a token may hold before decoding it (GHSA-2xq2-pp89-x7fr) * Blind the RSA private key operations (GHSA-2qpx-pwmq-r27r) * Reject RSA representatives equal to the modulus (GHSA-2qpx-pwmq-r27r) * Refuse a direct encryption key shorter than the CEK (GHSA-jc6j-46g2-xwqc) * Require an empty encrypted key with dir, ECDH-ES and ECDH-SS (GHSA-5cc5-v8qv-6cw7) * Bound RSA keys to the limits of OpenSSL before computing with them (GHSA-96f8-m4jr-72xj) * Keep the keys out of the exception traces of a rejected JWE (GHSA-7hp7-mg7x-hww4) * Keep the decrypted content of a nested token out of the exception traces (GHSA-7hp7-mg7x-hww4) * Make the OpenSSL refusal of an ECDH public key final (GHSA-wwq7-mh3q-hwrh) * Share the PBES2 iteration count cap between the recipients of a token (GHSA-3vqw-452c-g726) * Let the loaders bound the number of recipients and signatures (GHSA-3vqw-452c-g726) * Decrypt exactly one RSA-OAEP block of the modulus length (GHSA-wwcr-82mc-w3pw) * Refuse AES key wrapping keys shorter than the algorithm key size (GHSA-4mxj-75j2-j8hc) * fix(core): repair the conditional swap of the elliptic curve points * fix(checker): accept a value only when the callable returns true * Keep an x5u entry from naming a local file * fix: refuse header checkers that a loader factory cannot apply * fix(key-mgmt): include the request headers in the key of the JKU/X5U cache * Compute ECDH-SS from the two static keys only * fix(core): reject the bytes outside the alphabet on the sodium path * fix(bundle): stop merging the alias lists of a service by position * fix(key-mgmt): keep the JKU/X5U requests whose headers cannot be serialized * fix(bundle): keep the key attribute of the alias lists [ David Prévot ] * Update copyright (email address) * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, Repository-Browse, Security-Contact -- David Prévot Mon, 09 Nov 2026 10:13:05 +0100 php-web-token-jwt-framework (4.2.5-1) unstable; urgency=medium * Initial release (Symfony build-dependency) -- David Prévot Sun, 08 Nov 2026 14:57:00 +0100