You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,10 @@ All notable changes to `src-cli` are documented in this file.
11
11
12
12
## Unreleased
13
13
14
+
## 6.0.1
15
+
16
+
- Container signature verification support: Container signatures can now be verified for Sourcegraph releases after 5.11.4013 using `src signature verify -v <release>`[#1143](https://github.com/sourcegraph/src-cli/pull/1143)
returnerrors.New("SBOM verification requires 'cosign' to be installed and available in $PATH. See https://docs.sigstore.dev/cosign/system_config/installation/")
// TokenResponse represents the JSON response from dockerHub's token service
15
32
typedockerHubTokenResponsestruct {
16
33
Tokenstring`json:"token"`
@@ -200,3 +217,56 @@ func getOutputDir(parentDir, version string) string {
200
217
funcsanitizeVersion(versionstring) string {
201
218
returnstrings.TrimPrefix(version, "v")
202
219
}
220
+
221
+
funcverifyCosign() error {
222
+
_, err:=exec.LookPath("cosign")
223
+
iferr!=nil {
224
+
returnerrors.New("SBOM verification requires 'cosign' to be installed and available in $PATH. See https://docs.sigstore.dev/cosign/system_config/installation/")
0 commit comments