-
Notifications
You must be signed in to change notification settings - Fork 10
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
SNP Validation #2
Labels
Comments
This should be checked against a configurable value. It is the hash of the SNP author key. // Check fields not set by Enarx
for value in report.body.author_key_digest {
if value != 0 {
return Err(anyhow!(
"snp report author_key_digest field not set by Enarx"
));
}
} Also this is the hash of the signing key, signed with the author key and should be tested against a blacklist. for value in report.body.id_key_digest {
if value != 0 {
return Err(anyhow!("snp report id_key_digest field not set by Enarx"));
}
} |
Also this security version number should be checked, that it is not lower than a configured value. if report.body.guest_svn != 0 {
return Err(anyhow!("snp report guest_svn field not set by Enarx"));
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: