DCAP returns outdated collateral for Azure DCsv2/v3 machines
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
調査の方向性
Reproduce the report with the Azure caching service API at global.acccache.azure.net and compare its response for FMSPC 00906ed50000 with the Intel certification API. Check whether the Azure DCAP client has an applicable refresh or cache path; done means the Azure result provides current, non-expired TCBInfo so quote verification succeeds without changing the system date.
索引モデルが issue の本文から書いたものです。
説明
On an Azure DCsv2 VM, the FMSPC is 00906ed50000.
This value is used by the Azure DCAP provider to retrieve the TCBInfo used as collateral for Remote Attestation of enclaves.
However, the Azure DCAP cache seems to be broken, and returns 6+ months old data for the TCBInfo. This causes the verification of remote attestation quotes to fail with a collateral_expiration_status = 1, unless the system date is set 6 months in the past.
This is evident when querying the Azure caching service API, compared with using the Intel API directly.
Running: curl 'https://global.acccache.azure.net/sgx/certificates/v3/tcb/00906ed50000?clientid=production_client&api-version=2018-10-01-preview'
Returns a tcbInfo JSON with values 'issueDate':'2021-03-31T22:03:13Z','nextUpdate':'2021-04-30T22:03:13Z'.
As you can see, the TcbInfo served by Azure has been issued in March, and has been expired since April 30th.
When querying Intel: curl 'https://api.trustedservices.intel.com/sgx/certification/v2/tcb?fmspc=00906ED50000'
We get 'issueDate':'2021-10-15T08:41:31Z','nextUpdate':'2021-11-14T08:41:31Z'
Which is correct, and allows remote attestation to work correctly.
- 主要言語
- C++
- スター
- 67
- フォーク
- 44
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/Azure-DCAP-Client のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
microsoft/Azure-DCAP-Client#194 ·
-
Ubuntu 22.04 Supportオープン
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
microsoft/Azure-DCAP-Client#199 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
microsoft/Azure-DCAP-Client#186 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
microsoft/Azure-DCAP-Client#173 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
microsoft/Azure-DCAP-Client#172 · コメント 1 件 ·
microsoft/Azure-DCAP-Client の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 9 日以内に返信
-
自定义颜色添加为常用颜色オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
mg-chao/snow-apps#2227 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug introduced: 5.0 cycle P3 XS
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
open-astro/AlpacaBridge#1722 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
returnoftheshadow/RotS_Live#521 ·
メンテナーはふだん 1 日以内に返信
-
crash lld:COFF
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
llvm/llvm-project#235970 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信