The Included PHP-JWT Library From Firebase
-
Is there any plan to keep this plugin updated with the current version of PHP-JWT? I couldn’t find any other post about the library in the WordPress support forum for this plugin, which uses it to validate and parse JSON Web Tokens.
https://github.com/nicumicle/simple-jwt-login/blob/master/simple-jwt-login/src/Libraries/JWT.php says that Simple JWT Login’s copy of the Firebase PHP-JWT code was last updated on June 5, 2021 but from looking at the file’s contents, I’m concerned that the file is missing a many improvements from the last few years.
Line 58 of the file in GitHub says “Supported algorithms are ‘HS256’, ‘HS384’, ‘HS512’ and ‘RS256′” but Firebase added that line to their code near the end of 2015 (https://github.com/firebase/php-jwt/commit/d99ab404a14a6169d0e3961a941e67e0bc3f3cea) and since late 2019, it has been changed to something else.
https://github.com/firebase/php-jwt/releases says that between 2015 and today, there have been about 6 bug fixes and other improvements such as new algorithms (e.g. ES384).
- The topic ‘The Included PHP-JWT Library From Firebase’ is closed to new replies.