Krucifyr / iphone-dataprotection

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

HFSExplorer fails to decrypt files when not connected to the internet #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The modified HFSExplorer loads encryption keys from an xml plist file generated 
by the ramdisk tools. The java XML parser wants to validate the plist dtd, and 
tries to download the file http://www.apple.com/DTDs/PropertyList-1.0.dtd.
When not connected to the internet, this will fail, the keys wont be loaded and 
the files wont be decrypted. This is annoying. I've tried a bunch of methods to 
disable dtd validation but my java-fu is weak.

workaround : download the dtd in the same folder as the plist file, and edit 
the dtd declaration in the plist file (remove http://www.apple.com/DTDs/).

Original issue reported on code.google.com by jean.sig...@gmail.com on 22 Jun 2011 at 10:11

GoogleCodeExporter commented 8 years ago
Just try using the latest java plist library build:
http://code.google.com/p/plist/downloads/detail?name=dd-plist-r59.zip

Looks like they solved the issue and it never requests the dtd now:
http://code.google.com/p/plist/issues/detail?id=13

I've tried it myself and it works.

Original comment by alyka...@gmail.com on 10 Jan 2012 at 7:33

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

Original comment by jean.sig...@gmail.com on 16 Feb 2013 at 3:42

GoogleCodeExporter commented 8 years ago
Somehow i did not see your comment from last year, just pushed the new dd-plist 
jar that fixes the issue.
Thanks a lot.

Original comment by jean.sig...@gmail.com on 16 Feb 2013 at 3:46