When connecting dctna-server to https://notary.docker.io a 401 response is returned.
In order for this to work we need to add a basic authentication handler so we can connect to the notary server.
An starting point can be found here.
https://github.com/docker/cli/blob/master/cli/trust/trust.go#L173
When connecting
dctna-serverto https://notary.docker.io a 401 response is returned.In order for this to work we need to add a basic authentication handler so we can connect to the notary server.
An starting point can be found here.
https://github.com/docker/cli/blob/master/cli/trust/trust.go#L173