Skip to content

Add the nitro provider — runtime/enclave attestation (ASP + appraiser) #1

Closed

Description

@scttfrdmn

Phase-two of the evidence kernel (ADR 0001). Per the kernel's own build order (vet → nitro → qualify → attest), nitro is the second registered provider. vet was built first on purpose (the non-Nitro shape) so the kernel could not become Nitro-shaped; this issue proves the abstraction generalized and delivers the runtime-attestation capability nothing in the suite covers today.

Scope — providers/nitro (one (ASP, appraiser) pair)

Target scheme nitro://self.

Measurer — gather, do not judge:

  • Obtain an AWS Nitro NSM attestation document (COSE_Sign1; PCRs, user_data, nonce).
  • Return it as an opaque Payload with Status: Collected (or CollectFailed if no NSM device / not in an enclave — a recorded fact, not an error).

Appraiser — decode, verify, judge:

  • Verify the COSE_Sign1 signature against the AWS Nitro Attestation PKI root held in the trust Store (a new named root, e.g. aws-nitro).
  • Check the native nonce binding: the NSM doc embeds the challenge, so nitro is the one ASP that binds in.Nonce itself (vs vet, whose freshness rides the kernel's outer SIG). This is exactly the asymmetry ARCHITECTURE.md calls out — it is an appraisal check, never a kernel branch.
  • Judge PCR values against expected/golden references passed in Params; emit platform claims (e.g. platform.nitro_attested, PCR digests).

Claims lower to Cedar attributes through lower.ToAttributes like every other provider.

Invariants to respect (kernel CLAUDE.md)

  • No ASP-specific branch in the kernel — all nitro meaning lives in this pair.
  • Measurer returns unsigned evidence; native nonce binding is an appraisal check.
  • Inject the NSM client + COSE verifier so the provider tests with no hardware / no network (mirror providers/vet's injected Source/Verifier).

Downstream (dependents — filed separately, blocked by this)

  • ground: deploy the nitro-attested IAM trust-policy condition for data-access roles.
  • attest: inject nitro:// runtime attributes into the Cedar context.

Refs: ADR 0001 · provabl/evidence ARCHITECTURE.md

Activity

  1. added
    type:feature
    on Jun 8, 2026
  2. scttfrdmn commented on Jun 8, 2026

    @scttfrdmn
    ContributorAuthor

    Dependents now filed (both blocked by this provider):

  3. scttfrdmn commented on Jun 8, 2026

    @scttfrdmn
    ContributorAuthor

    Part of the Evidence Kernel Integration epic — tracking hub: #2

  4. added a commit that references this issue on Jun 9, 2026
    09054c4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:providerstype:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions