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