Imports github.com/docker/libtrust github.com/docker/distribution/registry/auth/token Standard library imports crypto/tls crypto/x509 encoding/base64 encoding/json fmt math/rand net/http strings time