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

Teach step ca init about --key-password-file #1106

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

larsks
Copy link
Contributor

@larsks larsks commented Feb 11, 2024

This commit permits you, when using the --root and --key options, to pass
the password for decrypting the key in --key-password-file rather than
requiring an interactive prompt.

Example usage:

step ca init --root root.crt --key root.key \
  --key-password-file root_key_password ...

Closes #453

@CLAassistant
Copy link

CLAassistant commented Feb 11, 2024

CLA assistant check
All committers have signed the CLA.

This commit permits you, when using the --root and --key options, to pass
the password for decrypting the key in --key-password-file rather than
requiring an interactive prompt.

Example usage:

    step ca init --root root.crt --key root.key \
      --key-password-file root_key_password ...

Closes smallstep#453
@larsks larsks force-pushed the feature/key-password-file branch from ca33532 to f5983cf Compare February 11, 2024 19:53
@hslatman hslatman requested a review from maraino February 13, 2024 18:32
Copy link
Collaborator

@maraino maraino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @larsks, it looks good to me

@maraino maraino merged commit c592ed4 into smallstep:master Feb 13, 2024
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Waiting for discussion / prioritization by team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"step ca init" with "--root" and "--key": add a way to pass the password to decrypt existing key file
3 participants