Skip to content

chore: upgrade firebase/php-jwt to v7#1316

Merged
michalsn merged 2 commits intocodeigniter4:developfrom
michalsn:jwt7
Mar 4, 2026
Merged

chore: upgrade firebase/php-jwt to v7#1316
michalsn merged 2 commits intocodeigniter4:developfrom
michalsn:jwt7

Conversation

@michalsn
Copy link
Member

@michalsn michalsn commented Mar 3, 2026

Description
This PR upgrades firebase/php-jwt from ^6.4 to ^7.0.3. Version 7 fixes a security vulnerability by enforcing minimum HMAC key lengths at runtime (HS256 >= 32 bytes, HS384 >= 48 bytes, HS512 >= 64 bytes).

Test secrets that were below the 256-bit minimum have been updated, and a note for users who upgrade firebase/php-jwt in their own projects is included in UPGRADING.md.

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@michalsn michalsn merged commit 59055c6 into codeigniter4:develop Mar 4, 2026
36 checks passed
@michalsn
Copy link
Member Author

michalsn commented Mar 4, 2026

Thank you @paulbalandan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants