Imports github.com/docker/libtrust github.com/docker/distribution/context github.com/Sirupsen/logrus github.com/docker/distribution/registry/auth Standard library imports crypto/x509 encoding/base64 encoding/json errors fmt io/ioutil net/http os strings time encoding/pem crypto