fix(export): strip session headers from exports and normalise merged keys

This commit is contained in:
imSp4rky
2026-09-23 11:19:26 -06:00
parent 30ea001cb3
commit ba819aa11e
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ def test_encrypted_ism_rung_gets_the_exported_keys(tmp_path: Path, monkeypatch:
export = export_tracks(tmp_path, parsed, ISM_URL)
doc = json.loads(export.read_text(encoding="utf8"))
doc["titles"][0]["keys"] = {"0" * 32: "ab" * 16}
doc["titles"][0]["keys"] = {"1" * 32: "ab" * 16}
doc["titles"][0]["drm"] = [{"system": "playready"}]
export.write_text(json.dumps(doc), encoding="utf8")