Skip to content

Commit

Permalink
Merge pull request #125 from kubewarden/fix-e2e-test
Browse files Browse the repository at this point in the history
test: fix broken e2e test
  • Loading branch information
flavio authored Sep 3, 2024
2 parents c6bece1 + 44f5357 commit cb67096
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 36 deletions.
10 changes: 5 additions & 5 deletions test_data/certificate-signing/cfssl.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"signing": {
"default": {
"expiry": "8760h"
"expiry": "87600h"
},
"profiles": {
"intermediate_ca": {
Expand All @@ -11,7 +11,7 @@
"crl sign",
"code signing"
],
"expiry": "8760h",
"expiry": "87600h",
"ca_constraint": {
"is_ca": true,
"max_path_len": 0,
Expand All @@ -26,7 +26,7 @@
"code signing",
"server auth"
],
"expiry": "24h",
"expiry": "87600h",
"copy_extensions": true
},
"sunlight": {
Expand All @@ -39,7 +39,7 @@
"server auth",
"signing"
],
"expiry": "8760h"
"expiry": "87600h"
},
"sigstore-with-sunlight": {
"usages": [
Expand All @@ -51,7 +51,7 @@
"ct_log_servers": [
"https://sunlight.127.0.0.1.sslip.io:8080/2024h1"
],
"expiry": "24h",
"expiry": "87600h",
"copy_extensions": true
}
}
Expand Down
59 changes: 28 additions & 31 deletions test_data/settings-pod_signed_with_cert_and_rekor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,59 +6,56 @@ signatures:
# user-1
- |
-----BEGIN CERTIFICATE-----
MIIDejCCAyGgAwIBAgIUJWCgoQWvi8y0FvbAkDDoXivaMhUwCgYIKoZIzj0EAwIw
MIIC4jCCAoigAwIBAgIUbs96IMjvyz4tRsMa0qg2/1OS7nkwCgYIKoZIzj0EAwIw
gZIxCzAJBgNVBAYTAkRFMRAwDgYDVQQIEwdCYXZhcmlhMRIwEAYDVQQHEwlOdXJl
bWJlcmcxEzARBgNVBAoTCkt1YmV3YXJkZW4xIzAhBgNVBAsTGkt1YmV3YXJkZW4g
SW50ZXJtZWRpYXRlIENBMSMwIQYDVQQDExpLdW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