Skip to content

Commit

Permalink
Remove jwk as a required manifest schema parameter
Browse files Browse the repository at this point in the history
fixes: #1874
(cherry picked from commit 2c8eb5f)
  • Loading branch information
git-hyagi authored and patchback[bot] committed Jan 7, 2025
1 parent 897c805 commit 97b1ed3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES/1874.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fixed an issue in `DOCKER_MANIFEST_V1_SCHEMA` definition where the optional `jwk` header parameter
was defined as required.
2 changes: 1 addition & 1 deletion pulp_container/app/json_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def get_descriptor_schema(
"header": {
"type": "object",
"properties": {"alg": {"type": "string"}, "jwk": {"type": "object"}},
"required": ["alg", "jwk"],
"required": ["alg"],
},
"signature": {"type": "string"},
},
Expand Down

0 comments on commit 97b1ed3

Please sign in to comment.