#sgx #quote #dcap #back-end #pck #api-service #extension

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

#922 in Hardware support

Download history 9/week @ 2024-02-19 4/week @ 2024-02-26 20/week @ 2024-04-01 155/week @ 2024-04-15

175 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
~439K SLoC