kubesphere / kubesphere/ks-devops

base64-encoded string echoed back to the frontend page when creating DevOps Credentials

Open
#145 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority/low
Dominant language
Go
Stars
164
Forks
140
PR merge metrics
No merged PRs in 30d

Description

Describe the Bug

I found that at the moment of clicking confirm, the "username" here will become a base64-encoded string.
I guess here is a base64-encoded string that needs to be passed to the backend, but should it be echoed back to the frontend page?

image

image

Versions Used
KubeSphere: nightly-20210422

/area console
/priority Low

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the DevOps Credentials creation flow in the console and inspect what is shown after clicking confirm. Trace whether the base64-encoded username is required only for the backend, then verify that the frontend no longer exposes it while credential creation still succeeds.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.