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

remove problematic special chars for bash #276

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

nabuskey
Copy link
Collaborator

@nabuskey nabuskey commented Jun 4, 2024

When using idpbuilder with bash, the gitea secret could contain special characters that are not user or bash friendly. Especially in bash scripts, special characters often have meaning. Removing the following characters: ", \.

Ref: https://cloud-native.slack.com/archives/C05TN9WFN5S/p1717410133645919

@nabuskey nabuskey requested a review from cmoulliard June 4, 2024 16:33
Copy link
Contributor

@nimakaviani nimakaviani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nimakaviani nimakaviani merged commit c13a570 into cnoe-io:main Jun 4, 2024
2 checks passed
@cmoulliard
Copy link
Contributor

Backstage is complaining too about the ] symbol ==>

YAMLParseError: Unexpected flow-seq-end token in YAML stream: "]" at line 82, column 31:
       password: *e=sUnx)4Eu-2]k$j~cX-]l$,8EZ"4m7tC!?+C9q

@nimakaviani
Copy link
Contributor

sorry I missed the context on this one when I merged it. Only saw the slack conversation afterwards. Should have let @cmoulliard review it first. Anyway, we will have to get the fix in for the latest issue with Backstage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants