Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AEA decryption doesn't work on temporary directories on non-MacOS systems #626

Open
2 tasks done
Jonathan-David7 opened this issue Jan 22, 2025 · 0 comments
Open
2 tasks done
Assignees
Labels
bug Something isn't working triage

Comments

@Jonathan-David7
Copy link

What happened?

AEA decryption using ipsw fw aea <aea_encrypted_dmg> doesn't work on temporary directories on non-MacOS systems.
Tested on Linux, decrypting from /tmp didn't work.
Here's the output from my machine:

$ file /tmp/jon/092-09224-209.dmg.aea
/tmp/jon/092-09224-209.dmg.aea: data
$ ipsw fw aea -o . /tmp/jon/092-09224-209.dmg.aea
   ⨯ failed to parse AEA: failed to parse AEA: open /tmp/jon/092-09224-209.dmg.aea: no such file or directory

How can we reproduce this?

  1. Extract an AEA-encrypted DMG (.dmg.aea) file from an IPSW/OTA update file.
  2. Move the AEA DMG file to a temporary directory (could be anything in /tmp on Linux).
  3. Try to decrypt the AEA DMG file from the temporary directory (to anywhere, it doesn't matter): ipsw fw aea /tmp/<path_to_aea_dmg>.

ipsw version

3.1.565

Search

  • I did search for other open and closed issues before opening this

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

No response

@Jonathan-David7 Jonathan-David7 added bug Something isn't working triage labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants