HyeongminSeo / iphone-dataprotection

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

Keychain tool KeyError: 'v_Data' error #50

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. python python_scripts/keychain_tool.py -p 
db5dada4418ed906f9ba2c05ab027a55a2602f60/keychain-2.db 
db5dada4418ed906f9ba2c05ab027a55a2602f60/a4b53ec4add2e7c7.plist 

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

Keybag: SIGN check OK
Keybag unlocked with passcode key
Keychain version : 5
Traceback (most recent call last):
  File "python_scripts/keychain_tool.py", line 72, in <module>
    main()
  File "python_scripts/keychain_tool.py", line 54, in main
    k.save_passwords()
  File "/Users/DragonJAR/Downloads/iphone-dataprotection/python_scripts/keychain/keychain.py", line 91, in save_passwords
    passwords = "\n".join(map(render_password,  self.get_passwords()))
  File "/Users/DragonJAR/Downloads/iphone-dataprotection/python_scripts/keychain/keychain.py", line 55, in get_passwords
    return self.get_items("genp")
  File "/Users/DragonJAR/Downloads/iphone-dataprotection/python_scripts/keychain/keychain.py", line 51, in get_items
    self.items[table] = filter(lambda x:x!={}, map(self.decrypt_item, self.store.get_items(table)))
  File "/Users/DragonJAR/Downloads/iphone-dataprotection/python_scripts/keychain/keychain4.py", line 47, in decrypt_item
    dict["data"] = dict["v_Data"].data
KeyError: 'v_Data'

What version of the product are you using? On what operating system?
Mac OS X Lion over VMWare Fusion 4.1.1
iPhone 4 whit iOS 5.0.1

Please provide any additional information below.
with other parameters such as -c o -s no problem

Original issue reported on code.google.com by Dragon...@gmail.com on 13 Feb 2012 at 12:31

Attachments:

GoogleCodeExporter commented 8 years ago
Same issue; I'm using an iPhone 3GS with iOS 5.0 (Baseband 06.15.00) on OS X 
Lion 10.7.3

Original comment by grapple...@gmail.com on 14 Feb 2012 at 11:07

GoogleCodeExporter commented 8 years ago
Can you try applying the attached patch and check if there are no further 
errors ? Thanks a lot.

Original comment by jean.sig...@gmail.com on 14 Feb 2012 at 12:18

Attachments:

GoogleCodeExporter commented 8 years ago
Patch applied, worked! :) Thanks a lot!

Original comment by grapple...@gmail.com on 14 Feb 2012 at 12:29

GoogleCodeExporter commented 8 years ago
Do you accept Paypal donations?

Original comment by grapple...@gmail.com on 14 Feb 2012 at 12:37

GoogleCodeExporter commented 8 years ago
nope, thanks.

Original comment by jean.sig...@gmail.com on 14 Feb 2012 at 1:16

GoogleCodeExporter commented 8 years ago
many thanks apply the patch and everything was perfect

Original comment by Dragon...@gmail.com on 18 Feb 2012 at 10:56

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 842f8593e743.

Original comment by jean.sig...@gmail.com on 19 Feb 2012 at 3:50