Skip to content

[Bug]: step crypto key format --force asks for confirmation before overwriting files #1579

@kaysond

Description

@kaysond

Steps to Reproduce

Run something like

step crypto key format \
    --force \
    --ssh \
    --out=certs/ssh_user_ca_key.pub \
    certs/ssh_user_ca_key.pem

Your Environment

Docker smallstep/step-ca:0.29.0-hsm

Expected Behavior

File should be overwritten without asking for confirmation

Actual Behavior

Command asks for y/n confirmation

Additional Context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Metadata

Metadata

Assignees

Labels

bugneeds triageWaiting for discussion / prioritization by team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions