Skip to content

kinnay/AEA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apple Encrypted Archive Tool

Apple Encrypted Archive (AEA) is a proprietary archive format that supports compression, encryption and signatures. It is designed such that the decoding of large files can be parallelized across threads.

This repository provides:

  • A Python library to work with AEA files in code.
  • Documentation that describes the AEA file format.

Installation: pip3 install python-aea.

Documentation

Contributing

Feel free to open a pull request or issue on GitHub. Please try to follow the current style as much as possible.

Example Usage

The following example decodes an AEA file that was encrypted and signed:

import aea

with open("symmetric_key.bin", "rb") as f: symmetric_key = f.read()
with open("signature_pub.pem", "rb") as f: signature_pub = f.read()

with open("archive.aea", "rb") as f:
    archive = f.read()

plaintext = aea.decode(archive, symmetric_key=symmetric_key, signature_pub=signature_pub)

More examples can be found in the tests that have been written for this package.

About

Apple Encrypted Archive

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages