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

Commit

Permalink
python SDK: fix bug in quote server python SDK (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
hairongchen authored Oct 23, 2023
1 parent 09116cf commit 3ca00ca
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 3ca00ca

Please sign in to comment.