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

Package Upload - Unable to push to a non https source #49

Closed
gep13 opened this issue Sep 24, 2018 · 2 comments
Closed

Package Upload - Unable to push to a non https source #49

gep13 opened this issue Sep 24, 2018 · 2 comments
Assignees
Labels
5 - Released The area addressed in the ticket has been released in the product and is generally available. Edition - Business Enhancement Enhancements are things that are improvements or features. LicensedExtension Issues affecting the Chocolatey Licensed Extension (chocolatey.extension)

Comments

@gep13
Copy link
Member

gep13 commented Sep 24, 2018

By default, when pushing to anything other than localhost Chocolatey requires that an https address is used.

When an attempt is made to push to say http://chocolatey/chocolatey, Chocolatey will return:

WARNING! The specified source 'http://chocolatey/chocolatey' is not secure.
 Sending apikey over insecure channels leaves your data susceptible to
 hackers. Please update your source to a more secure source and try again.

 Use --force if you understand the implications of this warning or are
 accessing an internal feed. If you are however doing this against an
 internet feed, then the choco gods think you are crazy. ;-)

NOTE: For chocolatey.org, you must update the source to be secure.

When using the Package Upload UI, there is no mechanism to get around this, and instead, the following is shown:

image

Package Upload UI should include a mechanism to force the push, which is the equivalent of doing --force at the command line.

References

@gep13 gep13 self-assigned this Sep 24, 2018
@gep13
Copy link
Member Author

gep13 commented Sep 24, 2018

This issue has been resolved, and will be included in the next release of the Chocolatey Licensed extension.

@gep13 gep13 closed this as completed Sep 24, 2018
@ferventcoder ferventcoder added Enhancement Enhancements are things that are improvements or features. 4 - Done Issues that have been completed and are ready to be released. Edition - Business labels Sep 24, 2018
@ferventcoder
Copy link
Member

That version is Chocolatey Licensed Extension v2.0.0 set to release soon.

@ferventcoder ferventcoder added 5 - Released The area addressed in the ticket has been released in the product and is generally available. and removed 4 - Done Issues that have been completed and are ready to be released. labels Mar 18, 2019
@ferventcoder ferventcoder added the LicensedExtension Issues affecting the Chocolatey Licensed Extension (chocolatey.extension) label Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Released The area addressed in the ticket has been released in the product and is generally available. Edition - Business Enhancement Enhancements are things that are improvements or features. LicensedExtension Issues affecting the Chocolatey Licensed Extension (chocolatey.extension)
Projects
None yet
Development

No branches or pull requests

2 participants