Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

Make insecure flag in discovery granular #545

@krnowak

Description

@krnowak

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 are discovery.DiscoverPublicKeys, discovery.DiscoverEndpoints and discovery.DiscoverWalk. I only checked discovery/discovery.go and discovery/http.go.

I didn't check if there are some other parts of this project that do similar things.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions