Git source: prevent usage of a secret with HTTP protocol #1131
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
Related to #1116
In https://github.com/shipwright-io/build/blob/main/cmd/git/main.go#L487-L502, we have handling for the credential that is passed to the Git step and check if it matches the protocol. There, we ignored HTTP. What we decided is that we want a check and bail out with a clear error if HTTP is used with any type of credentials.
The text was updated successfully, but these errors were encountered: