feat(drm): add the whole-file aes-ctr cipher and paged aac rewrite

This commit is contained in:
imSp4rky
2026-11-27 01:11:13 -07:00
parent 8cf915fd71
commit 736f1cc731
22 changed files with 1269 additions and 45 deletions
+3
View File
@@ -83,6 +83,9 @@ class ServerKeySource(Protocol):
raises ClickException.
"""
def license_file(self, track: AnyTrack) -> str:
"""The content key the server licenses for the whole-file cipher of ``track``; a refusal raises."""
def vault_source(self, kid: UUID, key: str) -> Vault | None:
"""The server vault when it served ``key`` for ``kid``, else None. That content key must pass a decrypt check."""