Commit Graph
6 Commits
Author SHA1 Message Date
Jash 91d1cbbe8e fix: build the libjwt backend against libjwt 3 refs #4334 2026-11-08 20:43:41 +05:30
Nic BoetandClaude Opus 5.5 9f0a1a2bc6 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>
2026-11-01 10:27:22 -05:00
Peter Keresztes Schmidt 9a983bb321 Crypto: Implement SHA1 hashing 2021-05-30 22:56:21 +02:00
Peter Keresztes Schmidt 2bda413698 Crypto: Implement a generic hashing API
Currently MD5 is implemented
2021-05-30 22:53:05 +02:00
Peter Keresztes Schmidt c2a7f7b593 tests/Box: Add unit tests 2021-05-16 16:42:58 +02:00
Peter Keresztes Schmidt bb067c065b tests: Add unit tests for JWT validation 2021-02-04 18:53:58 +01:00