Azure-Samples / microsoft-azure-attestation

Microsoft Azure Attestation is a solution for attesting Trusted Execution Environments (TEEs)
MIT License
30 stars 17 forks source link

Adding `jwt-verifier` #11

Closed olkroshk closed 2 years ago

olkroshk commented 2 years ago

Purpose

Adding maa.jwt.verifier

JWT Verifier takes advantage of the Open Enclave SDK API call oe_verify_attestation_certificate. See also https://openenclave.io/apidocs/v0.17/index.html .

This function performs a custom validation on the input certificate. This validation includes extracting an attestation evidence extension from the certificate before validating this evidence.

jwt-verifier builds and runs on Windows and Ubuntu Linux. The tool performs the following steps:

Does this introduce a breaking change?

[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[x] Feature

How to Test

What to Check

Verify that the following are valid

Other Information