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]: json: cannot unmarshal number into Go value of type ca.AdminClientError - when listing admins #1622

Open
KillerKelvUK opened this issue Nov 14, 2023 · 0 comments
Assignees
Labels
bug needs triage Waiting for discussion / prioritization by team

Comments

@KillerKelvUK
Copy link

KillerKelvUK commented Nov 14, 2023

Steps to Reproduce

Docker latest. Create container with 'DOCKER_STEPCA_INIT_REMOTE_MANAGEMENT: false'. From within the same step-ca container or when using a 2nd container for Step CLI; attempt a 'step ca admin list' and supplier the super admin creds. The above error message is then returned.

Alternatively following the same steps as above but with 'DOCKER_STEPCA_INIT_REMOTE_MANAGEMENT: true', the same admin list command works as expected.

Your Environment

6db8ad78447f:~$ step version
Smallstep CLI/0.25.0 (linux/amd64)
Release Date: 2023-09-27 05:35 UTC

step-ca:~$ step-ca version
Smallstep CA/0.25.0 (linux/amd64)
Release Date: 2023-09-27 06:17 UTC

Expected Behavior

'step ca admin list' should output a list of configured subjects, their provisioners and admin types.

Actual Behavior

"json: cannot unmarshal number into Go value of type ca.AdminClientError" is simply displayed instead.

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

@KillerKelvUK KillerKelvUK added bug needs triage Waiting for discussion / prioritization by team labels Nov 14, 2023
@hslatman hslatman self-assigned this Nov 21, 2023
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

2 participants