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