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

Implement --insecure-no-password option. #4808

Merged
merged 3 commits into from
May 24, 2024

Commits on May 24, 2024

  1. key add/passwd: deduplicate options setup and remove globals

    The current pattern of using a global options variable is problematic.
    MichaelEischer committed May 24, 2024
    Configuration menu
    Copy the full SHA
    d4b0d21 View commit details
    Browse the repository at this point in the history
  2. Add --insecure-no-password option

    This also includes two derived options `--from-insecure-no-password`
    used for commands that require specifying a source repository. And
    `--new-insecure-no-password` for the `key add` and `key passwd`
    commands.
    
    Specifying `--insecure-no-password` disabled the password prompt and
    immediately uses an empty password. Passing a password via CLI option or
    environment variable at the same time is an error.
    MichaelEischer committed May 24, 2024
    Configuration menu
    Copy the full SHA
    1d2277b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1305062 View commit details
    Browse the repository at this point in the history