Skip to content

BUG-12: A private-CA-only cmapi-trust will fail GitHub TLS in Wave 3 #97

Closed

Description

@ephico2real2

Part of #18

What is wrong: core/context.py:92-95 passes settings.verify to the Git provider. Wave 1 ruled that cmapi-trust holds only Keycloak's private CA (docs/reviews/2026-11-06-wave1-design/README.md, ruling 2), so with that bundle a call to github.com would not verify.

Where: cmapi/src/cmapi/core/context.py:92-95. The lines exist at ecc5cb3, and line 93 passes verify=settings.verify.

How to prove it: The GitHub adapter reaches github.com on a pod with the real bundle, and a server outside both trust sets is refused. A new test in cmapi/tests/service/ shows it, not written yet.

Measured or inferred: Read in the code, not run: Wave 1 has no Git host.

Severity: Low. Wave 1 has no Git host, so no code path reaches the defect. Wave 3 reaches it.

What must hold after the fix: A call to github.com verifies against public roots. A server outside both trust sets is refused. TLS verification stays on.

Research: Not done yet. The options when filed: either a separate verify setting for the Git provider that uses the image's public roots, or add the public roots to the bundle. Choose in Wave 3's design.

Solution: Not written. The fix is in Wave 3.

Class: No class. The fix lets the Git provider verify github.com, which is the intended behavior.

Activity

  1. added
    Backlog
    bug
    sev:low
    status:open
    on Nov 13, 2026
  2. changed the title [-]A private-CA-only cmapi-trust will fail GitHub TLS in Wave 3[/-] [+]BUG-12: A private-CA-only cmapi-trust will fail GitHub TLS in Wave 3[/+] on Nov 13, 2026
  3. added
    In-Progress
    on Nov 15, 2026
  4. added a commit that references this issue on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BacklogIn-Progressbugsev:lowstatus:open

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions