-
Notifications
You must be signed in to change notification settings - Fork 904
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
Username and password for choco apikey
not encrypted in output
#1106
Comments
@ferventcoder This may fall under security? |
Interesting. Yeah, I think that would definitely not be something you want to return the output. |
paulhunttech
pushed a commit
to paulhunttech/choco
that referenced
this issue
Jan 3, 2017
Previously the 'choco apikey' command wrote the API key for a source to the output in plain text which is a potential security issue. Update the generated output to "(Authenticated)" if the API key is not null or whitespace.
paulhunttech
pushed a commit
to paulhunttech/choco
that referenced
this issue
Jan 3, 2017
Previously the 'choco apikey' command wrote the API key for a source to the output in plain text which is a potential security issue. Update the generated output to "(Authenticated)" if the API key is not null or whitespace. Replaced credentials from apikey output and replaced with "(Authenticated)"
paulhunttech
pushed a commit
to paulhunttech/choco
that referenced
this issue
Jan 3, 2017
Some folks may find the message "You use Chocolatey? You are amazing!" to be unprofessional. While it was meant to be a compliment, it can be misconstrued as sarcastic. Use a more professional message instead. (chocolateyGH-1106) Remove plain text key value from apikey call output Previously the 'choco apikey' command wrote the API key for a source to the output in plain text which is a potential security issue. Update the generated output to "(Authenticated)" if the API key is not null or whitespace. Replaced credentials from apikey output and replaced with "(Authenticated)"
paulhunttech
pushed a commit
to paulhunttech/choco
that referenced
this issue
Jan 3, 2017
Previously the 'choco apikey' command wrote the API key for a source to the output in plain text which is a potential security issue. Update the generated output to "(Authenticated)" if the API key is not null or whitespace. Replaced credentials from apikey output and replaced with "(Authenticated)".
ferventcoder
pushed a commit
that referenced
this issue
Mar 22, 2017
Previously the 'choco apikey' command wrote the API key for a source to the output in plain text which is a potential security issue. Update the generated output to "(Authenticated)" if the API key is not null or whitespace. Replaced credentials from apikey output and replaced with "(Authenticated)".
ferventcoder
added a commit
that referenced
this issue
Mar 22, 2017
* pr1122: (GH-1106) Do not display ApiKey in output
ferventcoder
added a commit
that referenced
this issue
Mar 22, 2017
* stable: (GH-1106) Do not display ApiKey in output (GH-1018) Always refer to provided checksum type (GH-942) Override local version (GH-942) update NuGet.Core (GH-1205) List - Do not show pkg sync prog/features (GH-1181) Document self-service source requirement (maint) formatting (specs) set baselines
Completed for 0.10.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What You Are Seeing?
When I call
choco apikey
with a feed that has a username and password associated, I wouldn't expect the password to appear in plaintext.What is Expected?
I expect at least the hashed version or the password to be hidden/obfuscated similar to how
choco source
shows (Authenticated) when a feed has been provided credentials. I can always update a key with new credentials if I'm not sure what they were authenticated with, but I currently can't remove one that is leaking credentials without hacking thechocolatey.config
file.How Did You Get This To Happen? (Steps to Reproduce)
The text was updated successfully, but these errors were encountered: