Skip to content

Add CollateralUpdate Option for PCS Identity API#67

Open
andreluis034 wants to merge 1 commit into
google:mainfrom
andreluis034:main
Open

Add CollateralUpdate Option for PCS Identity API#67
andreluis034 wants to merge 1 commit into
google:mainfrom
andreluis034:main

Conversation

@andreluis034

Copy link
Copy Markdown

Partially addresses #66, by introducing support for the update query parameter in the Intel PCS API. This allows users to specify whether they want to retrieve collateral using the standard (typically 12-month "Out of date") or early access update channel. Partially address.

The changes introduce a new CollateralUpdate type in pcs.go and modify the helper function that generates the API URLs. Additionally, a new CollateralUpdate option is added to verify.Options. On the call to obtainCollateral, this option defaults to CollateralUpdateStandard, which mirrors the previous behaviour, where the field was omitted and interpreted by the PCS API as "default".

@google-cla

google-cla Bot commented Apr 18, 2025

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

1 participant