← Back to Pull requests

Merge golang/crypto master, replacing our ACME profiles patch with upstream's #10

Closed
unknown closed this pull request without merging on Nov 14, 2026 05:15 UTC
View on GitHub
unknown unknown commented on Oct 06, 2026 12:39 UTC
Author

This merges golang/crypto master into our fork and replaces our ACME profiles patch with upstream's.

golang/crypto merged ACME profiles support on 5 October in 4e01a8447c (golang/go#73101). Our profiles patch, 20ccc12, was based on an early version of that change, so we no longer need it. After this merge, the fork carries only the two patches upstream does not have yet:

  • 061aeaf: RetryAfter on Authorization, Order and Challenge (proposal golang/go#74454). Open PR cert-manager/cert-manager#7805 uses it.

  • fa31f54: ACME Renewal Information, RFC 9773 (proposal golang/go#60958). cert-manager uses it for ARI-based renewal.
  • We cannot drop the fork until upstream accepts ARI.

    Please merge this with a merge commit, not squash or rebase: cert-manager's third_party/klone.yaml pins a commit on this branch. #9, which this was stacked on, has merged.

    The consuming cert-manager PR is cert-manager/cert-manager#9431.

    The dco check has been overridden. The merge brings in golang/crypto commits, which never carry a Signed-off-by line. My own commits are signed off. #6 and #7, the previous merges of golang/crypto master, were overridden the same way.

    <details>
    <summary>API changes for callers</summary>

  • WithOrderProfile(string) becomes WithOrderIssuanceProfile(ProfileName).

  • Directory.Profiles becomes map[ProfileName]string, without Has or GetDescription.

  • ErrCADoesNotSupportProfiles and ErrProfileNotInSetOfSupportedProfiles are unexported upstream.

  • Order gains upstream's Profile field.
  • </details>

    <details>
    <summary>How the merge was resolved and tested</summary>

  • The resolved acme/ tree equals golang/crypto master plus 061aeaf and fa31f54, cherry-picked in that order. Everything outside acme/ is identical to golang/crypto master: git diff golang/master bac6bdb -- . ':!acme' is empty.

  • 061aeaf conflicted only where both sides added a line in the same place. Both sides were kept.

  • fa31f54 conflicted where it sat next to our profiles code. Upstream's profiles code was kept, and only the ARI additions were taken from fa31f54.

  • go vet ./acme/... is clean. go test ./acme/... passes, including the ARI tests and TestWithPebble against Pebble v2.10.1.
  • </details>

    [with Claude]

    Diff: 281 lines (+210 / -71) across 3 files Reviewer: hjoshi123 Review duration: 55715m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.63) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.63 · 281 lines diff across 3 files
    0.63
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    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
    Diff Size diff_size
    0.338
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.063
    Real PR Conversation Timeline
    1 comments
    "Review active on #10"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 62.8% (MEDIUM) · Higher = larger blast radius
    62.8%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 24.8% · Safe to merge
    24.8%