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