Metadata-Version: 2.3
Name: intel-sgx-ra
Version: 2.3.3
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Dist: requests >=2.32.3, <3.0.0
Requires-Dist: cryptography >=43.0.3, <44.0.0
Requires-Dist: authlib >=1.3.2, <2.0.0
Requires-Dist: black >=24.3.0, <25.0.0 ; extra == 'dev'
Requires-Dist: isort >=5.13.2, <6.0.0 ; extra == 'dev'
Requires-Dist: pylint >=3.2.7, <4.0.0 ; extra == 'dev'
Requires-Dist: pycodestyle >=2.12.1, <3.0.0 ; extra == 'dev'
Requires-Dist: pydocstyle >=6.3.0, <7.0.0 ; extra == 'dev'
Requires-Dist: mypy >=1.13.0, <2.0.0 ; extra == 'dev'
Requires-Dist: pytest >=8.3.3, <9.0.0 ; extra == 'dev'
Requires-Dist: types-requests >=2.31.0, <3.0.0 ; extra == 'dev'
Provides-Extra: dev
Summary: Intel SGX Remote Attestation verification library
Author-email: Cosmian Tech <tech@cosmian.com>
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# Intel SGX DCAP Remote Attestation library

## Overview

Python library for Intel SGX DCAP remote attestation.

## Installation

```console
$ pip install intel-sgx-ra
```

## Usage

```console
$ sgx-ra-verify --help
usage: sgx-ra-verify [-h] [--verbose] [--mrenclave HEXDIGEST]
                     [--mrsigner HEXDIGEST]
                     (--pccs-url URL | --azure-attestation)
                     {certificate,quote} ...

Intel SGX DCAP quote verification

positional arguments:
  {certificate,quote}   sub-command help
    certificate         Remote Attestation from RA-TLS X.509 certificate
    quote               Remote Attestation of a raw SGX quote

optional arguments:
  -h, --help            show this help message and exit
  --verbose             Verbose mode
  --mrenclave HEXDIGEST
                        Expected MRENCLAVE value in SGX quote
  --mrsigner HEXDIGEST  Expected MRSIGNER value in SGX quote
  --pccs-url URL        Provisioning Certificate Cache Service URL (Intel
                        DCAP)
  --azure-attestation   Microsoft Azure Attestation Service (Azure DCAP)
$ sgx-ra-utils --help
usage: sgx-ra-utils [-h] [--verbose] {extract} ...

Intel SGX DCAP Quote tools

positional arguments:
  {extract}   sub-command help
    extract   Extract Quote from RA-TLS X.509 certificate

optional arguments:
  -h, --help  show this help message and exit
  --verbose   Verbose mode
```

