File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1212### Fixed
1313
1414- Fix race condition when initialising a ledger secret's commit secret (#7689 )
15+ - Add missing cases for ` FailedInvalidCPUID ` and ` FailedInvalidTcbVersion ` in quote verification error handling (#7696 ).
1516
1617## [ 6.0.23]
1718
Original file line number Diff line number Diff line change @@ -201,9 +201,15 @@ namespace ccf
201201 case QuoteVerificationResult::FailedInvalidHostData:
202202 return std::make_pair (
203203 HTTP_STATUS_UNAUTHORIZED, " Quote host data is not authorised" );
204- case ccf:: QuoteVerificationResult::FailedUVMEndorsementsNotFound:
204+ case QuoteVerificationResult::FailedUVMEndorsementsNotFound:
205205 return std::make_pair (
206206 HTTP_STATUS_UNAUTHORIZED, " UVM endorsements are not authorised" );
207+ case QuoteVerificationResult::FailedInvalidCPUID:
208+ return std::make_pair (
209+ HTTP_STATUS_UNAUTHORIZED, " Quote CPUID is unknown" );
210+ case QuoteVerificationResult::FailedInvalidTcbVersion:
211+ return std::make_pair (
212+ HTTP_STATUS_UNAUTHORIZED, " Quote TCB version is too low" );
207213 default :
208214 return std::make_pair (
209215 HTTP_STATUS_INTERNAL_SERVER_ERROR,
You can’t perform that action at this time.
0 commit comments