Skip to content

Conversation

@bluele
Copy link
Member

@bluele bluele commented May 14, 2025

No description provided.

Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
@bluele bluele requested a review from Copilot May 14, 2025 16:22
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the zkdcap command to add a new option for specifying the TCB Evaluation Data Number, replacing the previous boolean-based update policy. It also updates dependency revisions across multiple Cargo.toml files to reference the new commit version.

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/integration/src/lib.rs Changed PCSClient creation to use an Option instead of a boolean value
tests/integration/Cargo.toml Updated zkdcap dependency revision
modules/remote-attestation/src/dcap.rs Changed PCSClient creation to use an Option
modules/remote-attestation/Cargo.toml Updated multiple dcap dependencies revisions
modules/lcp-client/Cargo.toml Updated zkdcap dependency revision
modules/attestation-report/Cargo.toml Updated zkdcap dependency revision
app/src/commands/attestation.rs Replaced the update_policy option and accompanying enum with tcb_evaluation_data_number option
app/Cargo.toml Updated zkdcap dependency revision

long = "update_policy",
default_value = "early",
help = "Update policy (early(default) or standard)"
long = "tcb_evaluation_data_number",
Copy link

Copilot AI May 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider specifying a default_value for tcb_evaluation_data_number if a default behavior is expected, or update the help message to clarify that the absence of a value implies the latest available TCB Evaluation Data Number.

Copilot uses AI. Check for mistakes.
Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
@bluele bluele force-pushed the tcb-evaluation-policy branch from 4cd846c to 506564f Compare May 15, 2025 00:43
@bluele bluele marked this pull request as ready for review May 15, 2025 00:43
@bluele bluele merged commit 2bd0a21 into main May 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants