Skip to content

[Bug]: Cannot remove provisioners with name containing "://" #743

@spacedub

Description

@spacedub

Steps to Reproduce

step ca provisioner add "testthis://foo" --type JWK --create

step ca provisioner remove "testthis://foo"

Your Environment

  • OS - 12.5.1 (21G83)
  • step CLI Version - Smallstep CLI/0.21.0 (darwin/arm64)
    Release Date: 2022-07-07 01:07 UTC

Expected Behavior

Remove the newly created provisioner.

Actual Behavior

json: cannot unmarshal number into Go value of type ca.AdminClientError

(and the provisioner cannot be removed)

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

Relationships

None yet

Development

No branches or pull requests

Issue actions