Amend AR ADR-024: refuse plaintext at the edge, do not redirect it

Summary

  • Problem: the Transport security section says clients enter over HTTPS, and says nothing about what happens to a request that arrives in plaintext. AppSec raised the gap while reviewing the RPM client API, because the answer matters more for some formats than others: a client that keeps its credential in a configuration file sends it on the first attempt, so a redirect to HTTPS arrives after the credential has already crossed the wire in the clear.
  • Decision: state the rule. A plaintext request to the edge is refused, not redirected.

Checklist

  • Reach: every client surface. It bites hardest on dnf reading a .repo file, which is the case that surfaced it, and it will bite the same way on Debian's sources.list. Formats whose clients pass a credential per command are less exposed, but the rule is the same for all of them.
  • Least sure: whether the edge already behaves this way. I could not confirm it from the repository or from this document, and I have written the decision rather than a description of current state, which is what an ADR records. If Cloudflare redirects today, this MR is the place to find that out, and the follow-up is an infrastructure issue rather than a different sentence here.
  • Agreement: @jdrpereira wrote this section on 2026-09-14 and is the person who knows what the edge does, so review goes to him. The Engineering Lead, or a Staff+ cover, approves.
  • Durability: a change in how the edge terminates TLS, or a deployment model that fronts the registry with something other than Cloudflare. Self-Managed already assumes no platform guarantee, and the operator owns the equivalent choice there.

What changes

One sentence in ### Transport security, after the list of edges that carry TLS. The document goes from 2,602 to 2,650 words, against the 5,000-word limit.

Merge request reports

Loading
Loading