Skip to content

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

@Jonathan-David7

Description

@Jonathan-David7

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions