fix(cast): use CSPRNG media path tokens and redact URIs in logs

Replace RandomState-based tokens with getrandom, avoid logging full
media base URLs, and redact /audio/<token>/… in DLNA info logs.
This commit is contained in:
Afonso Jorge Ramos committed 2026-07-11 23:01:05 +02:00
1 parent a9949b8cf2
commit a0bf1328d6
4 files changed
+60 -17

No files matched your search

+3
View File
@@ -34,5 +34,8 @@ thiserror = "2"
# Logging
log = "0.4"
# CSPRNG for cast media path tokens (not RandomState hash)
getrandom = "0.2"
# Async runtime (for DLNA)
tokio = { version = "1", features = ["rt", "sync"] }