Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support mTLS towards container registry #3922

Merged
merged 5 commits into from
Nov 6, 2024

Commits on Nov 5, 2024

  1. Support for client certs towards registry server

    This commit refactors the registry options handling in the
    `cmd/cosign/cli/options/registry.go` file. It introduces new flags for
    specifying the X.509 CA certificate, client certificate, client key, and
    server name for the connection to the registry.
    This allows cosign to connect to registries that requires mTLS for
    authentication.
    
    Signed-off-by: Søren Juul <[email protected]>
    zpon committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    80bb49c View commit details
    Browse the repository at this point in the history
  2. Update documentation

    Signed-off-by: Søren Juul <[email protected]>
    zpon committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    e8f3422 View commit details
    Browse the repository at this point in the history
  3. Add registry_test.go

    Increase test coverage of `getTLSConfig` method.
    
    Signed-off-by: Søren Juul <[email protected]>
    zpon committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    b5823de View commit details
    Browse the repository at this point in the history
  4. Fix unittests on win and linter errors

    Signed-off-by: Søren Juul <[email protected]>
    zpon committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    4d12839 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Fix temp file creation

    Signed-off-by: Søren Juul <[email protected]>
    zpon committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    bab0180 View commit details
    Browse the repository at this point in the history