-
Notifications
You must be signed in to change notification settings - Fork 146
Make insecure flag in discovery granular #545
Comments
I would like an So we'd need several flags:
|
The "insecure" was previously used to allow http. This is now split into two flags "insecureHttp" and "insecureTls". Related to appc#545
The "insecure" was previously used to allow http. This is now split into two flags "insecureHttp" and "insecureTls". Related to appc#545
The "insecure" bool was previously used to allow http. This is now changed to a bit field with "InsecureHttp" and "InsecureTls". Related to appc#545
The "insecure" bool was previously used to allow http. This is now changed to a bit field with "InsecureHttp" and "InsecureTls". Related to appc#545
The "insecure" bool was previously used to allow http. This is now changed to a bit field with "InsecureHttp" and "InsecureTls". Related to appc#545
What's the status of the |
Do we have a use case? Would someone want one but not the other? |
IMO, we should just go with insecureHTTP. I would assume that if one uses insecureHTTP then one knows secrets may be sent in the clear and is ok with that. |
Seems reasonable to me. Chris Kühl [email protected] schrieb am Fr., 8. Jan. 2016 10:40:
|
Is it fair to close this then? |
In the beginning
insecure
only meant "I want to perform discovery over HTTP if HTTPS didn't work". But right now it means "I want to perform discovery over HTTP if HTTPS didn't work and I even want to send my credentials over HTTP". These meaning should be split.The functions with
insecure
flag arediscovery.DiscoverPublicKeys
,discovery.DiscoverEndpoints
anddiscovery.DiscoverWalk
. I only checkeddiscovery/discovery.go
anddiscovery/http.go
.I didn't check if there are some other parts of this project that do similar things.
The text was updated successfully, but these errors were encountered: