diff --git a/.ci/tcg-rim-tool/certs/COMP_OEM1_Cert_Chain.pem b/.ci/tcg-rim-tool/certs/COMP_OEM1_Cert_Chain.pem new file mode 100644 index 00000000..d09fafad --- /dev/null +++ b/.ci/tcg-rim-tool/certs/COMP_OEM1_Cert_Chain.pem @@ -0,0 +1,120 @@ +-----BEGIN CERTIFICATE----- +MIIFJzCCA4+gAwIBAgIBCTANBgkqhkiG9w0BAQwFADB5MQswCQYDVQQGEwJVUzEL +MAkGA1UECAwCT1IxEjAQBgNVBAcMCUJlYXZlcnRvbjESMBAGA1UECgwJQ09NUF9P +RU0xMTUwMwYDVQQDDCxDT01QX09FTTEgcnNhIDNrIHNoYTM4NCB0ZXN0IGludGVy +bWVkaWF0ZSBjYTAeFw0yMzExMTUxMzUwMzlaFw0zMzExMTIxMzUwMzlaMG0xCzAJ +BgNVBAYTAlVTMQswCQYDVQQIDAJPUjESMBAGA1UEBwwJQmVhdmVydG9uMRIwEAYD +VQQKDAlDT01QX09FTTExKTAnBgNVBAMMIENPTVBfT0VNMSByc2EgM2sgc2hhMzg0 +IHRlc3QgY2ExMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA1f2wxVUD +W0XFvPLikJJkghIa7Ds7PciVcvZvXRxF41vSsN54p75W3098BL6Sd09g+4laT6xn +n7c0jKIAHB4saUgG6nikwmUKX/4q6aryelgb/GVOCjeqcEovA2veeFRWbErmRLlN +kgo5T51rK4pr9rsIbkXEKqrtLxiz3ixIVI//hi0VDRcwq8txJr+Y3dfGsR0Vp9Da +WAA0Vhr3qdNjsVERSCR2jhkNyE848alkZ8ed0HkdJFvK0m6tOXY2SCzFt+a7Madr +0YxeuaZkk4PpstDTYKXPRLHt8SwTn98L2A7Rtl9dRP3awbak0HZDuBXqeyuF7EhX +B9LiSQlyich+oo3fa8aVRY4ovfeu9JasN40udKReQs5hLWpQ3Th9PBmUSRWw9VXf +BgiVOrPKaOe80653rKQk1f8z0CBCzd90ddmjwvZWthneFXOVz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- diff --git a/.ci/tcg-rim-tool/certs/COMP_OEM1_rim_signer_ecc_512_sha384.pem b/.ci/tcg-rim-tool/certs/COMP_OEM1_rim_signer_ecc_512_sha384.pem new file mode 100644 index 00000000..6d04cc0f --- /dev/null +++ b/.ci/tcg-rim-tool/certs/COMP_OEM1_rim_signer_ecc_512_sha384.pem @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDGzCCAn2gAwIBAgIBBTAKBggqhkjOPQQDAzBuMQswCQYDVQQGEwJVUzELMAkG +A1UECAwCT1IxEjAQBgNVBAcMCUJlYXZlcnRvbjESMBAGA1UECgwJQ09NUF9PRU0x +MSowKAYDVQQDDCFDT01QX09FTTEgZWNjIDUxMiBzaGEzODQgdGVzdCBjYTIwHhcN +MjMxMTE1MTM1MDE0WhcNMzMxMTEyMTM1MDE0WjBxMQswCQYDVQQGEwJVUzELMAkG +A1UECAwCT1IxEjAQBgNVBAcMCUJlYXZlcnRvbjESMBAGA1UECgwJQ09NUF9PRU0x +MS0wKwYDVQQDDCRDT01QX09FTTEgZWNjIDUxMiBzaGEzODQgdGVzdCBzaWduZXIw +gZswEAYHKoZIzj0CAQYFK4EEACMDgYYABAFifPNrrIEAGeQW8qsT5b83l5nQv9is +V0p8yFbI6t+QjOrNgEr84gLzHxxQ46V0xdbU4cDIdFThBBtS8POl2JFrmgEmtvla +Mbdz0lysCN2f1p25/gQvnfz6Osy0OVcG1EHNVb9cfvpF4ziv3LgWWBv5d8RccYET +ooHUIQ06Z1DTFslKYqOBxTCBwjAdBgNVHQ4EFgQUBY/cQD+V6CpSRunMvsITbFQl +J4owHwYDVR0jBBgwFoAU84u4W4tTUrALow01cbc6z8xup6QwDwYDVR0TAQH/BAUw +AwEB/zAOBgNVHQ8BAf8EBAMCAYYwNQYIKwYBBQUHAQEEKTAnMCUGCCsGAQUFBzAC +hhlodHRwczovL2V4YW1wbGUuY29tL2NlcnRzMCgGA1UdHwQhMB8wHaAboBmGF2h0 +dHBzOi8vZXhhbXBsZS5jb20vY3JsMAoGCCqGSM49BAMDA4GLADCBhwJCAMCwsiui +/dMNE+hGjiWaWAIfwq9pIg/WuSA21EUjEiAOZ7iE9YR8k1eD+UiIhmdDmLVqhmr9 +Y3UoskyExVvmlZaQAkFpkJzuzlqTov1eGxgjzTudyUEu8YT2Kv3t5ZjVIB1lL4VW +R1NjxDYO6Oa7zLdriCiEAb/lbTdjC697uUWub75syg== +-----END CERTIFICATE----- diff --git a/.ci/tcg-rim-tool/certs/COMP_OEM1_rim_signer_rsa_3k_sha384.pem b/.ci/tcg-rim-tool/certs/COMP_OEM1_rim_signer_rsa_3k_sha384.pem new file mode 100644 index 00000000..1f4d7246 --- /dev/null +++ b/.ci/tcg-rim-tool/certs/COMP_OEM1_rim_signer_rsa_3k_sha384.pem @@ -0,0 +1,30 @@ +-----BEGIN CERTIFICATE----- +MIIFHjCCA4agAwIBAgIBDDANBgkqhkiG9w0BAQwFADBtMQswCQYDVQQGEwJVUzEL +MAkGA1UECAwCT1IxEjAQBgNVBAcMCUJlYXZlcnRvbjESMBAGA1UECgwJQ09NUF9P +RU0xMSkwJwYDVQQDDCBDT01QX09FTTEgcnNhIDNrIHNoYTM4NCB0ZXN0IGNhMjAe +Fw0yMzExMTUxMzUwNDFaFw0zMzExMTIxMzUwNDFaMHAxCzAJBgNVBAYTAlVTMQsw +CQYDVQQIDAJPUjESMBAGA1UEBwwJQmVhdmVydG9uMRIwEAYDVQQKDAlDT01QX09F +TTExLDAqBgNVBAMMI0NPTVBfT0VNMSByc2EgM2sgc2hhMzg0IHRlc3Qgc2lnbmVy +MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAom3pyOYtDsaqpw8xfqqo +Fr7Oy7ABs0zrUMyzKKvfrY/JDEUFwy/q1f3ai5Y/4YdznqRlL2i8EH0DXPqDqWOD +QbYPA4fhB+QPZr6sqbI4HJB58lP4tZ2hbJvD41BIFwkdnW0IgtwEAvleL7cXTN0h +9317o+tJZxeuMnRlam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kqLpkMXG +aF6PCpKFbtcWiuVLpAbvCwSNVe+pH3wfNhcapGUJWcotmY2RUkItilQOHGFUZZ2q +V/wUfRtKSjBh2rOD8rmZAjEY +-----END CERTIFICATE----- diff --git a/.ci/tcg-rim-tool/certs/PC_OEM1_Cert_Chain.pem b/.ci/tcg-rim-tool/certs/PC_OEM1_Cert_Chain.pem new file mode 100644 index 00000000..8face145 --- /dev/null +++ b/.ci/tcg-rim-tool/certs/PC_OEM1_Cert_Chain.pem @@ -0,0 +1,120 @@ +-----BEGIN CERTIFICATE----- +MIIFHzCCA4egAwIBAgIBAjANBgkqhkiG9w0BAQwFADB1MQswCQYDVQQGEwJVUzEL +MAkGA1UECAwCT1IxEjAQBgNVBAcMCUJlYXZlcnRvbjEQMA4GA1UECgwHUENfT0VN +MTEzMDEGA1UEAwwqUENfT0VNMSByc2EgM2sgc2hhMzg0IHRlc3QgaW50ZXJtZWRp +YXRlIGNhMB4XDTIzMTExNTEzNDg1N1oXDTMzMTExMjEzNDg1N1owaTELMAkGA1UE +BhMCVVMxCzAJBgNVBAgMAk9SMRIwEAYDVQQHDAlCZWF2ZXJ0b24xEDAOBgNVBAoM +B1BDX09FTTExJzAlBgNVBAMMHlBDX09FTTEgcnNhIDNrIHNoYTM4NCB0ZXN0IGNh +MTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBAOA06twkJzLcX1e/37oJ +4wBJ8iMdbFMQU9mxdEB5v5P8cnxkord0zOguiXZSV0RkGQ1PMwSR8xoNrLAyDS+1 +z2wsjNoq7xIIfZJtq21gFWiQGsrD6RUmfl/Eqjn+nhv1QiSi8Qhq18PdRJT+yRgK +58v7XOORe86It1DI47IdcHIwafHkW1op81rR9PaBBOEnoZnNSI14gLTomWPu0HUg +Jo/lw7D2SNMOEtMLb/lEUtvs5PPh2mgbsu3HNxJDm+Wbcagy2UQ1idqMYdgGwFk0 +fQL6Lo6P+fZlN5nBRjpto6LTk7XVRnxVWtKhG5ricxKS4XodyHg/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prDYG3hqO/yZnok66ioeom0N/4SJrm5a4uq+0PhQDY1e5Qbz0PD6m +VjdZfnoMFh185vEZPby1VpF9u5VE3vKVq9rRb0epwjx7Jg== +-----END CERTIFICATE----- diff --git a/.ci/tcg-rim-tool/certs/PC_OEM1_RSA_Cert_Chain.pem b/.ci/tcg-rim-tool/certs/PC_OEM1_RSA_Cert_Chain.pem new file mode 100644 index 00000000..8face145 --- /dev/null +++ b/.ci/tcg-rim-tool/certs/PC_OEM1_RSA_Cert_Chain.pem @@ -0,0 +1,120 @@ +-----BEGIN CERTIFICATE----- +MIIFHzCCA4egAwIBAgIBAjANBgkqhkiG9w0BAQwFADB1MQswCQYDVQQGEwJVUzEL +MAkGA1UECAwCT1IxEjAQBgNVBAcMCUJlYXZlcnRvbjEQMA4GA1UECgwHUENfT0VN +MTEzMDEGA1UEAwwqUENfT0VNMSByc2EgM2sgc2hhMzg0IHRlc3QgaW50ZXJtZWRp +YXRlIGNhMB4XDTIzMTExNTEzNDg1N1oXDTMzMTExMjEzNDg1N1owaTELMAkGA1UE +BhMCVVMxCzAJBgNVBAgMAk9SMRIwEAYDVQQHDAlCZWF2ZXJ0b24xEDAOBgNVBAoM +B1BDX09FTTExJzAlBgNVBAMMHlBDX09FTTEgcnNhIDNrIHNoYTM4NCB0ZXN0IGNh +MTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBAOA06twkJzLcX1e/37oJ +4wBJ8iMdbFMQU9mxdEB5v5P8cnxkord0zOguiXZSV0RkGQ1PMwSR8xoNrLAyDS+1 +z2wsjNoq7xIIfZJtq21gFWiQGsrD6RUmfl/Eqjn+nhv1QiSi8Qhq18PdRJT+yRgK +58v7XOORe86It1DI47IdcHIwafHkW1op81rR9PaBBOEnoZnNSI14gLTomWPu0HUg +Jo/lw7D2SNMOEtMLb/lEUtvs5PPh2mgbsu3HNxJDm+Wbcagy2UQ1idqMYdgGwFk0 +fQL6Lo6P+fZlN5nBRjpto6LTk7XVRnxVWtKhG5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+UbeOiSJxY9uprDYG3hqO/yZnok66ioeom0N/4SJrm5a4uq+0PhQDY1e5Qbz0PD6m +VjdZfnoMFh185vEZPby1VpF9u5VE3vKVq9rRb0epwjx7Jg== +-----END CERTIFICATE----- diff --git a/.ci/tcg-rim-tool/certs/PC_OEM1_ecc_Cert_Chain.pem b/.ci/tcg-rim-tool/certs/PC_OEM1_ecc_Cert_Chain.pem new file mode 100644 index 00000000..e5a94fce --- /dev/null +++ b/.ci/tcg-rim-tool/certs/PC_OEM1_ecc_Cert_Chain.pem @@ -0,0 +1,76 @@ +-----BEGIN CERTIFICATE----- +MIIDHTCCAn6gAwIBAgIBCTAKBggqhkjOPQQDAzB2MQswCQYDVQQGEwJVUzELMAkG +A1UECAwCT1IxEjAQBgNVBAcMCUJlYXZlcnRvbjEQMA4GA1UECgwHUENfT0VNMTE0 +MDIGA1UEAwwrUENfT0VNMSBlY2MgNTEyIHNoYTM4NCB0ZXN0IGludGVybWVkaWF0 +ZSBjYTAeFw0yMzExMTUxMzQ5NThaFw0zMzExMTIxMzQ5NThaMGoxCzAJBgNVBAYT +AlVTMQswCQYDVQQIDAJPUjESMBAGA1UEBwwJQmVhdmVydG9uMRAwDgYDVQQKDAdQ +Q19PRU0xMSgwJgYDVQQDDB9QQ19PRU0xIGVjYyA1MTIgc2hhMzg0IHRlc3QgY2Ex +MIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBpqyjdoDTWEdMOa+9tkBrSGcByL8t +OsBPMOiMqt+tCfTwhaLJkZ1zD8n6A6pnrq2my69E2xkivGFeqQhrgWN21eEAxcO0 +8sk/FaB08uUsasQb7H+B1fJwXMvfLt6K2d8Hdu7cJpOQ9AGdRTD1Oua3pW143rYD +R8sspDx1xUlKaz9+UJCjgcUwgcIwHQYDVR0OBBYEFF3FyHPSOyjceEcLrgEDwKKR +fjoqMB8GA1UdIwQYMBaAFNgwn5C7ovR70h33S/6xOT6NH51jMA8GA1UdEwEB/wQF +MAMBAf8wDgYDVR0PA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trN5unn68eIWzRvV1DBEAF5 +yrORkpa42UKHt464SlHKUQOp5knawMMlduiVjCijgcUwgcIwHQYDVR0OBBYEFCg2 +oQaabl4sy63y4XcTeH46skkhMB8GA1UdIwQYMBaAFCg2oQaabl4sy63y4XcTeH46 +skkhMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMDUGCCsGAQUFBwEB +BCkwJzAlBggrBgEFBQcwAoYZaHR0cHM6Ly9leGFtcGxlLmNvbS9jZXJ0czAoBgNV +HR8EITAfMB2gG6AZhhdodHRwczovL2V4YW1wbGUuY29tL2NybDAKBggqhkjOPQQD +AgOBiwAwgYcCQgF5vqNlCWbx+D3yX1+VMFwPf2FkzcyHZUR+Y2fIqGdur9jgxJqL +iaEEeWRP2H/QrbchCW76mXhbs9N4wjjv5IqKZAJBB9C6jwvVRiksawRQYakN/6wc +TlYuTvgJ417NpLrbbG2/0IFiDRcavADAUGR3LNwORLjPK5NnuketDu4m2Msnovk= +-----END CERTIFICATE----- diff --git a/.ci/tcg-rim-tool/certs/PC_OEM1_rim_signer_ecc_512_sha384.pem b/.ci/tcg-rim-tool/certs/PC_OEM1_rim_signer_ecc_512_sha384.pem new file mode 100644 index 00000000..cec8bcf8 --- /dev/null +++ b/.ci/tcg-rim-tool/certs/PC_OEM1_rim_signer_ecc_512_sha384.pem @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDEzCCAnWgAwIBAgIBDDAKBggqhkjOPQQDAzBqMQswCQYDVQQGEwJVUzELMAkG +A1UECAwCT1IxEjAQBgNVBAcMCUJlYXZlcnRvbjEQMA4GA1UECgwHUENfT0VNMTEo +MCYGA1UEAwwfUENfT0VNMSBlY2MgNTEyIHNoYTM4NCB0ZXN0IGNhMjAeFw0yMzEx +MTUxMzQ5NThaFw0zMzExMTIxMzQ5NThaMG0xCzAJBgNVBAYTAlVTMQswCQYDVQQI +DAJPUjESMBAGA1UEBwwJQmVhdmVydG9uMRAwDgYDVQQKDAdQQ19PRU0xMSswKQYD +VQQDDCJQQ19PRU0xIGVjYyA1MTIgc2hhMzg0IHRlc3Qgc2lnbmVyMIGbMBAGByqG +SM49AgEGBSuBBAAjA4GGAAQAbs4DBnZ/myUu98Mx+RF7AYaeaexZV8QyHgeelA36 +gBvVbqMfnYdk1dsFTd+UHQFTiZ72kX8XBfFWfgeNbauzZgwA2chCojFQQEseW1be +MID6dJE3StZdm0gOnaY30BnM8MwJL8rLuNRAL+eKflPbVB2kltMrjcNBDw8ba/Lk +f++z9UqjgcUwgcIwHQYDVR0OBBYEFETnwNO85oN2AwJytUyrgl0SFW9rMB8GA1Ud +IwQYMBaAFLy1H64thl5FMvR1HPolC3k13dCnMA8GA1UdEwEB/wQFMAMBAf8wDgYD +VR0PAQH/BAQDAgGGMDUGCCsGAQUFBwEBBCkwJzAlBggrBgEFBQcwAoYZaHR0cHM6 +Ly9leGFtcGxlLmNvbS9jZXJ0czAoBgNVHR8EITAfMB2gG6AZhhdodHRwczovL2V4 +YW1wbGUuY29tL2NybDAKBggqhkjOPQQDAwOBiwAwgYcCQgGLZqNkri027hPvjBby +2tM2HA3dTIhGdrcGsGJZxP8CpH47mpAV/j8vpL1zpz0TQALUlScJisVXuR6JX9Ko +cNBYDAJBZRibf1dxXhnw9bO23wH0OBjI3R2lnMqR9ac4qUNdfmnwI82MdLVTfjqt +/qHjtDigBe7s8B41Kd47GpN0TX3iLNk= +-----END CERTIFICATE----- diff --git a/.ci/tcg-rim-tool/certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem b/.ci/tcg-rim-tool/certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem new file mode 100644 index 00000000..cab34267 --- /dev/null +++ b/.ci/tcg-rim-tool/certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem @@ -0,0 +1,30 @@ +-----BEGIN CERTIFICATE----- +MIIFFjCCA36gAwIBAgIBBTANBgkqhkiG9w0BAQwFADBpMQswCQYDVQQGEwJVUzEL +MAkGA1UECAwCT1Ix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XBsZS5jb20vY2VydHMwKAYD +VR0fBCEwHzAdoBugGYYXaHR0cHM6Ly9leGFtcGxlLmNvbS9jcmwwDQYJKoZIhvcN +AQEMBQADggGBACE1o5atqoWP8h8ZAQTuMHAZreo4q9jpN9UNZ3ofHj6ouHDwhdcU +avz8inB+wbTDctCrZrhATq3qYBX89+AxZ7kK5lAcxeG8QYDToBTGfsaO9K7Uy94D +zAmUc6pVCc4TOU9+KZWNtP2W8jTySJPN6AWEEFMMyo5liZlswGFhLcxSu43B4SJZ +HuDOXP62OARaXrcdvgMdAuqRZURUS2kQb5Gh7LECnsAwpmfIqzLuXB2VQZFvDFna +JN7EjUjp+japCo4jaXAwns1S3qx1jZZmqzW7d0ZS8tu7/hcR8ZGNhGZ1DC0iNkHy ++/uKzcLK3dcU+dm8fHl84QBrU+5zuQvRU33tUX792HW/EVgl4Zm4R3zyiQw8zay6 +TEDdWE9/uWoZxcYTugQ3nBikEMqxldTWdpL5aSyn9Dv8btotgiekllw4knucS2sI +kgOeczYCLfYn9yaykCy4so2Zwb8/YSEvnpcbV99RbT/B0YyBR04I3FWlXzVd9wEO ++O8u6rNxap99cA== +-----END CERTIFICATE----- diff --git a/.ci/tcg-rim-tool/certs/PC_OEM2_Cert_Chain.pem b/.ci/tcg-rim-tool/certs/PC_OEM2_Cert_Chain.pem new file mode 100644 index 00000000..68379c2b --- /dev/null +++ b/.ci/tcg-rim-tool/certs/PC_OEM2_Cert_Chain.pem @@ -0,0 +1,120 @@ +-----BEGIN CERTIFICATE----- +MIIFHzCCA4egAwIBAgIBAjANBgkqhkiG9w0BAQwFADB1MQswCQYDVQQGEwJVUzEL +MAkGA1UECAwCT1IxEjAQBgNVBAcMCUJlYXZlcnRvbjEQMA4GA1UECgwHUENfT0VN +MjEzMDEGA1UEAwwqUENfT0VNMiByc2EgM2sgc2hhMzg0IHRlc3QgaW50ZXJtZWRp +YXRlIGNhMB4XDTIzMTExNTEzNDkxMloXDTMzMTExMjEzNDkxMlowaTELMAkG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BsZS5jb20vY2VydHMwKAYDVR0fBCEwHzAdoBugGYYXaHR0cHM6Ly9l +eGFtcGxlLmNvbS9jcmwwDQYJKoZIhvcNAQELBQADggGBAC4/SZu50SVNEhqKqSkM +Cr+Idpsd9yON5rYwR5nKf4XqroeXRq9BRtlVgYjDU6r5dla+orVABOtyD9MtcEi5 +V1++LbnOgLeCuQ/F0Gof8t+WJqI1syf8cfOsZPlTlc6DhZ0be7McdQwWenOel5HC +oYE8pk5j0Vq/UdZqlzuIUdcpnOiN3ZwA91nR78Q2cHzJePixWh7+aJ/4KPpvejiU +vnELIzYpZygEwVvDkqHunTB7YjWdACY5GCJN9qQMOntYWosFXLGlkFUJ5KW8BpIY +e36ygPe9ujXaY++DtC7auPEUiSaW/Wy1XsEkGF6TF3hEKj7Am74KcaWqeco4pH7y +/nKnY8XIjuLK31i7WR9EX2fAtz2mxOExANZcXyn/LtLD0VhWWMMvuzzudmv27yMQ +1ZF7opqFdCnN8/5X7V6i8gC9g2Us0+R3SQ9HhXRMo3yhM0xw0Q1Yk2Xp+v4pGptJ +3LULIOyo+T7OztjebzQQrlxGNIjUni4m6/CD39pNp+CX4Q== +-----END CERTIFICATE----- diff --git a/.ci/tcg-rim-tool/certs/PC_OEM2_rim_signer_rsa_3k_sha384.pem b/.ci/tcg-rim-tool/certs/PC_OEM2_rim_signer_rsa_3k_sha384.pem new file mode 100644 index 00000000..6f785759 --- /dev/null +++ b/.ci/tcg-rim-tool/certs/PC_OEM2_rim_signer_rsa_3k_sha384.pem @@ -0,0 +1,30 @@ +-----BEGIN CERTIFICATE----- +MIIFFjCCA36gAwIBAgIBBTANBgkqhkiG9w0BAQwFADBpMQswCQYDVQQGEwJVUzEL +MAkGA1UECAwCT1IxEjAQBgNVBAcMCUJlYXZlcnRvbjEQMA4GA1UECgwHUENfT0VN +MjEnMCUGA1UEAwweUENfT0VNMiByc2EgM2sgc2hhMzg0IHRlc3QgY2EyMB4XDTIz +MTExNTEzNDkxNFoXDTMzMTExMj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JxNgyIE +u6LNV28RDrd6AH7MSH8aPWVHBqJtnWdNhs4B4snrnINPrYHk4L5H9rWqLc7ON6AU +5VQ+Y/evHs/wCP2v87wIyeLC6cInSXxnSna++D8FOcL1UEXoRyjhaM37NJDRlJ0d +RpRyVRzE/atqe6kdrzCfWC4MUKsdMR0zEOmQKzIvQpUnXwITYp3ZvgM0I/PaxG09 +Kokn5iVlEFUIUcmUsnvjCnRQYj8U/m1mNSZYXzpGwxjSH/EYqAQTWFB9tP0S05WA +kwho8BkF3QEe0Vm/Bx8/XCyx5/Rlymyf/ob6Cxk8yOOSG7hDvpOwCDCXg+egLuFM +uZPfzHrMCP7TOStnONsgRmkglQblCQkLT2Q8yQmG3FYZDMUIFKzYR7vhJ4qydSNJ +bYWYI7cgXZOTeurxDcCb5C5fF5QGF0grnjFEJt4WScAKO7JSkZXLGdlDtqDxyiWf +EOcwMEB04igXOA== +-----END CERTIFICATE----- diff --git a/.ci/tcg-rim-tool/configs/Base_Rim_Config.json b/.ci/tcg-rim-tool/configs/Base_Rim_Config.json new file mode 100644 index 00000000..3e45fdcd --- /dev/null +++ b/.ci/tcg-rim-tool/configs/Base_Rim_Config.json @@ -0,0 +1,53 @@ +{ + "SoftwareIdentity": { + "name": "Example.com BIOS", + "version": "01", + "tagId": "94f6b457-9ac9-4d35-9b3f-78804173b65as", + "tagVersion": "0", + "patch": false, + "supplemental": false + }, + "Entity": { + "name": "Example Inc", + "regid": "http://Example.com", + "role": "softwareCreator,tagCreator" + }, + "Link": { + "href": "https://Example.com/support/ProductA/firmware/installfiles", + "rel": "installationmedia" + }, + "Meta": { + "colloquialVersion": "Firmware_2019", + "edition": "12", + "product": "ProductA", + "revision": "r2", + "payloadType": "direct", + "platformManufacturerStr": "Example.com", + "platformManufacturerId": "00201234", + "platformModel": "ProductA", + "platformVersion": "01", + "firmwareManufacturerStr": "BIOSVendorA", + "firmwareManufacturerId": "00213022", + "firmwareModel": "A0", + "firmwareVersion": "12", + "bindingSpec": "PC Client RIM", + "bindingSpecVersion": "1.2", + "pcURIlocal": "/boot/tcg/manifest/switag/", + "pcURIGlobal": "https://Example.com/support/ProductA/" + }, + "Payload": { + "supportRIMURIGlobal": "https://Example.com/support/ProductA/firmware/rims/", + "supportRIMFormat":"TCG_EventLog_Assertion", + "Directory": { + "name": "rim", + "root": "/boot/tcg/manifest/rim/", + "File": { + "version":"01", + "name": "Example.com.BIOS.01.rimel", + "size": "7549", + "hash": "4479ca722623f8c47b703996ced3cbd981b06b1ae8a897db70137e0b7c546848" + } + } + } +} + diff --git a/.ci/tcg-rim-tool/configs/Component1_Rim_Config.json b/.ci/tcg-rim-tool/configs/Component1_Rim_Config.json new file mode 100644 index 00000000..085f2b6f --- /dev/null +++ b/.ci/tcg-rim-tool/configs/Component1_Rim_Config.json @@ -0,0 +1,54 @@ +{ + "SoftwareIdentity": { + "name": "Example.com BIOS", + "version": "01", + "tagId": "94f6b457-9ac9-4d35-9b3f-78804173b65as", + "tagVersion": "0", + "patch": false, + "supplemental": false + }, + "Entity": { + "name": "Example Inc", + "regid": "http://Example.com", + "role": "softwareCreator,tagCreator" + }, + "Link": { + "href": "https://Example.com/support/ProductA/firmware/installfiles", + "rel": "installationmedia" + }, + "Meta": { + "colloquialVersion": "Firmware_2019", + "edition": "12", + "product": "ProductA", + "revision": "r2", + "PayloadType": "direct", + "platformManufacturerStr": "Example.com", + "platformManufacturerId": "00201234", + "platformModel": "ProductA", + "platformVersion": "01", + "firmwareManufacturerStr": "BIOSVendorA", + "firmwareManufacturerId": "00213022", + "firmwareModel": "A0", + "firmwareVersion": "12", + "bindingSpec": "PC Client RIM", + "bindingSpecVersion": "1.2", + "pcURIlocal": "/boot/tcg/manifest/switag/", + "pcURIGlobal": "https://Example.com/support/ProductA/" + }, + "Payload": { + "supportRIMURIGlobal": "https://Example.com/support/ProductA/firmware/rims/", + "supportRIMFormat":"TCG_EventLog_Assertion", + "supportRimType": "BaseRim", + "Directory": { + "name": "rim", + "root": "/boot/tcg/manifest/rim/", + "File": { + "version":"01", + "name": "Example.com.BIOS.01.rimel", + "size": "7549", + "hash": "4479ca722623f8c47b703996ced3cbd981b06b1ae8a897db70137e0b7c546848" + } + } + } +} + diff --git a/.ci/tcg-rim-tool/configs/Patch_RIM_Config.json b/.ci/tcg-rim-tool/configs/Patch_RIM_Config.json new file mode 100644 index 00000000..d5916dae --- /dev/null +++ b/.ci/tcg-rim-tool/configs/Patch_RIM_Config.json @@ -0,0 +1,53 @@ +{ + "SoftwareIdentity": { + "name": "Example.com BIOS", + "version": "01", + "tagId": "94f6b457-9ac9-4d35-9b3f-78804173b65as", + "tagVersion": "0", + "patch": true, + "supplemental": false + }, + "Entity": { + "name": "Example Inc", + "regid": "http://Example.com", + "role": "softwareCreator,tagCreator" + }, + "Link": { + "href": "c30e60f5261620320a176a5f265e231409447cf25c685111cb39648d027420c5", + "rel": "requires" + }, + "Meta": { + "colloquialVersion": "Firmware_2019", + "edition": "12", + "product": "ProductA", + "revision": "r2", + "PayloadType": "direct", + "platformManufacturerStr": "Example.com", + "platformManufacturerId": "00201234", + "platformModel": "ProductA", + "platformVersion": "01", + "firmwareManufacturerStr": "BIOSVendorA", + "firmwareManufacturerId": "00213022", + "firmwareModel": "A0", + "firmwareVersion": "12", + "bindingSpec": "PC Client RIM", + "bindingSpecVersion": "1.2", + "pcURIlocal": "/boot/tcg/manifest/switag/", + "pcURIGlobal": "https://Example.com/support/ProductA/" + }, + "Payload": { + "supportRIMURIGlobal": "https://Example.com/support/ProductA/firmware/rims/", + "supportRIMFormat":"TCG_EventLog_Assertion", + "Directory": { + "name": "rim", + "root": "/boot/tcg/manifest/rim/", + "File": { + "version":"01", + "name": "Example.com.BIOS.01.rimel", + "size": "7549", + "hash": "4479ca722623f8c47b703996ced3cbd981b06b1ae8a897db70137e0b7c546848" + } + } + } +} + diff --git a/.ci/tcg-rim-tool/configs/Primary_Rim_Config.json b/.ci/tcg-rim-tool/configs/Primary_Rim_Config.json new file mode 100644 index 00000000..085f2b6f --- /dev/null +++ b/.ci/tcg-rim-tool/configs/Primary_Rim_Config.json @@ -0,0 +1,54 @@ +{ + "SoftwareIdentity": { + "name": "Example.com BIOS", + "version": "01", + "tagId": "94f6b457-9ac9-4d35-9b3f-78804173b65as", + "tagVersion": "0", + "patch": false, + "supplemental": false + }, + "Entity": { + "name": "Example Inc", + "regid": "http://Example.com", + "role": "softwareCreator,tagCreator" + }, + "Link": { + "href": "https://Example.com/support/ProductA/firmware/installfiles", + "rel": "installationmedia" + }, + "Meta": { + "colloquialVersion": "Firmware_2019", + "edition": "12", + "product": "ProductA", + "revision": "r2", + "PayloadType": "direct", + "platformManufacturerStr": "Example.com", + "platformManufacturerId": "00201234", + "platformModel": "ProductA", + "platformVersion": "01", + "firmwareManufacturerStr": "BIOSVendorA", + "firmwareManufacturerId": "00213022", + "firmwareModel": "A0", + "firmwareVersion": "12", + "bindingSpec": "PC Client RIM", + "bindingSpecVersion": "1.2", + "pcURIlocal": "/boot/tcg/manifest/switag/", + "pcURIGlobal": "https://Example.com/support/ProductA/" + }, + "Payload": { + "supportRIMURIGlobal": "https://Example.com/support/ProductA/firmware/rims/", + "supportRIMFormat":"TCG_EventLog_Assertion", + "supportRimType": "BaseRim", + "Directory": { + "name": "rim", + "root": "/boot/tcg/manifest/rim/", + "File": { + "version":"01", + "name": "Example.com.BIOS.01.rimel", + "size": "7549", + "hash": "4479ca722623f8c47b703996ced3cbd981b06b1ae8a897db70137e0b7c546848" + } + } + } +} + diff --git a/.ci/tcg-rim-tool/configs/Supplemental_Rim_Config.json b/.ci/tcg-rim-tool/configs/Supplemental_Rim_Config.json new file mode 100644 index 00000000..1762b829 --- /dev/null +++ b/.ci/tcg-rim-tool/configs/Supplemental_Rim_Config.json @@ -0,0 +1,53 @@ +{ + "SoftwareIdentity": { + "name": "Example.com BIOS", + "version": "01", + "tagId": "94f6b457-9ac9-4d35-9b3f-78804173b65as", + "tagVersion": "0", + "patch": false, + "supplemental": true + }, + "Entity": { + "name": "Example Inc", + "regid": "http://Example.com", + "role": "softwareCreator,tagCreator" + }, + "Link": { + "href": "c30e60f5261620320a176a5f265e231409447cf25c685111cb39648d027420c5", + "rel": "requires" + }, + "Meta": { + "colloquialVersion": "Firmware_2019", + "edition": "12", + "product": "ProductA", + "revision": "r2", + "PayloadType": "direct", + "platformManufacturerStr": "Example.com", + "platformManufacturerId": "00201234", + "platformModel": "ProductA", + "platformVersion": "01", + "firmwareManufacturerStr": "BIOSVendorA", + "firmwareManufacturerId": "00213022", + "firmwareModel": "A0", + "firmwareVersion": "12", + "bindingSpec": "PC Client RIM", + "bindingSpecVersion": "1.2", + "pcURIlocal": "/boot/tcg/manifest/switag/", + "pcURIGlobal": "https://Example.com/support/ProductA/" + }, + "Payload": { + "supportRIMURIGlobal": "https://Example.com/support/ProductA/firmware/rims/", + "supportRIMFormat":"TCG_EventLog_Assertion", + "Directory": { + "name": "rim", + "root": "/boot/tcg/manifest/rim/", + "File": { + "version":"01", + "name": "Example.com.BIOS.01.rimel", + "size": "7549", + "hash": "4479ca722623f8c47b703996ced3cbd981b06b1ae8a897db70137e0b7c546848" + } + } + } +} + diff --git a/.ci/tcg-rim-tool/eventlogs/TpmLog.bin b/.ci/tcg-rim-tool/eventlogs/TpmLog.bin new file mode 100644 index 00000000..0b8f1f39 Binary files /dev/null and b/.ci/tcg-rim-tool/eventlogs/TpmLog.bin differ diff --git a/.ci/tcg-rim-tool/eventlogs/TpmLog2.bin b/.ci/tcg-rim-tool/eventlogs/TpmLog2.bin new file mode 100644 index 00000000..0b8f1f39 Binary files /dev/null and b/.ci/tcg-rim-tool/eventlogs/TpmLog2.bin differ diff --git a/.ci/tcg-rim-tool/keys/COMP_OEM1_rim_signer_rsa_3k_sha384.key b/.ci/tcg-rim-tool/keys/COMP_OEM1_rim_signer_rsa_3k_sha384.key new file mode 100644 index 00000000..48440102 --- /dev/null +++ b/.ci/tcg-rim-tool/keys/COMP_OEM1_rim_signer_rsa_3k_sha384.key @@ -0,0 +1,40 @@ +-----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aJ0aT/dBHW52SELr+FV8DCc +OUXgksuIbqQp3mU3k5kHAoHBAMvA1CElnOdaqgq6Dxc/PefozEEKOf4sYDhrZqXv +dGltLgyPV4YENN/gCAQdlBY9L8V+nqKc0rDKVeliRokitsFX9iwWBpkmvpt1Z/mS +ruSgKOWr9z59vstVMItMTl5DuPWIB9imk0CQWD/VxhLCQeKD6rPLoUog2pkO6QXd +7ZHZ+QxYvglQeCr7LinUGVkvPyP1sgoNis0Hbg6l+AgJwdJCux/5T+0pbEIQGxY1 +V7U7rEXRyAfoCmL9gk1pFR3h5Q== +-----END PRIVATE KEY----- diff --git a/.ci/tcg-rim-tool/keys/PC_OEM1_rim_signer_ecc_512_sha384.key b/.ci/tcg-rim-tool/keys/PC_OEM1_rim_signer_ecc_512_sha384.key new file mode 100644 index 00000000..74ce3187 --- /dev/null +++ b/.ci/tcg-rim-tool/keys/PC_OEM1_rim_signer_ecc_512_sha384.key @@ -0,0 +1,10 @@ +-----BEGIN EC PARAMETERS----- +BgUrgQQAIw== +-----END EC PARAMETERS----- +-----BEGIN EC PRIVATE KEY----- +MIHcAgEBBEIBOkOcBW+GNzVEMqFg7slOZZAAf9Q+v1GptR3wrt4SN6j7zORLU8Pr +Izrj+EfUdCq+/H2MQwbNBzz1hsty+ckc96mgBwYFK4EEACOhgYkDgYYABABuzgMG +dn+bJS73wzH5EXsBhp5p7FlXxDIeB56UDfqAG9Vuox+dh2TV2wVN35QdAVOJnvaR +fxcF8VZ+B41tq7NmDADZyEKiMVBASx5bVt4wgPp0kTdK1l2bSA6dpjfQGczwzAkv +ysu41EAv54p+U9tUHaSW0yuNw0EPDxtr8uR/77P1Sg== +-----END EC PRIVATE KEY----- diff --git a/.ci/tcg-rim-tool/keys/PC_OEM1_rim_signer_rsa_3k_sha384.key b/.ci/tcg-rim-tool/keys/PC_OEM1_rim_signer_rsa_3k_sha384.key new file mode 100644 index 00000000..c705e4ab --- /dev/null +++ b/.ci/tcg-rim-tool/keys/PC_OEM1_rim_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YIFifHvFWE3oLfvEbHJ9KTysRMZj/JLzPiowmnIExWarkw +aBBeb/4HtmBH+U3EdjsCgcEAof/UwOVPU3aMAvXntD4ybmxsLlHFW9vit56GcQC/ +7PSKogvzf+CtdN0uoipaWbJvc3WiIa3BJcQaSEKtyhF3teihD23mbFyyCpqZZpkz +J+PPLO4XCIYE9OvTBYa9Ym+bOL34ag6RRLNoS17rdWO7JtUVlhg3Vz8WtKzCZwo1 +7CrwNIszWJrptreRCE0Acr1kipZtfgtVrKgIr+hQrTEJRgE3ChTBQemLIINZ1C5h +epZ1MWgHJwD0suOcz5WrBlna +-----END PRIVATE KEY----- diff --git a/.ci/tcg-rim-tool/keys/PC_OEM2_rim_signer_rsa_3k_sha384.key b/.ci/tcg-rim-tool/keys/PC_OEM2_rim_signer_rsa_3k_sha384.key new file mode 100644 index 00000000..c705e4ab --- /dev/null +++ b/.ci/tcg-rim-tool/keys/PC_OEM2_rim_signer_rsa_3k_sha384.key @@ -0,0 +1,40 @@ +-----BEGIN PRIVATE KEY----- +MIIG/gIBADANBgkqhkiG9w0BAQEFAASCBugwggbkAgEAAoIBgQDMQEBV0b1Oo/Tn +JC3EJx3hZRyqMbLXTe9geaoa/777ENWZz/XE0wOszbbQn/q6REbYkG9biDoRIchF +dAOOSmKT7e1KyC7Mk3a5Go+XauKA/Kavkk87z9mfZnGUCV0LuIG13R6cIGd10Jq7 +1SNie0/kXmyBJtSnhcJtyL07CSxjHmjw+BkYU2Jsp+LktPY8iu4gcTWoD/rBeLln +0VVIEuoXi4yaLalNGMp6PeM90ygpykliIgcu6UhmBY809TDgqQo4srywqjeWDO6x +CDIJBaTgf9bxt9sAlp+1SomQhOT7P7TRef6X8dLhNFucq4IbDQKA90a61WavsFL5 +bAMFtyGyAH01svsIqjKrJ0YSB55hfhUBA0xjF8qYddZj8Ye4oCwiVfi86E6ADQmX +pnEzxEcN1lcKcEfsMvsnB9ANVt252ozIgSRAV1ahNNKpxCTDTbaLqrjZOkSIxuVH +ORqu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AB02ptSZbJp69JooizZZkUo3skM7z +Czk25lcgpwKBwEsPuZtjQNSnhS6WCRtmnYe4REe66dPa/gkde51Dt1nl9IRO5DQw +N5MLNIxJwVDS3+x7i6AgW9RmLKmnaftSwwcMp3d9wY5upq0KpLECVnz7hwq26db1 +5baJNT6KSO5cfFr8Akm3LHHnFJBvtyUm7fW7elFmt+bY7BJyOrHTG9Eq7cuXweDx +CfZomeXboZtvTmsBBNNN/1qWp9zoeVzdW4sd8Ieojr8djtVeOBmUGuo4a9nlNiWi +/VtfjtK+/6Cg2QKBwQCxGhi4xUDVsF/Qbkjj0nJIsd6Qm5YOnvDs6s3CYEBjneV4 +VLyWQN1GAFiEkbahkdE4UC3bTS6/lvUdGOlDAg9nVXXkfHeJwVdj+4xTPDqUVS9c +rbXuzEHVSJYrxXcy03RJsimlkdUoPMTFxBLnJdhuK7PAH3Ri63tpsbZxDEMNch0M +8XRykHSfHj3cNftLcwYIFifHvFWE3oLfvEbHJ9KTysRMZj/JLzPiowmnIExWarkw +aBBeb/4HtmBH+U3EdjsCgcEAof/UwOVPU3aMAvXntD4ybmxsLlHFW9vit56GcQC/ +7PSKogvzf+CtdN0uoipaWbJvc3WiIa3BJcQaSEKtyhF3teihD23mbFyyCpqZZpkz +J+PPLO4XCIYE9OvTBYa9Ym+bOL34ag6RRLNoS17rdWO7JtUVlhg3Vz8WtKzCZwo1 +7CrwNIszWJrptreRCE0Acr1kipZtfgtVrKgIr+hQrTEJRgE3ChTBQemLIINZ1C5h +epZ1MWgHJwD0suOcz5WrBlna +-----END PRIVATE KEY----- diff --git a/.ci/tcg-rim-tool/scripts/base_rim_nocert_very_fail.sh b/.ci/tcg-rim-tool/scripts/base_rim_nocert_very_fail.sh new file mode 100755 index 00000000..7f01cac1 --- /dev/null +++ b/.ci/tcg-rim-tool/scripts/base_rim_nocert_very_fail.sh @@ -0,0 +1,21 @@ +#!/bin/bash +#Test verify with no cert chain +# Capture location of this script to allow from invocation from any location +scriptDir=$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")") +# go to the script directory so everything runs smoothly ... +pushd $scriptDir > /dev/null + +. ./rim_functions.sh +#clearing and creating a new tmp folder +rm -rf tmp +mkdir -p tmp +#rim create +rim -c base -a ../configs/Base_Rim_Config.json -l ../eventlogs/TpmLog.bin -k ../keys/PC_OEM1_rim_signer_rsa_3k_sha384.key -p ../certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem -o tmp/noCert.swidtag +rim_create_status $? + +# rim verify without cert chain +rim -v tmp/noCert.swidtag -l ../eventlogs/TpmLog.bin -t ../certs/PC_OEM1_Cert_Chain.pem +rim_verify_fail_test $? + +#Return to where ever you came from +popd > /dev/null \ No newline at end of file diff --git a/.ci/tcg-rim-tool/scripts/bindingSpecprimary_rim_noconfig_fail.sh b/.ci/tcg-rim-tool/scripts/bindingSpecprimary_rim_noconfig_fail.sh new file mode 100755 index 00000000..e869c724 --- /dev/null +++ b/.ci/tcg-rim-tool/scripts/bindingSpecprimary_rim_noconfig_fail.sh @@ -0,0 +1,14 @@ +#!/bin/bash +#test rim create with no config file. +# Capture location of this script to allow from invocation from any location +scriptDir=$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")") +# go to the script directory so everything runs smoothly ... +pushd $scriptDir > /dev/null + +. ./rim_functions.sh +#rim create +rim -c base -l ../eventlog/TpmLog.bin -k ../keys/PC_OEM1_rim_signer_rsa_3k_sha384.key -p ../certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem -o noConfig.swidtag +rim_create_fail_test $? + +#Return to where ever you came from +popd > /dev/null \ No newline at end of file diff --git a/.ci/tcg-rim-tool/scripts/composite_rim_create_pass.sh b/.ci/tcg-rim-tool/scripts/composite_rim_create_pass.sh new file mode 100755 index 00000000..a73af52b --- /dev/null +++ b/.ci/tcg-rim-tool/scripts/composite_rim_create_pass.sh @@ -0,0 +1,40 @@ +#!/bin/bash +# Composite rim create pass test +# Capture location of this script to allow from invocation from any location +scriptDir=$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")") +# go to the script directory so everything runs smoothly ... +pushd $scriptDir > /dev/null + +. ./rim_functions.sh +#clearing and creating a new tmp folder +rm -rf tmp +mkdir -p tmp + +failCount=0 +# primary rim create +rim -c base -a ../configs/Primary_Rim_Config.json -l ../eventlogs/TpmLog.bin -k ../keys/PC_OEM1_rim_signer_rsa_3k_sha384.key -p ../certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem -o tmp/primaryRimFile.swidtag +rim_create_status $? + +# verify primary rim +rim -v tmp/primaryRimFile.swidtag -l ../eventlogs/TpmLog.bin -t ../certs/PC_OEM1_Cert_Chain.pem -p ../certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem +rim_verify_status $? + +# comp rim create +rim -c base -a ../configs/Component1_Rim_Config.json -l ../eventlogs/TpmLog2.bin -k ../keys/COMP_OEM1_rim_signer_rsa_3k_sha384.key -p ../certs/COMP_OEM1_rim_signer_rsa_3k_sha384.pem -o tmp/compRimFile.swidtag +rim_create_status $? + +# verify comp rim +rim -v tmp/compRimFile.swidtag -l ../eventlogs/TpmLog2.bin -t ../certs/COMP_OEM1_Cert_Chain.pem -p ../certs/COMP_OEM1_rim_signer_rsa_3k_sha384.pem +rim_verify_status $? + +#Return to where ever you came from +popd > /dev/null + +if [ $failCount -eq 0 ]; then + echo "Expected Result (PASS) Result: PASS, primaryRimFile.swidtag has a new base rim file signed by PC_OEM1_rim_signer_rsa_3k_sha384.key" + echo "Expected Result (PASS) Result: PASS, compRimFile.swidtag has a new base rim file signed by COMP_OEM1_rim_signer_rsa_3k_sha384.key" +else + echo "Expected Result (PASS) Result: FAILED, exit status $failCount" +fi +exit $failCount + diff --git a/.ci/tcg-rim-tool/scripts/patch_rim_create_pass.sh b/.ci/tcg-rim-tool/scripts/patch_rim_create_pass.sh new file mode 100755 index 00000000..355d3e87 --- /dev/null +++ b/.ci/tcg-rim-tool/scripts/patch_rim_create_pass.sh @@ -0,0 +1,33 @@ +#!/bin/bash +#Creates and Verifies a Patch RIM. Needs to refer to the Primary RIM created in previous test. +# Capture location of this script to allow from invocation from any location +scriptDir=$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")") +# go to the script directory so everything runs smoothly ... +pushd $scriptDir > /dev/null + +. ./rim_functions.sh +#clearing and creating a new tmp folder +rm -rf tmp +mkdir -p tmp +#declares failCount as number of failure tests that are not working as they should +#Exit 1: Rim Create failure +#Exit 2: Rim verify failure +failCount=0 +# rim create +rim -c base -a ../configs/Patch_RIM_Config.json -l ../eventlogs/TpmLog2.bin -k ../keys/PC_OEM1_rim_signer_rsa_3k_sha384.key -p ../certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem -o tmp/patchRimFile.swidtag +rim_create_status $? + +# RIM verify +rim -v tmp/patchRimFile.swidtag -t ../certs/PC_OEM1_Cert_Chain.pem -l ../eventlogs/TpmLog2.bin -p ../certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem +rim_verify_status $? + +#Return to where ever you came from +popd > /dev/null + +#Exit status with message +if [ $failCount -eq 0 ]; then + echo "Expected Result (PASS) Result: PASS, patchRimFile.swidtag has a new base rim file signed by PC_OEM1_rim_signer_rsa_3k_sha384.key" +else + echo "Expected Result (PASS) Result: FAILED, exit status $failCount" +fi +exit $failCount \ No newline at end of file diff --git a/.ci/tcg-rim-tool/scripts/primary_rim_create_pass.sh b/.ci/tcg-rim-tool/scripts/primary_rim_create_pass.sh new file mode 100755 index 00000000..8a939e05 --- /dev/null +++ b/.ci/tcg-rim-tool/scripts/primary_rim_create_pass.sh @@ -0,0 +1,37 @@ +#!/bin/bash +#This test creates and verifies a single Primary RIM +# Capture location of this script to allow from invocation from any location +scriptDir=$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")") +# go to the script directory so everything runs smoothly ... +pushd $scriptDir > /dev/null + +. ./rim_functions.sh +#clearing and creating a new tmp folder +rm -rf tmp +mkdir -p tmp + +#declares failCount as number of failure tests that are not working as they should +#Exit 1: Rim Create failure +#Exit 2: Rim verify failure +failCount=0 +# creating a base rim and checking exit status +rim -c base -a ../configs/Base_Rim_Config.json -l ../eventlogs/TpmLog.bin -k ../keys/PC_OEM1_rim_signer_rsa_3k_sha384.key -p ../certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem -o tmp/baseRimFile.swidtag +rim_create_status $? + +# RIM verify and checking exit status +rim -v tmp/baseRimFile.swidtag -p ../certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem -t ../certs/PC_OEM1_Cert_Chain.pem -l ../eventlogs/TpmLog.bin +rim_verify_status $? + +#Return to where ever you came from +popd > /dev/null + +#script exit status +if [ $failCount -eq 0 ]; then + echo "Expected Result (PASS) Result: PASS, baseRimFile.swidtag has a new base rim file signed by PC_OEM1_rim_signer_rsa_3k_sha384.key" +else + echo "Expected Result (PASS) Result: FAILED, exit status $failCount" +fi +exit $failCount + + + diff --git a/.ci/tcg-rim-tool/scripts/primary_rim_embedd_pass.sh b/.ci/tcg-rim-tool/scripts/primary_rim_embedd_pass.sh new file mode 100755 index 00000000..d7658103 --- /dev/null +++ b/.ci/tcg-rim-tool/scripts/primary_rim_embedd_pass.sh @@ -0,0 +1,34 @@ +#!/bin/bash +#Test the option to embed a certificate into the swidtag +# Capture location of this script to allow from invocation from any location +scriptDir=$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")") +# go to the script directory so everything runs smoothly ... +pushd $scriptDir > /dev/null + +. ./rim_functions.sh +#clearing and creating a new tmp folder +rm -rf tmp +mkdir -p tmp + +#declares failCount as number of failure tests that are not working as they should +#Exit 1: Rim Create failure +#Exit 2: Rim verify failure +failCount=0 +#rim create, -e flag fails? Bouncy Castle error... +rim -c base -a ../configs/Base_Rim_Config.json -l ../eventlogs/TpmLog.bin -k ../keys/PC_OEM1_rim_signer_rsa_3k_sha384.key -p ../certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem -e -o tmp/primary_embedd.swidtag +rim_create_status $? + +#rim verify. +rim -v tmp/primary_embedd.swidtag -p ../certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem -l ../eventlogs/TpmLog.bin -t ../certs/PC_OEM1_RSA_Cert_Chain.pem +rim_verify_status $? + +#Return to where ever you came from +popd > /dev/null + +#Exit status with message +if [ $failCount -eq 0 ]; then + echo "Expected Result (PASS) Result: PASS, patchRimFile.swidtag has a new base rim file signed by PC_OEM1_rim_signer_rsa_3k_sha384.key" +else + echo "Expected Result (PASS) Result: FAILED, exit status $failCount" +fi +exit $failCount \ No newline at end of file diff --git a/.ci/tcg-rim-tool/scripts/primary_rim_noeventlog_fail.sh b/.ci/tcg-rim-tool/scripts/primary_rim_noeventlog_fail.sh new file mode 100755 index 00000000..2487d766 --- /dev/null +++ b/.ci/tcg-rim-tool/scripts/primary_rim_noeventlog_fail.sh @@ -0,0 +1,14 @@ +#!/bin/bash +#Test for a missing event log +# Capture location of this script to allow from invocation from any location +scriptDir=$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")") +# go to the script directory so everything runs smoothly ... +pushd $scriptDir > /dev/null + +. ./rim_functions.sh +#rim create +rim -c base -a ../configs/Base_Rim_Config.json -k ../keys/PC_OEM1_rim_signer_rsa_3k_sha384.key -p ../certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem -o noEventlog.swidtag +rim_create_fail_test $? + +#Return to where ever you came from +popd > /dev/null \ No newline at end of file diff --git a/.ci/tcg-rim-tool/scripts/primary_rim_nokey_fail.sh b/.ci/tcg-rim-tool/scripts/primary_rim_nokey_fail.sh new file mode 100755 index 00000000..ace180e9 --- /dev/null +++ b/.ci/tcg-rim-tool/scripts/primary_rim_nokey_fail.sh @@ -0,0 +1,14 @@ +#!/bin/bash +#Tests for a missing key +# Capture location of this script to allow from invocation from any location +scriptDir=$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")") +# go to the script directory so everything runs smoothly ... +pushd $scriptDir > /dev/null + +. ./rim_functions.sh +#rim create +rim -c base -a ../configs/Base_Rim_Config.json -l ../eventlogs/TpmLog.bin -p ../certs/PC_OEM1_rim_signer_rsa_3k_sha384.pem -o baseRimFile.swidtag +rim_create_fail_test $? + +#Return to where ever you came from +popd > /dev/null \ No newline at end of file diff --git a/.ci/tcg-rim-tool/scripts/rim_functions.sh b/.ci/tcg-rim-tool/scripts/rim_functions.sh new file mode 100755 index 00000000..55947556 --- /dev/null +++ b/.ci/tcg-rim-tool/scripts/rim_functions.sh @@ -0,0 +1,132 @@ +#!/bin/bash +#Rim system test support functions. +#exit status functions for rim create and rim verify. +rim_create_status(){ + if [ $1 -eq 0 ]; then + echo "********" + echo "RIM create passed, attempting to verify the signature on base rim file..." + echo "********" + else + echo "********" + echo "FAILED: rim creation failed" + echo "********" + ((failCount++)) + fi +} + +rim_verify_status(){ + if [ $1 -eq 0 ]; then + echo "********" + echo "RIM Verify passed!" + #echo "********" + else + echo "********" + echo "FAILED: rim verify failed" + #echo "********" + ((failCount++)) + fi +} + +rim_create_fail_test(){ + if [ $1 -ne 0 ]; then + echo "********" + echo "PASSED: RIM create FAILED as expected." + #echo "********" + exit 0 + else + echo "********" + echo "FAILED: RIM create PASSED expected FAIL." + #echo "********" + exit 1 + fi +} + +rim_verify_fail_test(){ + if [ $1 -ne 0 ]; then + echo "********" + echo "PASSED: RIM verify FAILED as expected." + #echo "********" + exit 0 + else + echo "********" + echo "FAILED: RIM verify PASSED expected FAIL." + #echo "********" + exit 1 + fi +} + +check_req_attributes() { + local element="$1" + shift + local attributes=("$@") + for attribute in "${attributes[@]}"; do + ((num_tests++)) + if grep -q "$element.*$attribute=" "$BASE_RIM"; then + echo "The $element element HAS the REQUIRED '$attribute' attribute." + ((num_tests_pass++)) + else + echo -e "\033[31mError: The $element element is MISSING the REQUIRED '$attribute' attribute.\033[0m" + exitStatus=1 + fi + done +} + +check_opt_attributes() { + local element="$1" + shift + local attributes=("$@") + for attribute in "${attributes[@]}"; do + if grep -q "$element.*$attribute=" "$BASE_RIM"; then + echo "The $element element HAS the OPTIONAL '$attribute' attribute." + else + echo -e "\033[33mThe $element element is MISSING the OPTIONAL '$attribute' attribute.\033[0m" + fi + done +} + +check_element() { + local element="$1" + ((num_tests++)) + if grep -q "$1" "$BASE_RIM"; then + echo "************" + echo "$element element exists checking for REQUIRED attributes... " + ((num_tests_pass++)) + else + echo -e "\033[31mERROR: $element element is missing\033[0m" + exitStatus=1 + fi +} + +# checks parent tag for REQUIRED elements/attributes found in child tags. +check_tag_req(){ + local element="$1" + local tag_block="$2" + shift 2 + local attributes=("$@") + + for attribute in "${attributes[@]}"; do + ((num_tests++)) + if echo "$tag_block" | grep -q "$attribute"; then + echo "The $element element HAS the REQUIRED '$attribute' attribute." + ((num_tests_pass++)) + else + echo -e "\033[31mError: The $element element is MISSING the REQUIRED '$attribute' attribute.\033[0m" + exitStatus=1 + fi + done +} +# checks parent tag for OPTIONAL elements/attributes found in child tags. +check_tag_opt(){ + local element="$1" + local tag_block="$2" + shift 2 + local attributes=("$@") + + for attribute in "${attributes[@]}"; do + if echo "$tag_block" | grep -q "$attribute"; then + echo "The $element element HAS the REQUIRED '$attribute' attribute." + else + echo -e "\033[33mThe $element element is MISSING the OPTIONAL '$attribute' attribute.\033[0m" + fi + done +} \ No newline at end of file diff --git a/.ci/tcg-rim-tool/scripts/run_all_tests.sh b/.ci/tcg-rim-tool/scripts/run_all_tests.sh new file mode 100755 index 00000000..a953b60d --- /dev/null +++ b/.ci/tcg-rim-tool/scripts/run_all_tests.sh @@ -0,0 +1,89 @@ +#!/bin/bash +# This script will run all the tests in rim/scrips directory. it will ignore specified files. +# counters that will provide information about the script status. +testsFailed=0 +testsPassed=0 +testsRan=0 +# Capture location of this script to allow from invocation from any location +scriptDir=$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")") +# go to the script directory so everything runs smoothly ... +pushd $scriptDir > /dev/null + + +# adding the verbose option. +while [[ $# -gt 0 ]]; do + case $1 in + '-v'|'--verbose') + ARG_VERBOSE=YES + echo "verbose parameters" + shift # past argument + ;; + '-*'|'--*') + echo "Unknown option $1" + exit 1 + ;; + *) + echo "Unknown argument $1" + exit 1 + shift # past argument + ;; + esac +done + +#List of files in the scripts directory to ignore. +exclude=("run_all_tests.sh" "rim_functions.sh") + +#loop through the test/rim/scripts directory +for script in *.sh; do + #ignoring specified (non test) files. + if [[ ! "${exclude[*]}" =~ $script ]]; then + ((testsRan++)) + echo "" + echo "----------------" + echo "RUNNING $script" + + if [ -n "$ARG_VERBOSE" ]; then + ./"$script" + else + ./"$script" >/dev/null + fi + + #checking the exit stats of the script (test). + if [ $? -eq 0 ];then + if [ -z "$ARG_VERBOSE" ]; then + echo "PASSED $script" + fi + echo "----------------" + ((testsPassed++)) + else + if [ -z "$ARG_VERBOSE" ]; then + echo -e "\033[31mFAILED $script\033[0m" + fi + echo "----------------" + ((testsFailed++)) + fi + else + echo "" + echo "----------------" + echo "skipping $script" + echo "----------------" + fi + +done + +#return to whatever directory you started at +popd > /dev/null + +#test results +echo "" +echo "**** Test Results *****" +echo "Number of tests ran = $testsRan" +echo "Number of tests passed = $testsPassed" +echo "Number of tests failed = $testsFailed" + +#tests status +if [ "$testsFailed" -eq 0 ]; then + exit 0 +else + exit 1 +fi \ No newline at end of file diff --git a/.github/workflows/rim_tests.yml b/.github/workflows/rim_tests.yml new file mode 100644 index 00000000..11799391 --- /dev/null +++ b/.github/workflows/rim_tests.yml @@ -0,0 +1,45 @@ +# workflow is used to run RIM tests +name: RIM Test +on: + push: + branches: + - '*v3*' + - 'main' + workflow_dispatch: + +jobs: + tcg_rim_tool_tests: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + server-id: github # Value of the distributionManagement/repository/id field of the pom.xml + settings-path: ${{ github.workspace }} # location for the settings.xml file + - name: install dependencies + run: | + sudo apt-get update + sudo apt-get install git curl nano cron mariadb-server + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + - name: Execute Gradle build + run: | + ./gradlew build; + ./gradlew buildDeb; + - name: install rim tool + run: | + sudo dpkg -i tools/tcg_rim_tool/build/distributions/tcg-rim-tool*.deb + - name: RIM tests + run: | + ./.ci/tcg-rim-tool/scripts/run_all_tests.sh --verbose + + + + diff --git a/.gitignore b/.gitignore index 1b6f15f8..64055bc6 100644 --- a/.gitignore +++ b/.gitignore @@ -138,6 +138,7 @@ HIRS_ProvisionerTPM2/scripts/tpm_aca_provision # tcg_rim_tool files tools/tcg_rim_tool/generated_swidTag.swidtag +.ci/tcg-rim-tool/scripts/tmp ### c# build files, visual studio files *.user