Skip to content

Workflow of the secret_prov_minimal example #1358

Answered by dimakuv
jogi343 asked this question in Q&A
Discussion options

You must be logged in to vote

So how does the server manages to set the key inside SECRET_PROVISION_SECRET_STRING ? if the client is not making any active connection?

It's not correct. The client does make the connection to the server. It's just that this connection is hidden by this magic option in the manifest file:

loader.env.SECRET_PROVISION_CONSTRUCTOR = "1"

Check our documentation on this SECRET_PROVISION_CONSTRUCTOR magic: https://gramine.readthedocs.io/en/stable/attestation.html#secret-prov-attest-so

Or browse the source code, if you're interested in the C details:

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jogi343
Comment options

@dimakuv
Comment options

@jogi343
Comment options

Answer selected by jogi343
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants