← Back to Pull requests

scion: serve the registrar over TLS #1

Open
unknown opened this pull request with 92 lines diff across 1 files
View on GitHub
unknown unknown commented on Nov 20, 2026 14:30 UTC
Author

The dev SCION topology ran the registrar over plaintext HTTP, so the operator bearer token crossed the underlay in the clear.

  • configure_scion_as.sh mints a self-signed certificate for the AS host address under ${WORKING_DIR}/scion/registrar-tls/ (kept across re-runs, removed by cleanup with the rest of the directory).

  • The registrar starts with --tls-cert/--tls-key; the smoke checks use HTTPS with the certificate pinned.

  • The script prints REGISTRAR_URL=https://... and a new REGISTRAR_CA path for the scion-k8s-operator e2e suite.
  • Validated on metal-u15: topology re-created, then the full scion-k8s-operator OpenShift e2e passed against it over HTTPS.

    _This PR was prepared with AI assistance (Claude Fable 5.2)._

    Diff: 92 lines (+69 / -23) across 1 files Reviewer: mkowalski Review duration: 3201m
    All Vouch review confidence checks passed
    Residual risk 0.31 = Change Risk (0.58) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.58 · 92 lines diff across 1 files
    0.58
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.271
    Sensitive Paths sensitive_paths
    0.058
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #1"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 58.3% (MEDIUM) · Higher = larger blast radius
    58.3%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 31.1% · Safe to merge
    31.1%