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

Add cosign signature verification for plugin inventory image to ensure integrity of plugins #106

Merged
merged 1 commit into from
Mar 29, 2023

Commits on Mar 28, 2023

  1. Add cosign signature verification for plugin inventory image to ensur…

    …e integrity of plugins
    
    -Added signature verification of plugin inventory(DB) image to ensure the integrity of plugin downloaded and installed from the repository
    - Also embedded the default public key in the CLI required to verify the cosign signature
    - If the signature verification fails, CLI would show the warning message but would not throw error and users can choose to skip this validation by setting the environment variable TANZU_CLI_PLUGIN_DISCOVERY_IMAGE_SIGNATURE_VERIFICATION_SKIP_LIST with the discovery image url. User can also choose to suppress signature verification failure warning by setting TANZU_CLI_SUPPRESS_SKIP_SIGNATURE_VERIFICATION_WARNING to true.
    
    Signed-off-by: Prem Kumar Kalle <pkalle@vmware.com>
    prkalle committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    2301127 View commit details
    Browse the repository at this point in the history