-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
image-rs: update cosign signed image test materials
Now, the cases Case: Deny pulling an unencrypted unsigned image from a protected registry Image: ghcr.io/confidential-containers/test-container-image-rs:unsigned Case: Allow pulling an unencrypted signed image with cosign-signed signature Image: ghcr.io/confidential-containers/test-container-image-rs:cosign-signed Case: Deny pulling an unencrypted signed image by cosign using a wrong public key Image: ghcr.io/confidential-containers/test-container-image-rs:cosign-signed-key2 At the same time, the images on the ghcr.io side is updated. The original tag `cosign-signed-key2` is actually the `unsigned` one, and we updated a new real `unsigned` one. Related policy file updated. Signed-off-by: Xynnn007 <[email protected]>
- Loading branch information
Showing
6 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
2 changes: 1 addition & 1 deletion
2
image-rs/test_data/offline-fs-kbc/aa-offline_fs_kbc-resources.json
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-----BEGIN ENCRYPTED COSIGN PRIVATE KEY----- | ||
eyJrZGYiOnsibmFtZSI6InNjcnlwdCIsInBhcmFtcyI6eyJOIjozMjc2OCwiciI6 | ||
OCwicCI6MX0sInNhbHQiOiI2Mi9XV29sQVN5YkNBeHVuNFZhVkJFQW1kay8rUDRK | ||
OGJJUkJPOW02dE9vPSJ9LCJjaXBoZXIiOnsibmFtZSI6Im5hY2wvc2VjcmV0Ym94 | ||
Iiwibm9uY2UiOiJjZCtZYmhVc0FvZjM1VVhROWJtQUFqUGNDL0JrMVQvayJ9LCJj | ||
aXBoZXJ0ZXh0IjoiNktKTXhCb3R1YS9JekE1d0Z2WCtuWmp5WDFTVzJrSUpKR2Fv | ||
SkhESDNvNnFkMDgrenlRRnpqNDBCckd1T0s2UGlaT3Y4TGhWOXFYWVRQNDZadXhB | ||
YXNUVjZZMkR3MUUydUhQbkdUKzV5eElOTzJQY0ZRMExKMUorc0JKcDBxUXNNZXIx | ||
bndnVWg4alFZNlJpKy94eDZrVkFmTEFtVTJNVmtrVTFNVk9QUWlsTVA5c2FmRVdy | ||
eWFMRkpkVXYwNFRXMWV3cUpUZ0d1VEQveEE9PSJ9 | ||
-----END ENCRYPTED COSIGN PRIVATE KEY----- |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwJJ8FUosLoG904cjV5FHrBlcYmb1 | ||
bR2/Mjfs6S+IQnz9tYdEtERUPGFhkyfaUOQx4EJlAuxObaIFq3eN6nD39w== | ||
-----END PUBLIC KEY----- | ||
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEzzlnST0badefTkH8WSg/bGqgi74V | ||
N9GE6/PGcRYfqVvIc5GZy7PaZUY66WxSO+n3W1fDaiO+Eh9GBp+VMABEvA== | ||
-----END PUBLIC KEY----- |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwJJ8FUosLoG904cjV5FHrBlcYmb1 | ||
bR2/Mjfs6S+IQnz9tYdEtERUPGFhkyfaUOQx4EJlAuxObaIFq3eN6nD39w== | ||
-----END PUBLIC KEY----- | ||
|
This file contains 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