Documentation
¶
Overview ¶
Package proofs provides verification for Turnkey app proofs and boot proofs.
App proofs and boot proofs establish a cryptographic chain of trust that proves Turnkey operations were executed within a genuine AWS Nitro Enclave.
To learn more about verifying app proofs and boot proofs, see: https://whitepaper.turnkey.com/foundations/
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBootProofTime ¶
GetBootProofTime extracts the timestamp from a boot proof
func Verify ¶
Verify an app proof and boot proof pair.
This establishes a cryptographic chain of trust:
- Verifies the app proof signature
- Verifies the boot proof a. Verifies the AWS Nitro attestation document signature and validity b. Verifies the QOS manifest hash matches the attestation document user_data
- Verifies the app proof / boot proof connection - that the app proof's ephemeral public key matches attestation document's public_key field
To learn more about verifying app proofs and boot proofs, see: https://whitepaper.turnkey.com/foundations/
func VerifyAppProofSignature ¶
VerifyAppProofSignature verifies the app proof's P-256 ECDSA signature
Types ¶
This section is empty.