Notation v2.0.0-alpha.1
Breaking Changes
In notation v1.x
, the notation sign
command defaults to storing signatures using the OCI referrers tag schema for maximum compatibility. As of this release, the default behavior has changed to use the OCI referrers API since most of the popular registries are compliant with OCI v1.1. However, users can still opt for the referrers tag schema using --force-referrers-tag true
if needed.
New features
- Added command
notation blob
with subcommandsnotation blob sign
,notation blob verify
,notation blob policy
, andnotation blob inspect
. It enables blob signing and verification with blob trust policy configuration. The blob trust policy configuration is stored in filetrustpolicy.blob.json
. For more details: https://github.com/notaryproject/notation/blob/v2.0.0-alpha.1/specs/cmd/blob.md - Compliant with OCI-1.1 specs, namely distribution-spec v1.1.1 and image-spec v1.1.1. With the new update,
notation sign
command now stores signatures in the registry as a referrer of the target artifact by default, no extra image index will be created in this case. Removed the previously deprecated flag--allow-referrers-api
. - Delta CRL support during CRL certificate revocation checks.
Other updates
- The
notation policy import
command now stores the OCI trust policy configuration in filetrustpolicy.oci.json
. On success, the command will delete the oldtrustpolicy.json
file.
What's Changed
- fix: github actions permissions by @JeyJeyGao in #1059
- fix: fix debug log by @Two-Hearts in #1061
- build(deps): Bump github.com/onsi/gomega from 1.34.1 to 1.34.2 in /test/e2e by @dependabot in #1049
- test: add unit tests by @Two-Hearts in #1075
- fix: discard crl cache error by @Two-Hearts in #1076
- build(deps): Bump codecov/codecov-action from 4.5.0 to 4.6.0 by @dependabot in #1054
- build(deps): Bump github.com/notaryproject/notation-go from 1.2.0-beta.1.0.20240926015724-84c2ec076201 to 1.3.0-rc.1 in /test/e2e/plugin by @dependabot in #1051
- build(deps): Bump github.com/spf13/cobra from 1.7.0 to 1.8.1 in /test/e2e/plugin by @dependabot in #1050
- build(deps): Bump golang.org/x/term from 0.24.0 to 0.25.0 by @dependabot in #1055
- build(deps): Bump actions/cache from 4.0.2 to 4.1.2 by @dependabot in #1073
- build(deps): Bump actions/upload-artifact from 4.4.0 to 4.4.3 by @dependabot in #1066
- build(deps): Bump actions/checkout from 4.1.7 to 4.2.2 by @dependabot in #1074
- build(deps): Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 in /test/e2e/plugin by @dependabot in #1077
- feat: crl cache with log by @Two-Hearts in #1078
- build(deps): Bump golang.org/x/term from 0.25.0 to 0.26.0 by @dependabot in #1081
- fix&test: discard error for NewFileCache & E2E test for CRL with cache by @JeyJeyGao in #1079
- build(deps): Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 by @dependabot in #1086
- build(deps): Bump github/codeql-action from 3.26.8 to 3.27.1 by @dependabot in #1085
- build(deps): Bump goreleaser/goreleaser-action from 6.0.0 to 6.1.0 by @dependabot in #1084
- build(deps): Bump golang.org/x/net from 0.29.0 to 0.31.0 by @dependabot in #1082
- build(deps): Bump github.com/onsi/gomega from 1.34.2 to 1.35.1 in /test/e2e by @dependabot in #1087
- build(deps): Bump actions/setup-go from 5.0.2 to 5.1.0 by @dependabot in #1090
- build(deps): Bump github/codeql-action from 3.27.1 to 3.27.5 by @dependabot in #1091
- build(deps): Bump codecov/codecov-action from 4.6.0 to 5.0.7 by @dependabot in #1092
- fix: add timestamping cert chain revocation check during signing by @Two-Hearts in #1094
- build(deps): Bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0 in /test/e2e by @dependabot in #1093
- build(deps): Bump golang.org/x/term from 0.26.0 to 0.27.0 by @dependabot in #1098
- build(deps): Bump actions/cache from 4.1.2 to 4.2.0 by @dependabot in #1101
- build(deps): Bump codecov/codecov-action from 5.0.7 to 5.1.1 by @dependabot in #1102
- build(deps): Bump github/codeql-action from 3.27.5 to 3.27.6 by @dependabot in #1103
- build(deps): Bump github.com/notaryproject/tspclient-go from 0.2.1-0.20241030015323-90a141e7525c to 1.0.0-rc.1 by @dependabot in #1100
- build(deps): Bump golang.org/x/net from 0.31.0 to 0.32.0 by @dependabot in #1099
- build(deps): Bump github.com/onsi/gomega from 1.35.1 to 1.36.1 in /test/e2e by @dependabot in #1106
- build(deps): Bump golang.org/x/crypto from 0.29.0 to 0.31.0 by @dependabot in #1105
- fix:
context
and bump up golang.org/x/net by @JeyJeyGao in #1119 - build(deps): Bump actions/upload-artifact from 4.4.3 to 4.5.0 by @dependabot in #1122
- docs: spec update regarding blob signature file extensions by @Two-Hearts in #1118
- build(deps): Bump codecov/codecov-action from 5.1.1 to 5.1.2 by @dependabot in #1123
- build(deps): Bump github.com/onsi/gomega from 1.36.1 to 1.36.2 in /test/e2e by @dependabot in #1131
- build(deps): Bump github/codeql-action from 3.27.6 to 3.28.0 by @dependabot in #1124
- feat:
blob sign
command by @Two-Hearts in #1128 - ci: update runner version to ubuntu-24.04 by @JeyJeyGao in #1140
- build(deps): Bump actions/setup-go from 5.1.0 to 5.2.0 by @dependabot in #1112
- build(deps): Bump github.com/notaryproject/tspclient-go from 1.0.0-rc.1 to 1.0.0 by @dependabot in #1143
- build(deps): Bump github/codeql-action from 3.28.0 to 3.28.1 by @dependabot in #1142
- fix: load config error by @JeyJeyGao in #1145
- build(deps): Bump github.com/onsi/ginkgo/v2 from 2.22.1 to 2.22.2 in /test/e2e by @dependabot in #1132
- build(deps): Bump golang.org/x/term from 0.27.0 to 0.28.0 by @dependabot in #1135
- build(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0 by @dependabot in #1141
- feat: add
blob policy import
andshow
commands by @JeyJeyGao in #1126 - bump: bump up dependencies by @Two-Hearts in #1146
- docs: fix inspect command spec by @JeyJeyGao in #1156
- build(deps): Bump github/codeql-action from 3.28.1 to 3.28.8 by @dependabot in #1166
- build(deps): Bump codecov/codecov-action from 5.1.2 to 5.3.1 by @dependabot in #1157
- build(deps): Bump actions/stale from 9.0.0 to 9.1.0 by @dependabot in #1159
- build(deps): Bump actions/setup-go from 5.2.0 to 5.3.0 by @dependabot in #1160
- build(deps): Bump github.com/spf13/pflag from 1.0.5 to 1.0.6 by @dependabot in #1162
- refactor: extract inspect rendering logic to be display handlers by @JeyJeyGao in #1150
- refactor: verify display handler by @JeyJeyGao in #1167
- build(deps): Bump golang.org/x/term from 0.28.0 to 0.29.0 by @dependabot in #1169
- build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9 by @dependabot in #1168
- feat:
blob verify
command by @Two-Hearts in #1137 - test: OCSP E2E by @JeyJeyGao in #1172
- feat:
blob inspect
command by @JeyJeyGao in #1133 - build(deps): Bump github.com/spf13/cobra from 1.8.1 to 1.9.1 by @dependabot in #1177
- build(deps): Bump github.com/spf13/cobra from 1.8.1 to 1.9.1 in /test/e2e/plugin by @dependabot in #1178
- build(deps): Bump goreleaser/goreleaser-action from 6.1.0 to 6.2.1 by @dependabot in #1179
- bump: update go v1.24 by @JeyJeyGao in #1181
- fix: update the output format
text
totree
by @JeyJeyGao in #1182 - fix: blob policy command messages with docs by @JeyJeyGao in #1175
- bump: bump up dependencies by @Two-Hearts in #1185
- feat: update policy command to support OCI trust policy by @JeyJeyGao in #1173
- build(deps): Bump ossf/scorecard-action from 2.4.0 to 2.4.1 by @dependabot in #1191
- build(deps): Bump github/codeql-action from 3.28.9 to 3.28.10 by @dependabot in #1189
- feat: OCI 1.1 support by @Two-Hearts in #1192
- refactor: list output handler by @JeyJeyGao in #1176
- fix: output in streaming fashion for
inspect
command intree
format by @JeyJeyGao in #1194 - doc: add blob policy init command by @yizha1 in #1197
- chore: move common flags to
cmd
package by @JeyJeyGao in #1195 - fix: notify context cancellation when SIGINT is received by @JeyJeyGao in #1198
- fix: goreleaser deprecated options by @JeyJeyGao in #1201
- docs: add the proposal for Notation blob signing and verification by @yizha1 in #1180
- refactor: refactor internal packages by @Two-Hearts in #1205
- docs: specs clean up by @Two-Hearts in #1206
- feat: blob policy init command by @JeyJeyGao in #1196
- feat: output signature manifest reference after sign by @JeyJeyGao in #1204
- build(deps): Bump actions/upload-artifact from 4.6.0 to 4.6.1 by @dependabot in #1190
- build(deps): Bump actions/cache from 4.2.0 to 4.2.2 by @dependabot in #1199
- build(deps): Bump codecov/codecov-action from 5.3.1 to 5.4.0 by @dependabot in #1200
- build(deps): Bump github/codeql-action from 3.28.10 to 3.28.11 by @dependabot in #1207
- build(deps): Bump golang.org/x/term from 0.29.0 to 0.30.0 by @dependabot in #1209
- build(deps): Bump github.com/onsi/ginkgo/v2 from 2.22.2 to 2.23.0 in /test/e2e by @dependabot in #1211
- build(deps): Bump github.com/opencontainers/image-spec from 1.1.0 to 1.1.1 by @dependabot in #1208
- build(deps): Bump github.com/opencontainers/image-spec from 1.1.0 to 1.1.1 in /test/e2e by @dependabot in #1210
- bump: bump up dependencies for v2.0 alpha release by @Two-Hearts in #1212
- bump: bump up go.mod module by @Two-Hearts in #1216
Full Changelog: v1.3.1...v2.0.0-alpha.1
Vote PASSED [+4 -0]: #1218