JohnAGonzalez / iphone-dataprotection

Automatically exported from code.google.com/p/iphone-dataprotection
0 stars 0 forks source link

Crashes in python keychain script #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. start demo_bruteforce.py

What is the expected output? What do you see instead?

Crashes on a couple of NULL errors:

----
  File "keychain/keychain4.py", line 37, in decrypt_data
    if len(blob) < 48:
TypeError: object of type 'NoneType' has no len()
----

  File "keychain/keychain.py", line 97, in sanitize
    if pw.startswith("bplist"):
AttributeError: 'NoneType' object has no attribute 'startswith'
----

What version of the product are you using? On what operating system?

current

Please provide any additional information below.

Original issue reported on code.google.com by jueschm...@gmail.com on 15 Jun 2011 at 2:04

GoogleCodeExporter commented 8 years ago
Thanks, i just commited a fix.

Original comment by jean.sig...@gmail.com on 16 Jun 2011 at 8:24