-
Notifications
You must be signed in to change notification settings - Fork 13
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
attest : remove "storage" and "volume" from the field names #76
base: main
Are you sure you want to change the base?
Conversation
proto/attest/attest.proto
Outdated
ZAttestResponseCode response = 1; // Result of quote validation | ||
bytes integrity_token = 2; // Valid if response is ATTEST_RESPONSE_SUCCESS, contains integrity token for device to | ||
// Cache and present in the next config request | ||
repeated AttestKey storage_keys = 3; // Valid if response is ATTEST_RESPONSE_SUCCESS, contain keys (recived encrypted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note typo "recived"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
corrected.
proto/attest/attest.proto
Outdated
ZAttestReqType reqType = 1; // type of the request | ||
ZAttestQuote quote = 2; // attestation quote msg | ||
repeated org.lfedge.eve.certs.ZCert certs = 3; // X509 certs in .PEM format, signed by device certificate | ||
AttestStorageKeys storage_keys = 4; // encrypted secrets to be saved by the Controller, like encrypted keys for the volume storage vaults |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this field also have "Storage" removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
proto/attest/attest.proto
Outdated
ATTEST_REQ_CERT = 1; // EVE X.509 certificates | ||
ATTEST_REQ_NONCE = 2; // nonce request to Controller | ||
ATTEST_REQ_QUOTE = 3; // quote msg from device | ||
Z_ATTEST_REQ_TYPE_KEYS = 4; // to store device keys in Controller |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here STORE is a verb having nothing to do with storage, thus I think you should keep it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
proto/attest/attest.proto
Outdated
ATTEST_RESP_CERT = 1; // response to cert msg | ||
ATTEST_RESP_NONCE = 2; // response to quote request | ||
ATTEST_RESP_QUOTE_RESP = 3; // response to quote msg | ||
Z_ATTEST_RESP_TYPE_KEYS = 4; //response to Z_ATTEST_REQ_TYPE_KEYS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
93859e5
to
10acaa1
Compare
Remove "storage" and "volume" from the field names, this is to make the field names more generic and not tied to storage or volume. This will make adding new keys to the attestation process easier. There has been no change in the wire format. Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
10acaa1
to
da1c41f
Compare
Remove "storage" and "volume" from the field names, this is to make the field names more generic and not tied to storage or volume. This will make adding new keys to the attestation process easier. There has been no change in the wire format.