From 47fffab87a98b48b6992cb828958158613d9b3eb Mon Sep 17 00:00:00 2001 From: tommyd450 Date: Thu, 7 Nov 2024 10:40:20 +0000 Subject: [PATCH] Adding Testing Keys --- roles/tas_single_node/testdata/cert.pem | 14 ++++++++++++++ roles/tas_single_node/testdata/ctlog-config | 2 ++ roles/tas_single_node/testdata/private_key.key | 8 ++++++++ roles/tas_single_node/testdata/public_key.pub | 4 ++++ 4 files changed, 28 insertions(+) create mode 100644 roles/tas_single_node/testdata/cert.pem create mode 100644 roles/tas_single_node/testdata/ctlog-config create mode 100644 roles/tas_single_node/testdata/private_key.key create mode 100644 roles/tas_single_node/testdata/public_key.pub diff --git a/roles/tas_single_node/testdata/cert.pem b/roles/tas_single_node/testdata/cert.pem new file mode 100644 index 00000000..474518b7 --- /dev/null +++ b/roles/tas_single_node/testdata/cert.pem @@ -0,0 +1,14 @@ + +-----BEGIN CERTIFICATE----- +MIIB/jCCAaWgAwIBAgIUeDEE2C6xVXWNJswWKShVDCccfPQwCgYIKoZIzj0EAwIw +VTEgMB4GA1UEAwwXZnVsY2lvLnJodGFzLnJlZGhhdC5jb20xHzAdBgkqhkiG9w0B +CQEWEHJodGFzQHJlZGhhdC5jb20xEDAOBgNVBAoMB1JlZCBIYXQwHhcNMjQwMzE4 +MTUxMzI5WhcNMjUwMzE4MTUxMzI5WjBVMSAwHgYDVQQDDBdmdWxjaW8ucmh0YXMu +cmVkaGF0LmNvbTEfMB0GCSqGSIb3DQEJARYQcmh0YXNAcmVkaGF0LmNvbTEQMA4G +A1UECgwHUmVkIEhhdDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABIOoSE0o6P4W +z5pSbrrQiJGPdPlZjAqgXPdibWMluWG5hDSaAPhHovEpsJbu8Unxd6aFQhfQOJsf +8rSqMmwPSO2jUzBRMB0GA1UdDgQWBBSVC7getLczhLQwmCKw1oAAFAC2dDAfBgNV +HSMEGDAWgBSVC7getLczhLQwmCKw1oAAFAC2dDAPBgNVHRMBAf8EBTADAQH/MAoG +CCqGSM49BAMCA0cAMEQCIEqF8YPw3Pf+JarQe/Avy4HfFUWDkzUdqGqaI8EO51jw +AiAxVjWWzYYF2vspXpR7e30hd7bzR5FToxGwd354MuM2bA== +-----END CERTIFICATE----- \ No newline at end of file diff --git a/roles/tas_single_node/testdata/ctlog-config b/roles/tas_single_node/testdata/ctlog-config new file mode 100644 index 00000000..76e9dae4 --- /dev/null +++ b/roles/tas_single_node/testdata/ctlog-config @@ -0,0 +1,2 @@ + backends:{backend:{name:"trillian" backend_spec:"trillian-logserver-pod:8091"}} + log_configs:{config:{log_id:5399108819538606395 prefix:"rhtasansible" roots_pem_file:"/ctfe-keys/fulcio-0"private_key:{[type.googleapis.com/keyspb.PEMKeyFile]:{path:"/ctfe-keys/private" password:"rhtas"}} ext_key_usages:"CodeSigning" log_backend_name:"trillian"}} \ No newline at end of file diff --git a/roles/tas_single_node/testdata/private_key.key b/roles/tas_single_node/testdata/private_key.key new file mode 100644 index 00000000..9566c233 --- /dev/null +++ b/roles/tas_single_node/testdata/private_key.key @@ -0,0 +1,8 @@ +-----BEGIN EC PRIVATE KEY----- +Proc-Type: 4,ENCRYPTED +DEK-Info: DES-EDE3-CBC,88AC4C29A69188C9 + +vi9qVLa8vG7dv8N4o+dBUNg8IFZq1wuSOZkWP5Hn4HInrJSm4k+PLNqDL7kyEMAm +CoL/niZS+EgfsfYgUj+TEB9f5IrcCO2B5rvHOkR8PmD9Tc86+DfBHDn+GWndStfQ +o4JabdBmkeiVHF9G2Yh76WF2bpLdaizhCN9W7sAR1eQ= +-----END EC PRIVATE KEY----- diff --git a/roles/tas_single_node/testdata/public_key.pub b/roles/tas_single_node/testdata/public_key.pub new file mode 100644 index 00000000..99a8f12d --- /dev/null +++ b/roles/tas_single_node/testdata/public_key.pub @@ -0,0 +1,4 @@ +-----BEGIN PUBLIC KEY----- +MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE6eVbjvymisv1VZYe8bZ5hIsHfhTg +nrByohpB1XkB2qS0+DaEY9k3RyORK1NWjCrJ7901l777dBhVM9gYcqAVjw== +-----END PUBLIC KEY-----