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

Accept a slice of remote.Option for cosign verification #916

Merged
merged 2 commits into from
Sep 29, 2022

Commits on Sep 29, 2022

  1. Accept a slice of remote.Option for cosign verification

    If implemented this enable passing a keychain, an authenticator and a
    custom transport as remote.Option to the verifier. It enables contextual
    login, self-signed certificates and insecure registries.
    
    Signed-off-by: Soule BA <soule@weave.works>
    
    refactor makeOptions
    
    Reduce complexity by replacing the functional options with a flat out
    conditional logic in makeOptions.
    
    Signed-off-by: Soule BA <soule@weave.works>
    souleb committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    e2f4e5e View commit details
    Browse the repository at this point in the history
  2. Fail when verifying with insecure

    If implemented we fails when trying to verify with insecure set. This
    will likely change once cosign add support for insecure registries.
    
    Signed-off-by: Soule BA <soule@weave.works>
    souleb committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    f51c98e View commit details
    Browse the repository at this point in the history