mirror of
https://github.com/hyugogirubato/KeyDive.git
synced 2024-12-23 19:31:45 +00:00
Update cdm.py
This commit is contained in:
parent
1e4d6ba881
commit
8284a8cb1a
@ -249,7 +249,7 @@ class Cdm:
|
||||
|
||||
private_key = self.keys.get(key_id)
|
||||
if private_key:
|
||||
path = Path() / 'device' / str(self.device.name) / 'private_keys' / str(drm_certificate.system_id) / str(key_id)[:10]
|
||||
path = Path() / 'device' / str(self.device.name.strip().lower().replace(' ', '_')) / 'private_keys' / str(drm_certificate.system_id) / str(key_id)[:10]
|
||||
path.mkdir(parents=True, exist_ok=True)
|
||||
path_client_id = path / 'client_id.bin'
|
||||
path_private_key = path / 'private_key.pem'
|
||||
|
Loading…
Reference in New Issue
Block a user