#11 Not correctly en-/decrypted?

Closed
opened 2 years ago by gmipf · 2 comments
gmipf commented 2 years ago

This pull-request of osyu took my attention: https://notabug.org/necklace/libray/pulls/8

I have now tried the decryption. The disc I tested is: http://redump.org/disc/85526/

Start the Party! Parti Baslasin! (Turkey) (En,Tr).iso

CRC-32: 27248c3b
MD5: f8b1a45feec03239a81b2ba6a69e9609
SHA1: 376b51053404081db05f57683116b22466a89ea7

KEY: 4EFFC2BA7AC08BE3EA4CE46ADAE0B148

I have decrypted using libray as always and then done a copy of the original disc on an actual PS3 with Managunz (decrypted non-raw).

The decrypted files didn't match. But then I found this tool: https://github.com/al3xtjames/PS3Dec

And its output did actually match Managunz decrypted output. PS3Dec was also much faster it seems. But maybe it was placebo. I only did one file.

Also tried the patch of osyu but couldn't run it.

The decrypted files hash:

CRC-32: 90e5023e
MD5: 836c484e641695cc6ddf7a4f6492f705
SHA1: b146e7999282664b09abd4ca46156a3f9f19079a
This pull-request of osyu took my attention: https://notabug.org/necklace/libray/pulls/8 I have now tried the decryption. The disc I tested is: http://redump.org/disc/85526/ ``` Start the Party! Parti Baslasin! (Turkey) (En,Tr).iso CRC-32: 27248c3b MD5: f8b1a45feec03239a81b2ba6a69e9609 SHA1: 376b51053404081db05f57683116b22466a89ea7 KEY: 4EFFC2BA7AC08BE3EA4CE46ADAE0B148 ``` I have decrypted using libray as always and then done a copy of the original disc on an actual PS3 with Managunz (decrypted non-raw). The decrypted files didn't match. But then I found this tool: https://github.com/al3xtjames/PS3Dec And its output did actually match Managunz decrypted output. PS3Dec was also much faster it seems. But maybe it was placebo. I only did one file. Also tried the patch of osyu but couldn't run it. The decrypted files hash: ``` CRC-32: 90e5023e MD5: 836c484e641695cc6ddf7a4f6492f705 SHA1: b146e7999282664b09abd4ca46156a3f9f19079a ```

PS3Dec is definitely faster, and there are two reasons: it's written in C (Python is pretty slow, compared), but it's also written to support multi-threading, allowing for parallelization. This is something I've thought about doing with libray for a while.

Either way, Osyu's patch gave me these hashes:

MD5: c83a96576798b684946b8dd86a691e33
SHA1: f9ba45682628920d4ef0ecdc4a558eb28b2c60df

Manually comparing the PS3Dec output with librays output I think I was able to figure it out, though.

I haven't tested all my .iso files, but I'll make a release regardless.

Please do test if you have time.

PS3Dec is definitely faster, and there are two reasons: it's written in C (Python is pretty slow, compared), but it's also written to support multi-threading, allowing for parallelization. This is something I've thought about doing with libray for a while. Either way, Osyu's patch gave me these hashes: ``` MD5: c83a96576798b684946b8dd86a691e33 SHA1: f9ba45682628920d4ef0ecdc4a558eb28b2c60df ``` Manually comparing the PS3Dec output with librays output I think I was able to figure it out, though. I haven't tested all my .iso files, but I'll make a release regardless. Please do test if you have time.
Nichlas Severinsen referenced this issue from a commit 2 years ago
gmipf commented 2 years ago
Poster

I tried version 0.0.9 now and encryption seems to work. Tried two games, one of them dumped on an actual PS3 and then reencrypted with libray again. All hashes were correct.

I tried version 0.0.9 now and encryption seems to work. Tried two games, one of them dumped on an actual PS3 and then reencrypted with libray again. All hashes were correct.
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.