Skip to content

Commit d08e7ce

Browse files
author
Michael de Hoog
committed
Add documentation about certificate revocation
1 parent 7879d9b commit d08e7ce

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Note it costs around 63m gas to validate an attestation with no prior verified c
77
You can break this up into smaller transactions by verifying each cert in the chain separately.
88
You can call `CertManager.verifyCert` for each cert in the attestation `cabundle`.
99

10+
This library does not currently support certificate revocation, which is disabled in AWS's attestation verification documentation
11+
[here](https://github.com/aws/aws-nitro-enclaves-nsm-api/blob/4b851f3006c6fa98f23dcffb2cba03b39de9b8af/docs/attestation_process.md#32-syntactical-validation).
12+
1013
## Usage
1114

1215
1. Deploy the `CertManager` separately.

src/CertManager.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ import {ICertManager} from "./ICertManager.sol";
1010

1111
// adapted from https://github.com/marlinprotocol/NitroProver/blob/f1d368d1f172ad3a55cd2aaaa98ad6a6e7dcde9d/src/CertManager.sol
1212

13+
// Manages a mapping of verified certificates and their metadata.
14+
// The root of trust is the AWS Nitro root cert.
15+
// Certificate revocation is not currently supported.
1316
contract CertManager is ICertManager {
1417
using Asn1Decode for bytes;
1518
using LibAsn1Ptr for Asn1Ptr;

0 commit comments

Comments
 (0)