-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to locate the corresponding certificates #8
Comments
Before using the DCAP and onchain PCCS, you need to upsert the necessary collaterals to verify your quote. We released DCAP QPL tool to upsert the collaterals to the target PCCS smart contracts, basically it fetches the collaterals from either Azure PCCS or Intel PCS. And you can also follow the similar approach to fetch the collaterals from:
It depends on how you generate the quote, should use the same data source(PCCS) to keep consistency. Basically, in order to verify a quote, you need:
|
Hey @aghia98 I apologize for the delayed response. I am assuming you intend to run
UPDATE: you do not need to update any values in If the FMSPC value is different from what is provided in the sample, you would need to fetch those That being said, I highly recommend that you simply perform verifications directly on our testnet. P/S: No fees needed, you may pass 0 to If you are running issues due to missing collaterals, then I would suggest you to follow the steps as described by my colleague above. And lastly, if you needed tokens on our testnet. Check out https://www.l2faucet.com/ Let me know if you have any further questions. :) |
Hi,
I successfully managed to run your code, specifically the "testQuoteV3OnChainAttestation()".
Now, I want to test it on my own generated quote. I guess that I should update
tcbDer
,rootCaDer
,platformDer
,platformCrlDer
,rootCrlDer
located inPCCSSetupBase.sol
with the appropriate certificates.I feel that I should use this Intel API to help me: https://api.portal.trustedservices.intel.com/content/documentation.html#pcs-certificate-v3
The
rootCaDer
is easilly found and corresponds to what is already hardcoded.However, I am not sure how I should locate the other certificates.
Should I extract some values from my quote to query them ?
Can you give me an insight about which GET request I should use ?
Thank you in advance
The text was updated successfully, but these errors were encountered: