Skip to content

[>>] Convert TPM-encoded blob to hex data... (Failed) #24

@itFIX90

Description

@itFIX90

Hi, I've got an issue related to the script..
Unfortunately I don't have enough knowledge to understand what went wrong.
The data seems to be extracting correctly but on the "Convert TPM-encoded blob to hex data..." step, I get this:

Preparing TPM data.
    [>>] Get TPM-encoded blob from dislocker... Success
    [>>] Convert TPM-encoded blob to hex data... Traceback (most recent call last):
  File "./bitleaker.py", line 534, in <module>
    prepare_tpm_data(drive_path)
  File "./bitleaker.py", line 331, in prepare_tpm_data
    hex_priv_pub, pcr_policy = extract_priv_pub_and_pcr_policy_from_raw_blob(raw_data_list)
  File "./bitleaker.py", line 315, in extract_priv_pub_and_pcr_policy_from_raw_blob
    pcr_policy = [int(hex_data[i], 16) for i in range(220, len(hex_data) - 1)]
ValueError: invalid literal for int() with base 16: ''

And all stops there.
Any help is much appreciated.. I've got my laptop busted by Bitlocker.
I really hope this script will allow to at least extract the data...
(sorry if I'm asking something obvious. I'm a noob in Linux)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions