Skip to content
Open
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
4 changes: 2 additions & 2 deletions nilai-api/src/nilai_api/attestation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ async def get_attestation_report(nonce: str) -> AttestationReport:
response_json = response.json()
return AttestationReport(
nonce=nonce,
gpu_attestation=response_json["report"],
cpu_attestation=response_json["gpu_token"],
gpu_attestation=response_json["gpu_token"],
cpu_attestation=response_json["report"],
verifying_key="", # Added later by the API
)
except httpx.HTTPStatusError as e:
Expand Down