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

[Bug]: Rekeying a JWK provisioner fails #1199

Closed
tashian opened this issue Jun 13, 2024 · 2 comments
Closed

[Bug]: Rekeying a JWK provisioner fails #1199

tashian opened this issue Jun 13, 2024 · 2 comments
Assignees
Labels
bug needs triage Waiting for discussion / prioritization by team

Comments

@tashian
Copy link
Contributor

tashian commented Jun 13, 2024

Steps to Reproduce

step ca init
step-ca

Then, in another terminal:

step ca provisioner update [jwk provisioner name] --create

Your Environment

  • OS - darwin
  • step CLI Version -0.26.0

Expected Behavior

It should have rekeyed the provisioner and asked me for a new password.

Actual Behavior

CLI output:

✔ CA Configuration: /Users/carl/.step/authorities/test/config/ca.json

Please enter a password to encrypt the provisioner private key? [leave empty and we'll generate one]:
error updating provisioner: error updating provisioner 'carl@smallstep' in authority cache: provisioner carl@smallstep:8MsJE2JtORIf-pQJnW9TWp1mrMqXPH3wg_oGo_gqSks not found

step-ca output:

WARN[0144]                                               duration="17.334µs" duration-ns=17334 fields.time="2024-06-12T14:46:47-07:00" method=GET name=ca path=/admin/admins protocol=HTTP/2.0 referer= remote-address="::1" request-id=32bf204e-7c25-4a24-ab97-2e99656c31a3 size=19 status=404 user-agent="Smallstep CLI/0.26.0 (darwin/arm64)" user-id=

Additional Context

This is without remote provisioner management enabled.

@dopey took a look at this one, confirmed it, and found the source of the error.

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

@tashian tashian added bug needs triage Waiting for discussion / prioritization by team labels Jun 13, 2024
@hslatman
Copy link
Member

This seems to be a duplicate of #1059

@tashian tashian closed this as completed Jun 24, 2024
@tashian
Copy link
Contributor Author

tashian commented Jun 24, 2024

I resurfaced #1059 on the triage board. It was already in To Do.

@hslatman hslatman modified the milestone: v0.26.3 Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage Waiting for discussion / prioritization by team
Projects
None yet
Development

No branches or pull requests

3 participants