wvg/python/after.py

12 lines
250 B
Python
Raw Normal View History

2024-04-18 20:48:32 +00:00
# parse license challenge
cdm.parse_license(session_id, licence)
# get keys
keys=""
for key in cdm.get_keys(session_id):
keys+=f"[{key.type}] {key.kid.hex}:{key.key.hex()}\n"
# close session, disposes of session data
cdm.close(session_id)
keys