ready-dl / pyplayready

Python implementation of Microsoft's Playready DRM CDM (Content Decryption Module)
Other
96 stars 54 forks source link

not working with sl3000? #10

Open MH32123 opened 2 days ago

MH32123 commented 2 days ago

i got sl3k files but i have this error: INFO:root:pyplayready version 0.3.5 Copyright (c) 2024-2024 DevLARLEY, Erevoc, DevataDev INFO:root:https://github.com/ready-dl/pyplayready INFO:root:Run 'pyplayready --help' for help

File "C:\Users\Administrator\Downloads\DRM\pyplayready-main\pyplayready\main.py", line 150, in create_device group_key = ECCKey.load(group_key) File "C:\Users\Administrator\Downloads\DRM\pyplayready-main\pyplayready\ecc_key.py", line 76, in load return cls.loads(f.read()) File "C:\Users\Administrator\Downloads\DRM\pyplayready-main\pyplayready\ecc_key.py", line 63, in loads raise ValueError(f"Invalid data length. Expecting 96 or 32 bytes, got {len(data)}") ValueError: Invalid data length. Expecting 96 or 32 bytes, got 21

DevLARLEY commented 2 days ago

21 bytes? what's the file called you're trying to load?

MH32123 commented 2 days ago

21 bytes? what's the file called you're trying to load?

it's zgpriv.dat, the person who gave it to me claimed it's for sl3000

DevLARLEY commented 2 days ago

It's not possible that this is actually a valid group key. As the error said, it must either be 32 or 96 bytes in length

DRM-Lab commented 2 days ago

Just someone scam you that it’s not SL3000

kotuk commented 2 days ago

I haven't seen anyone who sells SL3k

DRM-Lab commented 1 day ago

Normal and not will see

MH32123 commented 1 day ago

Just someone scam you that it’s not SL3000 No scam lol I didn't buy it

chu23465 commented 1 day ago

I actually extracted files from this rom https://samfw.com/firmware/GT-N7108/CHM/N7108ZMUEOI3 https://samfw.com/firmware/GT-N7102/CHN/N7102ZCUEOJ1 The group key was also 21 bytes long. Same with other ROM.

Just to be sure I extracted the certs multiple times to make sure I didn't make a mistake with decompression or something. All times the cert was 21 bytes long.

Edit - I don't mean to imply that this cert is sl3000. I just wanted to know if this was a valid cert even with the 21 byte length

chu23465 commented 1 day ago

bgroupcert.txt priv.txt zgpriv.txt (Renamed from .dat to .txt so that github uploads it)

marioeivissa commented 1 day ago

I actually extracted files from this rom https://samfw.com/firmware/GT-N7108/CHM/N7108ZMUEOI3 https://samfw.com/firmware/GT-N7102/CHN/N7102ZCUEOJ1 The group key was also 21 bytes long. Same with other ROM.

Just to be sure I extracted the certs multiple times to make sure I didn't make a mistake with decompression or something. All times the cert was 21 bytes long.

how do you extrack sl3k from a rom?????if sl3k is from hardware mate

izof87 commented 1 day ago

SL3K mean interact with hardware layer arm TEE.

marioeivissa commented 1 day ago

SL3K significa interactuar con el brazo de capa de hardware TEE.

do you know get sl3k????contac with me by tg if you want

3052 commented 7 hours ago

I extracted this myself:

https://samfw.com/firmware/GT-N7108/CHM/N7108ZMUEOI3

I see this in devCertTemplate.dat

<SECURITYLEVEL>2000</SECURITYLEVEL>

so the obvious question is, assuming the device is actually valid, what makes you think its SL3000?

chu23465 commented 5 hours ago

To clarify I don't think the cert I posted is SL3K.