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

vSphere password with special characters still works incorrectly #180

Closed
alex-slynko opened this Issue Feb 27, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@alex-slynko
Member

alex-slynko commented Feb 27, 2018

I have my favourite password with ! and \ characters, but I can't use it with Kubo.
Pre-start script fails with the following error:

/var/vcap/packages/govc/bin/govc: ServerFaultCode: Cannot complete login due to an incorrect user name or password.

After some digging, we found out that pre-start script transforms ! character to something else.
It works much better when we changed how password is passed to the following way

GOVC_PASSWORD=$'#&;^\ !%\'Az1'

See more http://wiki.bash-hackers.org/syntax/quoting#ansi_c_like_strings

@cf-gitbot

This comment has been minimized.

cf-gitbot commented Feb 27, 2018

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/155548283

The labels on this github issue will be updated when the story is started.

@BenChapman

This comment has been minimized.

Contributor

BenChapman commented Feb 28, 2018

What the password looks like in VSphere: #&;^\ !%'Az1

@cf-gitbot cf-gitbot added delivered and removed in progress labels Mar 1, 2018

@BenChapman BenChapman closed this Mar 6, 2018

@cf-gitbot cf-gitbot added accepted and removed delivered labels Mar 6, 2018

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