errors: add error for wild card scope validation#340
Merged
priteshbandi merged 2 commits intonotaryproject:mainfrom Jul 19, 2023
Merged
errors: add error for wild card scope validation#340priteshbandi merged 2 commits intonotaryproject:mainfrom
priteshbandi merged 2 commits intonotaryproject:mainfrom
Conversation
Signed-off-by: Sajay Antony <sajaya@microsoft.com>
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## main #340 +/- ##
==========================================
+ Coverage 74.80% 74.88% +0.07%
==========================================
Files 23 23
Lines 2203 2210 +7
==========================================
+ Hits 1648 1655 +7
Misses 437 437
Partials 118 118
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Contributor
Author
❯ cat trustpolicy.json --plain
{
"version": "1.0",
"trustPolicies": [
{
"name": "notation-demos-images",
"registryScopes": [ "localhost:5000/hello/*" ],
"signatureVerification": {
"level" : "strict"
},
"trustStores": [ "ca:notation-demos.io" ],
"trustedIdentities": [
"*"
]
}
]
}
❯ ./bin/notation policy import ./trustpolicy.json
Existing trust policy configuration found, do you want to overwrite it? [y/N] y
Error: failed to validate trust policy: registry scope "localhost:5000/hello/*" with wild card(s) is not valid, make sure it is a fully qualified repository without the scheme, protocol or tag. For example domain.com/my/repository or a local scope like local/myOCILayout |
This was referenced Jul 21, 2023
Closed
shizhMSFT
added a commit
to notaryproject/notation
that referenced
this pull request
Jul 28, 2023
- upgrade `notation-go` from `v1.0.0-rc.6` to `v1.0.0` - upgrade dependencies for E2E tests - update E2E test case to reflect notaryproject/notation-go#340 --------- Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
7h3-3mp7y-m4n
pushed a commit
to 7h3-3mp7y-m4n/notation
that referenced
this pull request
Mar 29, 2025
- upgrade `notation-go` from `v1.0.0-rc.6` to `v1.0.0` - upgrade dependencies for E2E tests - update E2E test case to reflect notaryproject/notation-go#340 --------- Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
FeynmanZhou
pushed a commit
to FeynmanZhou/notation
that referenced
this pull request
May 15, 2025
- upgrade `notation-go` from `v1.0.0-rc.6` to `v1.0.0` - upgrade dependencies for E2E tests - update E2E test case to reflect notaryproject/notation-go#340 --------- Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.