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