Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

python SDK: fix bug in quote server python SDK #121

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/python3/ccnp/quote/quote_sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def parse(self):
self._signature, self._attestation_key, cert_data = \
struct.unpack(f"64s64s{auth_size-128}s", auth_data)
# Certification Data
_, _, cert_data = struct.unpack(f"<HI{len(cert_data)-6}s", cert_data)
_, _, self._cert_data = struct.unpack(f"<HI{len(cert_data)-6}s", cert_data)

class QuoteTPM(Quote):
"""TODO: implement TPM Quote class"""
Expand Down
Loading