feat(provider): add lease-attestation and confidential-compute deploy support - #56
Merged
Conversation
cloud-j-luna
force-pushed
the
feat/lease-attestation
branch
from
August 11, 2026 19:17
0d32dec to
8c47eb7
Compare
troian
previously approved these changes
Aug 11, 2026
cloud-j-luna
force-pushed
the
feat/lease-attestation
branch
from
August 11, 2026 19:40
8c47eb7 to
c92c0c7
Compare
cloud-j-luna
force-pushed
the
feat/lease-attestation
branch
from
August 12, 2026 12:20
c92c0c7 to
ac0e1f1
Compare
cloud-j-luna
force-pushed
the
feat/lease-attestation
branch
3 times, most recently
from
August 12, 2026 13:45
0691764 to
83934e6
Compare
cloud-j-luna
force-pushed
the
feat/lease-attestation
branch
from
August 12, 2026 16:35
83934e6 to
21c47d0
Compare
troian
approved these changes
Aug 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
akt provider lease-attestation [dseq], the confidential-compute counterpart oflease-status, and makesakt deployactually create CC workloads. Verified end to end on mainnet against a real AMD SEV-SNP + NVIDIA GPU provider: the command returns a genuine hardware attestation quote (tee_platform: snp-gpu,nonce_verified: true,mock_report: false) with the GPU attestation report and cert chain.lease-attestation command
Resolves the lease and provider like
lease-status, requests an attestation quote over a new gRPC gateway client, and reports whether the report echoes a fresh nonce, in the same JSON shapeprovider-servicesproduces. This is akt's first gRPC gateway transport, beside the REST client ininternal/provider, reusing akt's JWT/mTLS auth resolution.The provider's gRPC gateway serves a self-signed certificate whose common name is the provider's on-chain address. The client verifies it against the provider's registered certificate in the cert module (standard PKI fast-path first, then on-chain), mirroring the SDK REST client rather than
provider-services'InsecureSkipVerify. JWT auth matchesprovider-services' token exactly.Confidential-compute deploy support
Bumps
pkg.akt.dev/go/sdlv0.1.1 -> v0.4.2. The old version silently droppedparams.tee, soakt deploycreated plain-GPU workloads with notee/typerequirement and no attestation sidecar. With the bump,params.tee: cpu-gpuprojects thetee/typeplacement requirement and the manifest TEE params, so the workload schedules as confidential compute (nvidia.com/pgpu) with the attestation sidecar.Out of scope
Full cryptographic attestation of the returned quote (AMD KDS / Intel PCS endorsement chains, signature and measurement-policy verification). The command verifies nonce freshness and authenticates the transport; it does not yet validate the hardware evidence chain.
Verification
go build,go vet,go test ./...,gofmt, and golangci-lint all clean. A command-layer test drives the command end to end against an in-memory gRPC gateway; a unit test signs and verifies the attestation JWT. Confirmed live:akt deploycreated a CC lease on a mainnet SEV-SNP+GPU provider, andakt provider lease-attestationreturned a verified hardware quote.