Repository navigation
feat(console): SCEP challenge passwords on node detail - #189
Merged
Merged
Conversation
Picks up MintNodeScepChallenge, ListNodeScepChallenges and RevokeNodeScepChallenge on FleetService. Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
Node detail now lists a managed node's usable SCEP challenges through the manager's ListNodeScepChallenges. An operator can mint a one-time challenge password (shown once, through the same ShownOnceSecret pattern an agent key uses) and revoke an unused challenge. Minting and revoking need operator level or above, the same gate NodeChainValidate uses; a viewer sees the list only. Refs CryptOS-PKI/cryptos-manager#190 Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com>
Signed-off-by: Bugs5382 <12115015+Bugs5382@users.noreply.github.com> # Conflicts: # apps/console/src/pages/node-detail.live.test.tsx # apps/console/src/pages/node-detail.test.tsx # apps/console/src/pages/node-detail.tsx # packages/api-client/proto-refs.env # packages/api-client/src/gen/cryptos/fleet/v1/fleet_pb.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Node detail gains a SCEP challenge passwords panel, for operators and above: mint a one-time challenge password (shown once, with a copy button and a clear warning that it can't be shown again), list the active challenges, and revoke one. Viewers see the panel read-only.
The API client is regenerated against cryptos-manager main, which carries cryptos-manager#204.
How it was tested
Unit tests first for the lib layer and the component, with an accessibility check. Locally: lint, 730 console tests, the kit and client suites, the build and the release-bundle check all pass.
Refs CryptOS-PKI/cryptos-manager#190