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 characters " and ' are not supported in password #83

Open
Whitespirit0 opened this issue Dec 3, 2019 · 0 comments
Open

Special characters " and ' are not supported in password #83

Whitespirit0 opened this issue Dec 3, 2019 · 0 comments

Comments

@Whitespirit0
Copy link

Whitespirit0 commented Dec 3, 2019

Hello,

I've tried for some time to make the script list images available in an authenticated registry.
Unfortunately, the output was always empty with no error message whatsoever.
After modifying the script a little bit, I realized that I was getting a 401 error.
After that, it took me some time to understand that this was because my password contains a " character, which is stripped here (as well as the ' character):

password = password.strip('"').strip("'")

Would it be possible to:

  1. Display an error message when the response status code is not 200.
  2. Support " and ' characters in passwords or at least add a warning in the doc saying they are not supported.
  3. Mention the -w option in the doc which is more secure than passing the password in the command line.

Thanks in advance!

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

No branches or pull requests

1 participant