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