-
Notifications
You must be signed in to change notification settings - Fork 90
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
Attestation-Service: replacing anyhow with explicit error types #231
Closed
Comments
mkulke
added a commit
to mkulke/trustee
that referenced
this issue
Nov 22, 2023
Similar to confidential-containers#230 the verify function here is actually not checking the result of the verification. There is a fail-test for the vcek signature verification, but it fails at parsing the DER cert. We should get rid of anyhow here and use proper error types (confidential-containers#231) which we can then assert in such tests. - Fixed the verification logic - Added test-case for toggled ark-ask - Fixed fail-test to produce a legit VCEK Signed-off-by: Magnus Kulke <[email protected]>
mkulke
changed the title
Attestation-Service: consider replacing anyhow
Attestation-Service: replacing anyhow with explicit error types
Nov 22, 2023
mkulke
added a commit
to mkulke/trustee
that referenced
this issue
Nov 23, 2023
Similar to confidential-containers#230 the verify function here is actually not checking the result of the verification. There is a fail-test for the vcek signature verification, but it fails at parsing the DER cert. We should get rid of anyhow here and use proper error types (confidential-containers#231) which we can then assert in such tests. - Fixed the verification logic - Added test-case for toggled ark-ask - Fixed fail-test to produce a legit VCEK Signed-off-by: Magnus Kulke <[email protected]>
mkulke
added a commit
to mkulke/trustee
that referenced
this issue
Nov 23, 2023
Similar to confidential-containers#230 the verify function here is actually not checking the result of the verification. There is a fail-test for the vcek signature verification, but it fails at parsing the DER cert. We should get rid of anyhow here and use proper error types (confidential-containers#231) which we can then assert in such tests. - Fixed the verification logic - Added test-case for toggled ark-ask - Fixed fail-test to produce a legit VCEK Signed-off-by: Magnus Kulke <[email protected]>
Xynnn007
pushed a commit
that referenced
this issue
Nov 23, 2023
Similar to #230 the verify function here is actually not checking the result of the verification. There is a fail-test for the vcek signature verification, but it fails at parsing the DER cert. We should get rid of anyhow here and use proper error types (#231) which we can then assert in such tests. - Fixed the verification logic - Added test-case for toggled ark-ask - Fixed fail-test to produce a legit VCEK Signed-off-by: Magnus Kulke <[email protected]>
@Xynnn007 please assign this one to me. Thanks |
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Feb 15, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Feb 15, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Feb 15, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Feb 15, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Feb 22, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Feb 22, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Feb 26, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Feb 26, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Feb 27, 2024
Replace anyhow error crate with thiserror crate Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Feb 29, 2024
Replace anyhow error crate with thiserror crate Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Mar 11, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Mar 11, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Mar 12, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Mar 12, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Mar 12, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Mar 19, 2024
Replace anyhow error crate with thiserror crate Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Mar 19, 2024
Replace anyhow error crate with thiserror crate Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Mar 19, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Mar 19, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Mar 19, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Mar 20, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
sameo
pushed a commit
that referenced
this issue
Mar 24, 2024
Fixes: #231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Mar 26, 2024
Replace anyhow error crate with thiserror crate Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Mar 26, 2024
Replace anyhow error crate with thiserror crate Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
kartikjoshi21
added a commit
to kartikjoshi21/kbs
that referenced
this issue
Mar 26, 2024
Fixes: confidential-containers#231 Signed-off-by: Kartik Joshi <[email protected]>
jialez0
pushed a commit
that referenced
this issue
Apr 10, 2024
Fixes: #231 Signed-off-by: Kartik Joshi <[email protected]>
jialez0
pushed a commit
that referenced
this issue
Apr 10, 2024
Replace anyhow error crate with thiserror crate Fixes: #231 Signed-off-by: Kartik Joshi <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In a library crate it's better to specify expected error types explicitly rather than relying on generic anyhow errors. thiserror is a crate by the same author, which allows doing this in a convenient fashion.
The text was updated successfully, but these errors were encountered: