File tree Expand file tree Collapse file tree 17 files changed +17
-35
lines changed Expand file tree Collapse file tree 17 files changed +17
-35
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,9 @@ package cli
20
20
import (
21
21
"encoding/json"
22
22
23
- "github.com/spf13/cobra"
24
-
25
23
"github.com/sigstore/cosign/v2/cmd/cosign/cli/options"
26
24
"github.com/sigstore/cosign/v2/cmd/cosign/cli/pivcli"
25
+ "github.com/spf13/cobra"
27
26
)
28
27
29
28
var pivToolForce bool
Original file line number Diff line number Diff line change 18
18
package cli
19
19
20
20
import (
21
- "github.com/spf13/cobra"
22
-
23
21
"github.com/sigstore/cosign/v2/cmd/cosign/cli/options"
24
22
"github.com/sigstore/cosign/v2/cmd/cosign/cli/pkcs11cli"
23
+ "github.com/spf13/cobra"
25
24
)
26
25
27
26
var pkcs11ToolForce bool
Original file line number Diff line number Diff line change @@ -18,11 +18,10 @@ package cli
18
18
import (
19
19
"os"
20
20
21
- "github.com/spf13/cobra"
22
-
23
21
"github.com/sigstore/cosign/v2/cmd/cosign/cli/generate"
24
22
"github.com/sigstore/cosign/v2/cmd/cosign/cli/options"
25
23
"github.com/sigstore/cosign/v2/cmd/cosign/cli/publickey"
24
+ "github.com/spf13/cobra"
26
25
)
27
26
28
27
func PublicKey () * cobra.Command {
Original file line number Diff line number Diff line change @@ -19,11 +19,10 @@ import (
19
19
"fmt"
20
20
"os"
21
21
22
- "github.com/spf13/cobra"
23
-
24
22
"github.com/sigstore/cosign/v2/cmd/cosign/cli/generate"
25
23
"github.com/sigstore/cosign/v2/cmd/cosign/cli/options"
26
24
"github.com/sigstore/cosign/v2/cmd/cosign/cli/sign"
25
+ "github.com/spf13/cobra"
27
26
)
28
27
29
28
func Sign () * cobra.Command {
Original file line number Diff line number Diff line change @@ -20,13 +20,11 @@ import (
20
20
"fmt"
21
21
"os"
22
22
23
- v1 "github.com/google/go-containerregistry/pkg/v1"
24
-
25
23
"github.com/google/go-containerregistry/pkg/name"
26
- "github.com/spf13/cobra"
27
-
24
+ v1 "github.com/google/go-containerregistry/pkg/v1"
28
25
"github.com/sigstore/cosign/v2/cmd/cosign/cli/options"
29
26
ociremote "github.com/sigstore/cosign/v2/pkg/oci/remote"
27
+ "github.com/spf13/cobra"
30
28
)
31
29
32
30
func Tree () * cobra.Command {
Original file line number Diff line number Diff line change @@ -18,10 +18,9 @@ package cli
18
18
import (
19
19
"flag"
20
20
21
- "github.com/spf13/cobra"
22
-
23
21
"github.com/sigstore/cosign/v2/cmd/cosign/cli/options"
24
22
"github.com/sigstore/cosign/v2/cmd/cosign/cli/triangulate"
23
+ "github.com/spf13/cobra"
25
24
)
26
25
27
26
func Triangulate () * cobra.Command {
Original file line number Diff line number Diff line change @@ -18,10 +18,9 @@ package cli
18
18
import (
19
19
"context"
20
20
21
- "github.com/spf13/cobra"
22
-
23
21
"github.com/sigstore/cosign/v2/cmd/cosign/cli/options"
24
22
"github.com/sigstore/cosign/v2/cmd/cosign/cli/trustedroot"
23
+ "github.com/spf13/cobra"
25
24
)
26
25
27
26
func TrustedRoot () * cobra.Command {
Original file line number Diff line number Diff line change @@ -18,10 +18,9 @@ package cli
18
18
import (
19
19
"flag"
20
20
21
- "github.com/spf13/cobra"
22
-
23
21
"github.com/sigstore/cosign/v2/cmd/cosign/cli/options"
24
22
"github.com/sigstore/cosign/v2/cmd/cosign/cli/upload"
23
+ "github.com/spf13/cobra"
25
24
)
26
25
27
26
func Upload () * cobra.Command {
Original file line number Diff line number Diff line change @@ -20,12 +20,10 @@ import (
20
20
"fmt"
21
21
22
22
"github.com/google/go-containerregistry/pkg/name"
23
-
24
- "github.com/spf13/cobra"
25
-
26
23
"github.com/sigstore/cosign/v2/cmd/cosign/cli/options"
27
24
"github.com/sigstore/cosign/v2/cmd/cosign/cli/verify"
28
25
"github.com/sigstore/cosign/v2/internal/ui"
26
+ "github.com/spf13/cobra"
29
27
)
30
28
31
29
const ignoreTLogMessage = "Skipping tlog verification is an insecure practice that lacks of transparency and auditability verification for the %s."
Original file line number Diff line number Diff line change @@ -23,10 +23,9 @@ import (
23
23
"strings"
24
24
"time"
25
25
26
+ "github.com/in-toto/in-toto-golang/in_toto"
26
27
slsa02 "github.com/in-toto/in-toto-golang/in_toto/slsa_provenance/v0.2"
27
28
slsa1 "github.com/in-toto/in-toto-golang/in_toto/slsa_provenance/v1"
28
-
29
- "github.com/in-toto/in-toto-golang/in_toto"
30
29
)
31
30
32
31
const (
You can’t perform that action at this time.
0 commit comments