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

Special character * cannot be used in password #377

Open
erikanderson opened this issue Jan 10, 2022 · 1 comment
Open

Special character * cannot be used in password #377

erikanderson opened this issue Jan 10, 2022 · 1 comment
Labels
area/authentication Relates to authentication good first issue Good for newcomers kind/bug Something isn't working priority/important Should be worked on soon. Higher priority than backlog

Comments

@erikanderson
Copy link

erikanderson commented Jan 10, 2022

What happened:
[A clear and concise description of what the bug is.]

Cannot use password with * character (with and without enclosing single quotes)

What did you expect to happen:

Successful login with saml

How to reproduce it:

Try to use password either with input or no input that has a * character

kconnect use eks --idp-protocol saml --no-input --region us-east-1 --username test_username --password 'abc*123' --role-arn arn:aws:iam::******:role/******* --namespace *********

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

fatal	failed executing root command	{"error": "authenticating using provider saml: authenticating: Unknown document type"}
main.main
	/home/runner/work/kconnect/kconnect/cmd/kconnect/main.go:50
runtime.main
	/opt/hostedtoolcache/go/1.17.2/x64/src/runtime/proc.go:255

Environment:

  • kconnect version (use kconnect version):
version: 0.5.4
builddate: "2021-11-04T13:46:43Z"
commithash: 6db28a190b6f815858a834fccde6d7287151cb2b
goversion: go1.17.2
platform: darwin/amd64
compiler: gc
  • Kubernetes version (use kubectl version):
  • OS (e.g. from /etc/os-release): OSX
  • Target environment (e.g. EKS, AKS, Rancher): EKS
  • Authentication Used (e.g. SAML, IAM, Azure AD): SAML
@erikanderson erikanderson added the kind/bug Something isn't working label Jan 10, 2022
@seankelly001 seankelly001 added area/authentication Relates to authentication good first issue Good for newcomers priority/important Should be worked on soon. Higher priority than backlog labels Jan 10, 2022
@erikanderson
Copy link
Author

I might actually be wrong about the special character causing it, I just did another test with using just letters in a wrong password and it gives the same error so this may not be a real issue, sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/authentication Relates to authentication good first issue Good for newcomers kind/bug Something isn't working priority/important Should be worked on soon. Higher priority than backlog
Projects
None yet
Development

No branches or pull requests

2 participants