Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
3704: Use newer OIDs for quote and evidence generation r=mingweishih a=ryanhsu19

~~Remove old OIDs, and assign new OIDs to the variables that previously saved old OIDs.~~

Stop using old OIDs to generate attestation certificates.

Fix openenclave#3703 .

Signed-off-by: Ryan Hsu <[email protected]>

Co-authored-by: Ryan Hsu <[email protected]>
  • Loading branch information
oeciteam and ryanhsu19 committed Nov 5, 2020
2 parents 76a5ca5 + 37a8508 commit fb6b653
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enclave/tls_cert.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#define DATE_NOT_VALID_BEFORE "20190501000000"
#define DATE_NOT_VALID_AFTER "20501231235959"

static const unsigned char oid_oe_report[] = X509_OID_FOR_QUOTE_EXT;
static const unsigned char oid_oe_evidence[] = X509_OID_FOR_OE_EVIDENCE_EXT;
static const unsigned char oid_oe_report[] = X509_OID_FOR_NEW_QUOTE_EXT;
static const unsigned char oid_oe_evidence[] = X509_OID_FOR_NEW_OE_EVIDENCE_EXT;

// Input: an issuer and subject key pair
// Output: a self-signed certificate embedded critical extension with quote
Expand Down

0 comments on commit fb6b653

Please sign in to comment.