Skip to content

Commit

Permalink
Switch (temporarily) the fulcio endpoint to our new v1 service.
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Lorenc <lorenc.d@gmail.com>
  • Loading branch information
dlorenc committed Dec 2, 2021
1 parent 9076d71 commit 40c8d3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/cosign/cli/options/fulcio.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package options

import (
fulcioclient "github.com/sigstore/fulcio/pkg/client"
"github.com/spf13/cobra"
)

Expand All @@ -31,7 +30,8 @@ var _ Interface = (*FulcioOptions)(nil)

// AddFlags implements Interface
func (o *FulcioOptions) AddFlags(cmd *cobra.Command) {
cmd.Flags().StringVar(&o.URL, "fulcio-url", fulcioclient.SigstorePublicServerURL,
// TODO: change this back to https://fulcio.sigstore.dev after the v1 migration is complete.
cmd.Flags().StringVar(&o.URL, "fulcio-url", "https://v1.fulcio.sigstore.dev",
"[EXPERIMENTAL] address of sigstore PKI server")

cmd.Flags().StringVar(&o.IdentityToken, "identity-token", "",
Expand Down

0 comments on commit 40c8d3e

Please sign in to comment.