mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-11-30 12:14:36 -05:00
feat: log a fingerprint of the auth hash instead of nothing
The previous commit stopped zmLoadAuthUser() logging the presented auth hash, which also took away the only way to tell which hash a failed attempt carried. Log "fp:" plus the first 8 hex digits of the hash's SHA-256 instead: enough to match a zms or zm_rtsp_server line with the web side's (ZM\logFingerprint() gives the same tag) or with a client's own copy, and of no use for replaying or recovering the hash. Adds SHA-256 to zm::crypto for both the OpenSSL and the GnuTLS backend. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f