spec: update cli verify spec for UX improvement#440
spec: update cli verify spec for UX improvement#440priteshbandi merged 11 commits intonotaryproject:mainfrom
Conversation
Signed-off-by: Yi Zha <yizha1@microsoft.com>
Signed-off-by: Yi Zha <yizha1@microsoft.com>
|
I saw this PR has also improved the output of |
toddysm
left a comment
There was a problem hiding this comment.
I am not sure that the cat experience for the trust policy is the best user experience but it seems this is what we can do for now.
Signed-off-by: Yi Zha <yizha1@microsoft.com>
|
Remove the updates for |
Codecov Report
@@ Coverage Diff @@
## main #440 +/- ##
==========================================
- Coverage 32.82% 32.48% -0.35%
==========================================
Files 25 25
Lines 1237 1250 +13
==========================================
Hits 406 406
- Misses 819 832 +13
Partials 12 12
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Signed-off-by: Yi Zha <yizha1@microsoft.com>
|
@priteshbandi @toddysm New updates:
|
Signed-off-by: Yi Zha <yizha1@microsoft.com>
specs/commandline/verify.md
Outdated
| | registryScopes | "*" | The policy applies to all the artifacts stored in any repositories. | | ||
| | signatureVerification | "level": "strict" | Signature verification is performed at strict level, which enforces all validations: `integrity`, `authenticity`, `authentic timestamp`, `expiry` and `revocation`.| | ||
| | signatureVerification | "level": "permissive" | The permissive level enforces most validations, but will only logs failures for `revocation` and `expiry`. | | ||
| | signatureVerification | "level": "audit" | The audit level only enforces signature `integrity` if a signature is present. Failure of all other validations are only logged. | |
There was a problem hiding this comment.
We don't have log implemented.
Signed-off-by: Yi Zha <yizha1@microsoft.com>
Signed-off-by: Yi Zha <yizha1@microsoft.com>
Signed-off-by: Yi Zha <yizha1@microsoft.com>
|
Suggested two enhancements |
Signed-off-by: Yi Zha <yizha1@microsoft.com>
specs/commandline/verify.md
Outdated
| Resolved artifact tag '<tag>' to digest '<digest>' before verification. | ||
| Warning: The resolved digest may not point to the same signed artifact, since tags are mutable. |
There was a problem hiding this comment.
Note: These outputs will be in the form of logs.
Signed-off-by: Yi Zha <yizha1@microsoft.com>
Discussed with Toddy and looks good to him.
Update cli verify spec for UX improvement Signed-off-by: Yi Zha <yizha1@microsoft.com> Signed-off-by: Yi Zha <yizha1@microsoft.com>
Update cli verify spec for UX improvement Signed-off-by: Yi Zha <yizha1@microsoft.com> Signed-off-by: Yi Zha <yizha1@microsoft.com>
Update cli verify spec for UX improvement
Signed-off-by: Yi Zha yizha1@microsoft.com