boxes: a ProxyAbsence cause for a proxy that serves only GitHub grants, so the minimald refusal stops saying no proxy serves · Issue #3277 · gominimal/minimal · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
boxes: a ProxyAbsence cause for a proxy that serves only GitHub grants, so the minimald refusal stops saying no proxy serves #3277
Residual of BOX T33 (#2422, PR #3275), from arch condition C1 (arch_rulings 1134).
On a node where a Box Egress Proxy serves, minimald still refuses a broker grant that is not a GitHub grant, with exit 5 and gatehouse_unenrolled_node (unenrolled_broker_refusal() in crates/minimald/src/box_manager.rs). It builds that refusal with boxes::core::bep::ProxyAbsence::NotServed. That cause prints that no Box Egress Proxy serves boxes on this machine. On this path the proxy does serve, so the message is false, and it hides the remedy of enrolling the node.
Scope: add a ProxyAbsence cause in crates/boxes/src/core/bep.rs whose text says that the Box Egress Proxy on this machine serves only GitHub grants. Pass it from unenrolled_broker_refusal() when proxy_serves is true, and keep exit 5 and gatehouse_unenrolled_node. Write the exact text in the task, and pin it in broker_secret_unenrolled_exit5 for each proxy-present case.
T33's layers do not reach crates/boxes. Refs #2236, #2422, #3275.
Activity