mirror of
https://github.com/freemkv/freemkv-keysources.git
synced 2026-10-07 18:13:11 +00:00
4e83b3c1f8fcd1ce06db2844a814a5df7453e900
Opus's review: freemkv-library's server calls take_online_decode_reachability() after resolve (server/ripper/mod.rs:505, :1361) to classify a no-key without a second probe. record_last_failure_transport currently TAKES the thread-local slot, so the server sees None and fires probe_online_reachability — a second key-service call, and a definite 422 misread as an outage. Red: the slot is gone after get_unit_keys/get_fmts_indexes. Also adds the forensic-path, mid-body-stall, transport-then-5xx-reset and MultiSource forwarding tests requested in review; the latter fails since MultiSource has no override yet.
freemkv-keysources
Pluggable AACS key sources (keydb, online key service) for
libfreemkv. Each source looks a disc up
and hands libfreemkv its terminal Unit Keys via get_unit_keys; the library
does all derivation.
Development
Build API documentation with cargo doc --no-deps --open for source construction,
keydb paths and online-query contracts. Run cargo test --tests to validate
parsing, caching and request guards. Tests use synthetic keys and local fixtures;
never commit real key material or credentials.
License
MIT — see LICENSE.
Languages
Rust
100%