Files
zoneminder/tests/php
Isaac ConnorandClaude Opus 5.5 8051bd14c8 test: make the ZM_AUTH_HASH_SECRET length test work with any php-jwt
The php-jwt check decoded with Firebase\JWT\Key, which php-jwt 5 (still
in upstream web/vendor) does not have, and expected php-jwt to refuse a
31 character key, which only php-jwt 7 does. Encode only, and require
agreement only when php-jwt enforces the minimum; otherwise check that
an accepted secret works.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 23:05:05 -05:00
..