From 9b3a3c2109c9eb5f42d5c51b0da3b6222a67d62c Mon Sep 17 00:00:00 2001 From: hyugogirubato <65763543+hyugogirubato@users.noreply.github.com> Date: Sat, 5 Jul 2025 18:13:05 +0200 Subject: [PATCH] fix security level --- keydive/drm/cdm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keydive/drm/cdm.py b/keydive/drm/cdm.py index d4dbe9d..208af95 100644 --- a/keydive/drm/cdm.py +++ b/keydive/drm/cdm.py @@ -139,7 +139,7 @@ class Cdm(Provisioning): # Extract system ID and security level from client ID system_id = drm_certificate.system_id - level = CryptoSession_GetSecurityLevel(client_info['oem_crypto_build_information']) + level = CryptoSession_GetSecurityLevel(client_info.get('oem_crypto_build_information') or '') # Derive a filesystem path from client info on the first iteration if not path: