[Bug]: step ca renew --force incorrectly invokes step-kms-plugin on Debian 12

Open
#1,704 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
63/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
go, linux
Domain
cli, security

Research direction

Start by locating the step ca renew command and how its short -f and long --force flags are handled; the issue does not name source files or tests. Compare both forms on Debian 12 and Ubuntu 24.04, then run relevant renewal tests. Done when the flags behave equivalently across the reported systems without invoking a missing step-kms-plugin.

Written by the indexing model from the issue text.

Description

bug needs triage
Steps to Reproduce

step ca renew -f
succeeds

step ca renew --force
fails with:
exec: "step-kms-plugin": executable file not found in $PATH

Ubuntu 24.04 with the same step-cli version/build:
both commands succeed

Your Environment
  • OS - Debian 12 (Bookworm)
  • step CLI Version -
    Smallstep CLI/0.30.6 (linux/amd64)
    Release Date: 2026-06-10T20:39:13Z
Expected Behavior

Both flags should behave the same regardless of operating system as documented.

Actual Behavior

On Debian 12 -
step ca renew -f
succeeds

step ca renew --force
fails with:
exec: "step-kms-plugin": executable file not found in $PATH

Ubuntu 24.04 with the same step-cli version/build:
both commands succeed

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).

Dominant language
Go
Stars
4.3k
Forks
320
Avg merge
1d 21h
Merged PRs (30d)
10

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from smallstep/cli

All issues in smallstep/cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.