Implement a Keymaker Proxy, and actually make use of Ingress cidr_ipv4 #349
Labels
No labels
Compat/Breaking
Component/Enclave-Builder
Component/Infrastructure
Deploy/BYOC
Deploy/Full-managed
Deploy/Self-hosted
Interface/API
Interface/CLI
Interface/Git
Interface/Web
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
public/platform#349
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current status — 2026-09-24
Partially implemented: enclave replacement is available; hosted Keymaker access and actual CIDR enforcement remain open.
Platform 1f7e296 includes restart policy parsing, propagation and Nitro process supervision. Locksmith 9f702bb configures Keymaker for automatic replacement. Nine mocked Nitro lifecycle/bootstrap tests and four configuration tests passed on September 23; these are not live-Nitro evidence. Restart behavior and acceptance.
Remaining:
Scope clarification accepted in #384: Keymaker owns one-shot serialization/reset. The additional Platform semaphore/queue in the original proposal is no longer required. Platform must continue making bounded attempts without automatically replaying generation POSTs.
Original proposal and motivation
We need a Keymaker proxy that semaphores incoming requests so there's only one in flight to the enclave. The enclave should be a self-nuking Keymaker instance that's only accessible from API. This would mean we need to configure
ingress {}blocks incaution.hclto actually make use of thecidr_ipv4. Currently, we deploy aresource "aws_security_group"indeployment.rs. Short term, what we can do, is replace thecidr_blocksin the Terraform with the provided CIDR fromcidr_ipv4fromcaution.hcl, for HTTP, platform_internal_ingress, and dynamic "ingress".When a client wants to generate a key:
This prevents the potential Denial of Service from selfnuke by requiring clients to be logged in before acquiring the semaphore.
Backlog duplicate audit: #80 (IP safelisting) appears to be the earlier, underspecified version of the ingress CIDR work tracked here. Keeping this as the primary ticket because it explicitly covers applying ingress.cidr_ipv4/CIDR safelisting to enclave ingress; #80 is being closed in favor of this issue.
anton referenced this issue2026-10-15 05:30:40 +00:00