mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-21 16:35:07 +00:00
feat(remote): verify server-CDM vault keys on the client and report bad pairs
The licence response lists KIDs a server vault supplied, the client proves them with the decode check, and a bad pair goes to the new session keys/bad route so the server flags its own row. Client vault keys go first over --remote, and the dashboard health warns when no SQLite vault can store flags.
This commit is contained in:
@@ -79,6 +79,7 @@ async def test_single_track_path_keeps_siblings(env, monkeypatch):
|
||||
session = SimpleNamespace(
|
||||
service_tag="EX",
|
||||
service_instance=SimpleNamespace(),
|
||||
served_keys={},
|
||||
tracks=SimpleNamespace(get={"vid": track}.get),
|
||||
log_buffer=None,
|
||||
)
|
||||
@@ -112,6 +113,7 @@ async def test_batch_cache_does_not_starve_second_track(env, monkeypatch):
|
||||
session = SimpleNamespace(
|
||||
service_tag="EX",
|
||||
service_instance=SimpleNamespace(),
|
||||
served_keys={},
|
||||
tracks=SimpleNamespace(get=tracks.get),
|
||||
log_buffer=None,
|
||||
)
|
||||
@@ -142,6 +144,7 @@ async def test_no_pssh_tells_the_client_why(env, monkeypatch):
|
||||
session = SimpleNamespace(
|
||||
service_tag="EX",
|
||||
service_instance=SimpleNamespace(),
|
||||
served_keys={},
|
||||
tracks=SimpleNamespace(get={"vid": track}.get),
|
||||
log_buffer=buf,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user