From b92ff5fc642d9f8bd0456946a648b92780a70030 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan Date: Fri, 5 Jan 2024 01:03:18 +0100 Subject: [PATCH] kem_{RSA,kyber512}.{crt,key}: add RSA and kyber512 cert and key for KEM testing --- .../80-test_cmp_http_data/Mock/kem_RSA.crt | 22 ++++++++ .../80-test_cmp_http_data/Mock/kem_RSA.key | 28 ++++++++++ .../Mock/kem_kyber512.crt | 32 +++++++++++ .../Mock/kem_kyber512.key | 54 +++++++++++++++++++ 4 files changed, 136 insertions(+) create mode 100644 test/recipes/80-test_cmp_http_data/Mock/kem_RSA.crt create mode 100644 test/recipes/80-test_cmp_http_data/Mock/kem_RSA.key create mode 100644 test/recipes/80-test_cmp_http_data/Mock/kem_kyber512.crt create mode 100644 test/recipes/80-test_cmp_http_data/Mock/kem_kyber512.key diff --git a/test/recipes/80-test_cmp_http_data/Mock/kem_RSA.crt b/test/recipes/80-test_cmp_http_data/Mock/kem_RSA.crt new file mode 100644 index 00000000000000..682e062f138093 --- /dev/null +++ b/test/recipes/80-test_cmp_http_data/Mock/kem_RSA.crt @@ -0,0 +1,22 @@ +-----BEGIN CERTIFICATE----- +MIIDkjCCAnqgAwIBAgIUCIoReKKPB6Yh4B0HEeykhscAQ68wDQYJKoZIhvcNAQEL +BQAwWjELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNVBAoT +GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDETMBEGA1UEAxMKc3ViaW50ZXJDQTAe +Fw0yMzA3MTMxNDM5NDVaFw0zMzA3MTAxNDM5NDVaMFgxCzAJBgNVBAYTAkFVMRMw +EQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0 +eSBMdGQxETAPBgNVBAMMCGxlYWYtS0VNMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A +MIIBCgKCAQEAw9GYW2QMjkZ3UJOJL3y65cQoXD9/1J5BEPGjuJKBETnxK8xnRMta +FQiDAg5qwxvRilPk38hYmvbVbvGmrGwWpwC4y9eHeF0GL39wGzWW4oY7kqi+D9jv +y5knBpvB6dn0DQjAm01uigU26YtCAZ7Va8+/Ankwp41+sVKzwgKBn19oBMHU1YNd +UCFEPR5d2yM72MEeHGhjTZybBm4+ueCNSNzyC/jZMpy3oHXlmlJE2mvEsOQZA4n6 +xIUe+RwokfAXlwYFl19pbdj5G42IhLzr9ZSu6uvjm5RvCxoPdmtQZ6FxaBUNfRMG +jqEOkYuwCJ2718yaURgbRqfmlKNdECyy4QIDAQABo1IwUDAOBgNVHQ8BAf8EBAMC +BSAwHQYDVR0OBBYEFEQ91872uHULE2j0VfkvlMW56822MB8GA1UdIwQYMBaAFOln +fRB0wZquuEw/CT4ccBXdHxpPMA0GCSqGSIb3DQEBCwUAA4IBAQBZIyZsem85ca5U +Fzz88Bvvl2oKsIW8ixlhXkc4fA4pzcuXmgt0l31dO6NTEkxfDWfIinENB7kEmNmE +XD6Cll/uvtKICViAZMdrYZZZYkToyrN6Jkrf+svdjfk4Bjr1ufixYSzj6NIb1KIa +9vgyG0LGLEzDbUH3XCnmgYHc/c/6nt6ZoN/iVROmgcTafOv3S9/2ertAFPEpdRxX +Axj3V2qgguBJCyhJ7VuaBhJhpWgHUjtzH61etyLoCMVKTaR9L8ocS217LeGCHKto +d3tuL7nQctvpTqG7jvvujUlPs2uKY0Fzsqw66ez51mWVyop9rkvudkZIZ0ftMYli +DcOpACyZ +-----END CERTIFICATE----- diff --git a/test/recipes/80-test_cmp_http_data/Mock/kem_RSA.key b/test/recipes/80-test_cmp_http_data/Mock/kem_RSA.key new file mode 100644 index 00000000000000..deb103ad68826a --- /dev/null +++ b/test/recipes/80-test_cmp_http_data/Mock/kem_RSA.key @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDD0ZhbZAyORndQ +k4kvf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2jh7IWfjyj3dpzzE53ywlPuESzObuW3Ukdi7 +WwrZmwvGapuxYb2ErNv5C9C3U8rArzw63WbIsr9pB2n0TcXO/sJgpwusnKyNinMZ +MbwmRI0j11yqSSs4nc/kpRj48tmeptMpmNV+iG15cy3AxjhU7tw6ur4BAoGBAIU8 ++Zs2PCyEnThrc8QZ0nbKCJFssymVT2PeVqt+5AKKuE79eQwstODLNoJR9uus7Rb2 +h0LDMRvj1lJEezEry8kQEWMDnnw+6e6dp82ACE8QRKvXzoaHxTEH+8dGTY19QYyP +9UrW7qh5o7Fa0uXBUBsfjJMpaqTByoTOgZx5YvA9AoGAUsqA4GdiBt+HCJv+uwP3 +21XcxdhwmT9PYMh7MdONpe9kEZUu1o/MVuCSascsF5qIewIlynqnACoS/E3yILxy +/Q4IyxJpvaocvO94xvHYa1T//FQG+JO7gOjLyF5c8IK7V3O+luxRy1I99Y87ePlq +aPBrRRPu2ZIxrPmdPmdNp1s= +-----END PRIVATE KEY----- diff --git a/test/recipes/80-test_cmp_http_data/Mock/kem_kyber512.crt b/test/recipes/80-test_cmp_http_data/Mock/kem_kyber512.crt new file mode 100644 index 00000000000000..c74ce11855ac07 --- /dev/null +++ b/test/recipes/80-test_cmp_http_data/Mock/kem_kyber512.crt @@ -0,0 +1,32 @@ +-----BEGIN CERTIFICATE----- +MIIFbTCCBFWgAwIBAgIUfA690OmMhl3gMNStJ68TUY2MyCUwDQYJKoZIhvcNAQEL +BQAwWjELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNVBAoT +GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDETMBEGA1UEAxMKc3ViaW50ZXJDQTAe +Fw0yNDAxMDQxMTI0MTZaFw0yNDAyMDMxMTI0MTZaMBMxETAPBgNVBAMMCEtFTV9D +RVJUMIIDNDANBgsrBgEEAYGwGgUGAQOCAyEAZ/CNJhMFqCo/bsOHD5gCS4Vf5OUW +ZatuBZs89vmIV2ZoJEWuVCqLD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/BAQDAgUgMB0G +A1UdDgQWBBRBOTsoMHl1ufkf08tCY2MYzdqT+zAfBgNVHSMEGDAWgBTpZ30QdMGa +rrhMPwk+HHAV3R8aTzANBgkqhkiG9w0BAQsFAAOCAQEAVGCzVF2up6jGwXahQ3AU +78SC4JDcq8DbkwKtgXy2mcybvvmyBYnOckLVjqfrUg5KHmZjvo1NBeQn8+a+o6IP +KcAqpwxCeYLM5znkb4ZGM5wL/mIk4oJpaW+Rk2fZ0gREzHiBnHw5B7qEyHhTLdy/ +cGi9v1d/YRdcWhBkbgKgkAcCmTPk7TNec8AUoi14IF3/dONq3i3XfXEQDqioKbA9 +2EPWJvst4amh985lnxGqeXGaXv4GmAq4dxGWHVOzaQN77b37ZqCUSyhWVLb1/GRd +yDffUHEq3nELIVsiDqDcTOAHo5LeBkTl7y4MFAvnc8sM3x8SLXz+MMzPDl5iM8ky +HQ== +-----END CERTIFICATE----- diff --git a/test/recipes/80-test_cmp_http_data/Mock/kem_kyber512.key b/test/recipes/80-test_cmp_http_data/Mock/kem_kyber512.key new file mode 100644 index 00000000000000..d744acc09ea3e3 --- /dev/null +++ b/test/recipes/80-test_cmp_http_data/Mock/kem_kyber512.key @@ -0,0 +1,54 @@ +-----BEGIN PRIVATE KEY----- +MIIJmgIBADANBgsrBgEEAYGwGgUGAQSCCYQEggmA3siLORoUTyZkXnxyGrrBunCf +5emZcxZT0iZgZgBl0Fwpi8mRc3ODTjh0WNDHNBzKNyBnYiC/cdnNg2xjjNY/sTcR +0Cw3VZByNYiGwwkkbqVIfodX1aBUuoBBmFvANEAbLJizw+ZY0ZilQvyNp4psfiN8 +ESI2NCEqamgA8RWbPfQ5rLQNzQlg17KTByldGJylw8SKg0aauQEfswS9j8NcUxMz +BAKeQYKv9xI+pgNSx6wAlfq4VnyLT5oGYcAUF2tYb1xlj8hkTIQAz1lf0Mg0d1h1 +U0kyD+NxzvsVjhYy7+fAakQX+WV9S+xXBRg8zAkQZjNu0gdX5tpAcAwY44wmj/ps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