mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-02 05:55:08 +00:00
feat(drm): add the whole-file aes-ctr cipher and paged aac rewrite
This commit is contained in:
@@ -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."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user