feat(drm): license MonaLisa over --remote on the server and decrypt it in core, with or without bbtsdecrypt

This commit is contained in:
imSp4rky
2026-12-02 15:23:58 -07:00
parent b1497c77a2
commit ac4425cdca
29 changed files with 1518 additions and 121 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ from pathlib import Path
from types import SimpleNamespace
from typing import Any
import click
import pytest
from tests.core.key_resolver import resolver
@@ -85,7 +86,7 @@ def test_an_imported_bridged_track_stops_on_a_key_that_does_not_decrypt(
path.write_bytes(b"cipher")
keys = resolver(None, tag="EXAMPLE")
with pytest.raises(ValueError, match="does not decrypt track vid") as e:
with pytest.raises(click.ClickException, match="does not decrypt track vid") as e:
try:
keys.decrypt_verified(drm, path, licence, VIDEO_KID, True, SimpleNamespace(id="vid")) # type: ignore[arg-type]
finally: