#sgx #quote #dcap #pck #api-service #extension #api-bindings

dcap-provider

DCAP quote provider using the Intel Trusted Services API as a backend. This crate compiles into libdcap_quoteprov.so, which is needed as a backend when using libsgx_dcap_ql. To use this library, the dynamic linker needs to be able to find it. This means you should install it in your system’s library path or set the LD_LIBRARY_PATH environment variable. You must set your API key in the OCP_APIM_SUBSCRIPTION_KEY environment variable. You can sign up for a service subscription at https://api.portal.trustedservices.intel.com/. SGX: Software Guard Extensions DCAP: DataCenter Attestation Primitives QL: Quoting Library

6 releases (breaking)

0.4.0 Apr 16, 2024
0.3.1 May 20, 2020
0.3.0 Feb 13, 2020
0.2.0 Jul 19, 2019
0.0.0 Jan 24, 2019

#945 in Hardware support

Download history 7/week @ 2024-02-16 5/week @ 2024-02-23 1/week @ 2024-03-01 14/week @ 2024-03-29 6/week @ 2024-04-05 143/week @ 2024-04-12 12/week @ 2024-04-19

155 downloads per month

MPL-2.0 license

64KB
1K SLoC

Testing

To test this crate, install it as your DCAP quote provider. Then, run the tests for the dcap-ql crate:

# Requirement: have the DCAP quote provider installed
cd ../dcap-ql
OCP_APIM_SUBSCRIPTION_KEY=... DCAP_QL_TEST_ATT_KEY_TYPE=pck_cert_chain cargo test --features test-sgx-flc

Dependencies

~13–27MB
~437K SLoC