Imports github.com/pkg/errors github.com/smallstep/cli/crypto/randutil github.com/smallstep/nosql github.com/smallstep/cli/jose github.com/smallstep/nosql/database github.com/smallstep/certificates/authority/provisioner Standard library imports context crypto/x509 encoding/base64 encoding/json encoding/pem fmt io/ioutil net net/http net/url reflect strings time crypto/sha256 crypto