DCAP returns outdated collateral for Azure DCsv2/v3 machines
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 30/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C++
- Star
- 67
- Fork
- 44
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/Azure-DCAP-Client
-
Remove dependency on xbmc ppaĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
microsoft/Azure-DCAP-Client#194 ·
-
Ubuntu 22.04 SupportĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
microsoft/Azure-DCAP-Client#199 · 2 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
microsoft/Azure-DCAP-Client#186 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
microsoft/Azure-DCAP-Client#173 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
microsoft/Azure-DCAP-Client#172 · 1 bình luận ·
Tất cả issue của microsoft/Azure-DCAP-Client
Issue tương tự
-
(S1 - Need confirmation)
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
CleverRaven/Cataclysm-DDA#89212 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Status: Needs confirmation Status: Needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
ai_p2 comp-dictionary
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ClickHouse/ClickHouse#127261 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NVIDIA-Omniverse/usd-brep#23 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
qbittorrent/qBittorrent#25121 ·
Maintainer thường phản hồi trong vòng 2 ngày