blacktop / ipsw

iOS/macOS Research Swiss Army Knife
https://blacktop.github.io/ipsw
MIT License
1.99k stars 155 forks source link

The extracted AEA key file is missing one #570

Open ssdswi opened 2 months ago

ssdswi commented 2 months ago

What happened?

There are two dmg.aea in IPSW file,but only can extract one key by dmg.aea.pem. The other unextracted key is the key for the most critical dmg file, which is the largest in file size. 屏幕截图(169) 屏幕截图(170)

How can we reproduce this?

use ‘ipsw extract --fcs-key’

ipsw version

Version: 3.1.544,

Search

Code of Conduct

Additional context

No response

ssdswi commented 2 months ago

Oh,i'm sry.I found the fs and the sys fcs key are the same.It's my fault. But i can't open any ios18 decrypted .dmg file with “Transmac” on Windows. I can open the biggest ios17 and before .dmg file in IPSWs at “transmac”APP in Windows. That's why I made this mistake. Is there any other way to open it on Windows? 屏幕截图(171)

blacktop commented 2 months ago

do you have apfs-fuse installed?

blacktop commented 2 months ago

if so you could try: ipsw mount fs IPSW.ipsw

ssdswi commented 1 month ago

I'm using the apfs-fuse project, which seems to only work in a Linux environment, so I tried to mount the dmg using "ipsw mount" in a Linux environment, but it seems that ipsw doesn't call my compiled apfs-fuse directly even though I've added it to the $PATH. 屏幕截图(173)

So I tried extracting the dmg file and then mounting it directly using "apfs-fuse" and it seems to work. So in fact the decrypted dmg file should be correct, but there doesn't seem to be a way to use the file inside the dmg directly on Windows at the moment, but it should work fine on Linux or macos! 屏幕截图(174)

So how exactly should I use "ipsw mount" directly within the ipsw project without prompting for the apfs command not found? Or is it possible to fully port this project to Windows?

ps:I'm a novice. Forgive my ignorance,please!