Skip to content

Special character * cannot be used in password  #377

Description

@erikanderson

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions