n0fate / chainbreaker

Mac OS X Keychain Forensic Tool
GNU General Public License v2.0
816 stars 157 forks source link

Updated chainbreaker.py to work with Python3.x #28

Closed Khalid6468 closed 2 years ago

ericfitz commented 2 years ago

Just FYI, I cloned your m_branch and it does not work yet under python3. Here's the error:

chainbreaker % python3 chainbreaker.py --export-private-keys ~/Library/Keychains/login.keychain

Traceback (most recent call last): File "/Users/XXX/Projects/chainbreaker/chainbreaker.py", line 1264, in <module> keychain_md5 = hashlib.md5(args.keychain).hexdigest() TypeError: Strings must be encoded before hashing

Khalid6468 commented 2 years ago

I believe i added all the necessary updates to the repository for chainbreaker.py to work with python3. Could you please verify?

Khalid6468 commented 2 years ago

Solved!