-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libfvalue_utf8_string_with_index_copy_to_integer: unsupported character value: 0x78 at index: 1 #36
Comments
Could you send me debug output so I can determine what libfvalue_utf8_string_with_index_copy_to_integer might be failing on Also see: https://github.com/libyal/libfvde/wiki/Troubleshooting#verbose-and-debug-output |
Thanks for the response! And yeah, sure, I recompiled with debug options and here's the output: https://gist.github.com/drogus/40ce9cb826f29944a6e91e76ed18aae9 |
Hello, |
@PyBonnetainNesterenko feel free to mail the compressed log to me directly. |
Same here with fvdeinfo 20180108 and 20180821 |
It looks like some of the plist data integers can be in hex, but libfplist_property_get_value_integer is unable to handle that case. A quick patch in libfplist/libfplist_property.c at the end of libfplist_property_get_value_integer:
Changing |
The above does not work (the flags do not compose). Replace the above with the code below, which will attempt to do a hex format copy if the decimal format fails.
|
@Bob1634854 thanks for the suggestion, I'll have a look when time permits to add hexadecimal support. |
Same.
|
libfvalue_integer.c also needs to be modified as it's verifying input. libfvalue is used in this repository but the code lives in another repo, pulled in via synclibs.sh. I modified this if statement: https://github.com/libyal/libfvalue/blob/master/libfvalue/libfvalue_integer.c#L1525 to the following:
This got me past the error message, though I'm having other issues so I'm not sure that would complete the support for hex values here. |
Yeah. It works 👍 |
made changes to libfplist to support hexadecimal integer properties libyal/libfplist@70ccbb8 |
Integer issue should be addressed in libfvde 20190104 |
I'm trying to mount a USB drive encrypted on Mac OSX (unfortunately I don't remember the exact procedure of encrypting it, but I probably used the default time machine setup a few years ago).
I'm using the following command:
and I get the following output:
The text was updated successfully, but these errors were encountered: