From 9f28e5460a2d4df1b0b1441a4eb0c448944ba73a Mon Sep 17 00:00:00 2001 From: "Maciej J. Karpiuk" Date: Mon, 29 Jun 2015 12:23:02 +0200 Subject: [PATCH] CKM: test for encrypted initial values Change-Id: Ic395d86caff2649d2a4adb801007dc68d1cc502f --- src/ckm/CMakeLists.txt | 1 + src/ckm/XML_1_okay.xml | 207 +++++++++++++++++- src/ckm/XML_2_okay.xml | 4 +- src/ckm/XML_3_wrong.xml | 2 +- src/ckm/device_key.xml | 32 +++ src/ckm/initial-values.cpp | 143 +++++++++++- src/ckm/keys/EIV/ascii_data | 1 + src/ckm/keys/EIV/ascii_data.encrypted | 1 + src/ckm/keys/EIV/cert.der | Bin 0 -> 831 bytes src/ckm/keys/EIV/cert.der.encrypted | Bin 0 -> 832 bytes src/ckm/keys/EIV/code.png | Bin 0 -> 5918 bytes src/ckm/keys/EIV/code.png.encrypted | Bin 0 -> 5920 bytes src/ckm/keys/EIV/device.priv | 27 +++ src/ckm/keys/EIV/device.pub | 9 + src/ckm/keys/EIV/encryption_AES_IV | 1 + src/ckm/keys/EIV/encryption_AES_IV_cert | 1 + src/ckm/keys/EIV/encryption_AES_IV_data_ASCII | 1 + src/ckm/keys/EIV/encryption_AES_IV_data_PNG | 1 + src/ckm/keys/EIV/encryption_AES_key | 1 + src/ckm/keys/EIV/encryption_AES_key.encrypted | Bin 0 -> 256 bytes src/ckm/keys/EIV/instructions.txt | 4 + src/ckm/keys/EIV/test.der.priv | Bin 0 -> 608 bytes src/ckm/keys/EIV/test.der.priv.enc | Bin 0 -> 624 bytes src/ckm/keys/EIV/test.der.priv.enc.base64 | 13 ++ src/ckm/keys/EIV/test.der.pub | Bin 0 -> 162 bytes src/ckm/keys/EIV/test.priv | 15 ++ src/ckm/keys/EIV/test.pub | 6 + 27 files changed, 455 insertions(+), 15 deletions(-) create mode 100644 src/ckm/device_key.xml create mode 100644 src/ckm/keys/EIV/ascii_data create mode 100644 src/ckm/keys/EIV/ascii_data.encrypted create mode 100644 src/ckm/keys/EIV/cert.der create mode 100644 src/ckm/keys/EIV/cert.der.encrypted create mode 100644 src/ckm/keys/EIV/code.png create mode 100644 src/ckm/keys/EIV/code.png.encrypted create mode 100644 src/ckm/keys/EIV/device.priv create mode 100644 src/ckm/keys/EIV/device.pub create mode 100644 src/ckm/keys/EIV/encryption_AES_IV create mode 100644 src/ckm/keys/EIV/encryption_AES_IV_cert create mode 100644 src/ckm/keys/EIV/encryption_AES_IV_data_ASCII create mode 100644 src/ckm/keys/EIV/encryption_AES_IV_data_PNG create mode 100644 src/ckm/keys/EIV/encryption_AES_key create mode 100644 src/ckm/keys/EIV/encryption_AES_key.encrypted create mode 100644 src/ckm/keys/EIV/instructions.txt create mode 100644 src/ckm/keys/EIV/test.der.priv create mode 100644 src/ckm/keys/EIV/test.der.priv.enc create mode 100644 src/ckm/keys/EIV/test.der.priv.enc.base64 create mode 100644 src/ckm/keys/EIV/test.der.pub create mode 100644 src/ckm/keys/EIV/test.priv create mode 100644 src/ckm/keys/EIV/test.pub diff --git a/src/ckm/CMakeLists.txt b/src/ckm/CMakeLists.txt index b4f23b01..d582601d 100644 --- a/src/ckm/CMakeLists.txt +++ b/src/ckm/CMakeLists.txt @@ -80,6 +80,7 @@ INSTALL(FILES XML_1_okay.xml XML_2_okay.xml XML_3_wrong.xml + device_key.xml DESTINATION /usr/share/ckm-test ) diff --git a/src/ckm/XML_1_okay.xml b/src/ckm/XML_1_okay.xml index d4b42c56..eace3d89 100644 --- a/src/ckm/XML_1_okay.xml +++ b/src/ckm/XML_1_okay.xml @@ -1,5 +1,18 @@ - + + + + QL/5RW1VfS1uya04CWkVy1eykdhnRaTFiQ6Lcv0XFYhqgUKp6+PxxT1xjaz8TCVp + UcKorZayMPCuStRAylViZfxHFhXKR3awH+FcnGMZrhV6kORy39YCba0NGc5eAk3s + CBPYdRRiV7ejJSOI8n3zFjituVhHLcLuZB6xHvQQpQFFYV0BuF3BXfx6roP4+Olj + bZ1fYDrj8QIzqi3R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lnbl9s + bzkqJvaaXpB/HVY/b4wrldr1rK73+y9LOOzfNpV4L+R4spZXXjZ2HIW/iKQj/c14 + + + + + -----BEGIN PUBLIC KEY----- + MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMP6sKttnQ58BAi27b8X+8KVQt + JgpJhhCF0RtWaTVqAhVDG3y4x6IuAvXDtPSjLe/2E01fYGVxNComPJOmUOfUD06B + CWPYH2+7jOfQIOy/TMlt+W7xfou9rqnPRoKRaodoLqH5WK0ahkntWCAjstoKZoG+ + 3Op0tEjy0jpmzeyNiQIDAQAB + -----END PUBLIC KEY----- + + + + + + pPjY7wULPaBIwPKkgwKyKSZPa6NVJN3312q829KaXcNdQSoNJmsyyPDMqLr1W3Nw + /5DSfstMCh/MiUq4Dc1VCaHbVkRFVZMvitg7nfjDVkI9HGLpSGWzz1dc6kxn/rPv + l1Ox3sVog96Ebss+Givm4cKKYSQihCLTxcQcP6v4RGvTMhXIZmlz8n4Tr3MgyRB7 + XTWdoowosEUWrzPMSD39y18gRJVZ/ZKv68o5mntatSE8FS1L6dgb2TdKEFdydVd2 + /ob9GVwRkMxpBsQeUvPRYXnZS2f1L18IRPrKLKLKsDB+FysyXMAHMaxGWWil29/d + osOwMt34i6Bv21132lGt08t2LebmDJViZRVjzz9edIChBzsoG/E/3hX6v32ruJGU + 2kq5l0bOmpQFs9M0TTNNWnaZKvpFPA8b3ywaDRWeKAPHsNQpnrx0WygCmvbjUChf + TP1E5BVm6YjWxptvFvEINcotCj2+0fvG3zIcq01O/MpSFWbGdu9MLZtFl1rTRt8e + ER8+nOKZNi9JUOfsYJyrZmtwm56LXTPjgNYY+a8yp2EXFtHjO62QKYr8zAi98PxL + oiELHLF2xwFufvBAssSOPwRmDSIhljPbUy4UKUxFCeMJzdxgK0DMZw4FtcyBXGgG + ABP57OQ60HomoZZDwAQ/4B8unuOCp7uERsQH5Z4Ns+PiIM4Tk8j9Qg4YVN43FJtJ + tCsfagBPuQM+Cm5law0Y01as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SoMX2yj09V6ZDUVHU11GOtDzVv07OU+u2vi + F0wPdrbedpmIr5BMCdCmqlIPYeBiaMVa/2+q3ud4o6/TeWmQpDZJCQ3xtxrNORQ7 + HTlY0MDp7G+sdPWJCN5OJ0Ac7uKW72ZC/5yHBJY7Lmrhi3V3vA+DH7A4GgPAphQM + yWlBP7sQqVWcA1XlgTycRzkfffXEUoS6qef+IgU/3i/kXmeNnf2kSvmtbiO4GRhC + Nhk2s71NUtYXNFJPav5/ZPXI3qOuySow5GYp3njGYmDhO45IzFCcQu40FqiOeyoV + lRYTS/BrybkMCu2S3VmIY9/2e7gguYigmyZRvvqOUED9JRqOfC14n5+wtxzSj/nw + xFFukVHQRNF6jcZLUNs0SoeFS/obPCE+QiDYBKVrTeT54LuwNLpTrgTnTkDE5VIm + LpX9ERh0Yh8HAO7eLHIPAiU/G1Etlc43GcDLN7bbGPQbCvKRzWKSUrLwKmryvTPi + eC36fh/yZEWtT2zEtddwbncRgXT20opzMJxB3qF5ZMQ1qLIsQbGYeUsRl9lxsT7A + CE6vCP235+urdA9IaBRPN1VpWDpV7YDbF/ZIkRDJevSnSSrBTed4WcXcSe7JNGFb + U3eFPi2vsekvb59CHqHPD8QvvqF3N/3Xp1uQZV+eBOCtRpMOZduBJ6QdZlGBaGrB + +RKJEl9ziqGkiqiQzw8MR2kSrRVKIs5cISbl/dOEqfkbp2A1Siy4kWt+2Zk5V+Sw + IPJDrjYIZKSzV6XhhN+fhMNOYJjByxEXXLvHRTydIUQpS5JPe3T1sMJCN8o41uKx + 4g+oPomYfJzKSbdpP84fVC4WQCMj+CiMGz/dWV27LgKPF0X9wel5s5gke4UDYQKe + FDf/4n3+neMgKohFUIcnqGnBTtThXqvK637m37WfQTIqNWkRH4pU/Acl/djkd+TD + yYRBt5UqwGovABM08jYkuA== + + diff --git a/src/ckm/XML_2_okay.xml b/src/ckm/XML_2_okay.xml index 8c8aa592..bfdc2995 100644 --- a/src/ckm/XML_2_okay.xml +++ b/src/ckm/XML_2_okay.xml @@ -93,9 +93,9 @@ - + - MIIEgDCCA2igAwIBAgIIcjtBYJGQtOAwDQYJKoZIhvcNAQEFBQAwSTELMAkGA1UE + QUJDREVGR0hJSktMTU5PUFJTVFVWV1hZWjAxMjM0NTY= diff --git a/src/ckm/XML_3_wrong.xml b/src/ckm/XML_3_wrong.xml index 40a64b97..6a1d78a9 100644 --- a/src/ckm/XML_3_wrong.xml +++ b/src/ckm/XML_3_wrong.xml @@ -95,7 +95,7 @@ - MIIEgDCCA2igAwIBAgIIcjtBYJGQtOAwDQYJKoZIhvcNAQEFBQAwSTELMAkGA1UE + QUJDREVGR0hJSktMTU5PUFJTVFVWV1hZWjAxMjM0NTY= diff --git a/src/ckm/device_key.xml b/src/ckm/device_key.xml new file mode 100644 index 00000000..30c162ae --- /dev/null +++ b/src/ckm/device_key.xml @@ -0,0 +1,32 @@ + + + + + MIIEowIBAAKCAQEA4Vx4MBKFGalaRh+BzSYnW8am8ajbnyD6AaweHcH+oAAQX7Ll + 1/XrorzOkyQV3+eo4czRCklq6BXMI4Ppa+Hy+/X/pMBa4MHrjzH01gzzV0jyqEOr + S6/MGPsoWUgGl6FRhEnSX62JQoUpsURMbNLgjBkbrmKEMHMk6jT5NUtKhpBXo0/g + OgW48PuADuSjRmKWQssfR/KMsv3SRy9iGFOG1tFxGbeQkmBBxXVIr7u/z9WDG32R + DiG8Mda8dNXJGaBcltUY9HvMogmgCPMrBspFy7ek0x0Lll3t1P7FMgF1V21PFhcl + yX0L0XbBthpYojjglCYT5MnFfhKnI9zbMLlcSQIDAQABAoIBAGnH57pY1xUGgxMr + MthCsnLHuhDwu7Xj2rXyPmilaIldvlHNPUmzaxmGGkjCxWnF6WWjp/N2JrItmRaK + koRLGKzf+VEx4PZiz9j1EAFxLr+nxA7rRHpQWDLZoUTXJBEEbaj0pcS3RhhtPPay + IlVqXnAkUPP31iiPw6ITn24+mwqx0I6AenMsh9vJHKl5y9Yu/aslYbwcxkSXinlO + HHcWopZlJKUQnq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b8c3192c..73c6357d 100644 --- a/src/ckm/initial-values.cpp +++ b/src/ckm/initial-values.cpp @@ -36,21 +36,28 @@ const char* APP_PASS = "user-pass"; const char* TEST_WEB_APP_1 = "web_app1"; const char* TEST_WEB_APP_2 = "web_app2"; +const char *XML_DEVICE_KEY = "device_key.xml"; + const char *XML_1_okay = "XML_1_okay.xml"; std::string XML_1_EXPECTED_KEY_1_RSA = aliasWithLabel(ckmc_owner_id_system, "test-key1"); std::string XML_1_EXPECTED_KEY_1_PASSWD = "123"; std::string XML_1_EXPECTED_KEY_2_RSA = aliasWithLabel(ckmc_owner_id_system, "test-key2"); // uncomment when AES is supported (+ usage in the tests) -//const char *XML_1_EXPECTED_KEY_3_AES = "/System test-aes1"; +std::string XML_1_EXPECTED_KEY_3_AES = aliasWithLabel(ckmc_owner_id_system, "test-aes1"); std::string XML_1_EXPECTED_CERT_1 = aliasWithLabel(ckmc_owner_id_system, "test-cert1"); std::string XML_1_EXPECTED_DATA_1 = aliasWithLabel(ckmc_owner_id_system, "test-data1"); const char *XML_1_EXPECTED_DATA_1_DATA = "My secret data"; +// encrypted +std::string XML_1_EXPECTED_KEY_3_RSA_PRV = aliasWithLabel(ckmc_owner_id_system, "test-encryption-prv"); +std::string XML_1_EXPECTED_KEY_3_RSA_PUB = aliasWithLabel(ckmc_owner_id_system, "test-encryption-pub"); +std::string XML_1_EXPECTED_ASCII_DATA = aliasWithLabel(ckmc_owner_id_system, "test-ascii-data-encryption"); +std::string XML_1_EXPECTED_BIG_DATA = aliasWithLabel(ckmc_owner_id_system, "test-binary-data-encryption"); const char *XML_2_okay = "XML_2_okay.xml"; std::string XML_2_EXPECTED_KEY_1_RSA = aliasWithLabel(ckmc_owner_id_system, "test2-key1"); std::string XML_2_EXPECTED_KEY_2_RSA = aliasWithLabel(ckmc_owner_id_system, "test2-key2"); // uncomment when AES is supported -//const char *XML_2_EXPECTED_KEY_3_AES = "/System test2-aes1"; +std::string XML_2_EXPECTED_KEY_3_AES = aliasWithLabel(ckmc_owner_id_system, "test2-aes1"); std::string XML_2_EXPECTED_CERT_1 = aliasWithLabel(ckmc_owner_id_system, "test2-cert1"); std::string XML_2_EXPECTED_DATA_1 = aliasWithLabel(ckmc_owner_id_system, "test2-data1"); const char *XML_2_EXPECTED_DATA_1_DATA = "My secret data"; @@ -59,7 +66,6 @@ const char *XML_3_wrong = "XML_3_wrong.xml"; std::string XML_3_EXPECTED_KEY_1_RSA = aliasWithLabel(ckmc_owner_id_system, "test3-key1"); std::string XML_3_EXPECTED_KEY_2_RSA = aliasWithLabel(ckmc_owner_id_system, "test3-key2"); // uncomment when AES is supported -//const char *XML_2_EXPECTED_KEY_3_AES = "/System test3-aes1"; std::string XML_3_EXPECTED_CERT_1 = aliasWithLabel(ckmc_owner_id_system, "test3-cert1"); std::string XML_3_EXPECTED_DATA_1 = aliasWithLabel(ckmc_owner_id_system, "test3-data1"); @@ -69,6 +75,11 @@ std::string format_src_path(const char *file) return std::string("/usr/share/ckm-test/") + std::string(file); } +std::string format_dest_key_path(const char *file) +{ + return std::string("/opt/data/ckm/") + std::string(file); +} + std::string format_dest_path(const char *file) { return std::string("/opt/data/ckm/initial_values/") + std::string(file); @@ -120,6 +131,7 @@ RUNNER_TEST(T6010_PARSE_XML_FILE_AT_STARTUP, RemoveDataEnv<0>) // [prepare] copy_file(format_src_path(XML_1_okay), format_dest_path(XML_1_okay)); + copy_file(format_src_path(XML_DEVICE_KEY), format_dest_key_path(XML_DEVICE_KEY)); // [test0] test_exists(format_dest_path(XML_1_okay), true); @@ -129,7 +141,7 @@ RUNNER_TEST(T6010_PARSE_XML_FILE_AT_STARTUP, RemoveDataEnv<0>) // [test1] check_key(XML_1_EXPECTED_KEY_1_RSA.c_str(), CKMC_ERROR_NOT_EXPORTABLE); check_key_allowed(XML_1_EXPECTED_KEY_2_RSA.c_str(), CKMC_KEY_RSA_PRIVATE); - //check_key_allowed(XML_1_EXPECTED_KEY_3_AES, CKMC_KEY_AES); + check_key_allowed(XML_1_EXPECTED_KEY_3_AES.c_str(), CKMC_KEY_AES); check_cert_allowed(XML_1_EXPECTED_CERT_1.c_str()); check_read_allowed(XML_1_EXPECTED_DATA_1.c_str(), XML_1_EXPECTED_DATA_1_DATA); @@ -142,7 +154,7 @@ RUNNER_TEST(T6010_PARSE_XML_FILE_AT_STARTUP, RemoveDataEnv<0>) check_key(XML_1_EXPECTED_KEY_1_RSA.c_str(), CKMC_ERROR_NOT_EXPORTABLE); check_key_not_visible(XML_1_EXPECTED_KEY_2_RSA.c_str()); - // check_key_allowed(XML_1_EXPECTED_KEY_3_AES, CKMC_KEY_AES); + check_key_allowed(XML_1_EXPECTED_KEY_3_AES.c_str(), CKMC_KEY_AES); check_cert_not_visible(XML_1_EXPECTED_CERT_1.c_str()); check_read_allowed(XML_1_EXPECTED_DATA_1.c_str(), XML_1_EXPECTED_DATA_1_DATA); } @@ -156,7 +168,7 @@ RUNNER_TEST(T6010_PARSE_XML_FILE_AT_STARTUP, RemoveDataEnv<0>) check_key_not_visible(XML_1_EXPECTED_KEY_1_RSA.c_str()); check_key_allowed(XML_1_EXPECTED_KEY_2_RSA.c_str(), CKMC_KEY_RSA_PRIVATE); - // check_key_allowed(XML_1_EXPECTED_KEY_3_AES, CKMC_KEY_AES); + check_key_allowed(XML_1_EXPECTED_KEY_3_AES.c_str(), CKMC_KEY_AES); check_cert_allowed(XML_1_EXPECTED_CERT_1.c_str()); check_read_allowed(XML_1_EXPECTED_DATA_1.c_str(), XML_1_EXPECTED_DATA_1_DATA); } @@ -175,6 +187,7 @@ RUNNER_TEST(T6020_PARSE_TWO_XML_FILES_AT_STARTUP, RemoveDataEnv<0>) // check items existence as system service // [prepare] + copy_file(format_src_path(XML_DEVICE_KEY), format_dest_key_path(XML_DEVICE_KEY)); copy_file(format_src_path(XML_1_okay), format_dest_path(XML_1_okay)); copy_file(format_src_path(XML_2_okay), format_dest_path(XML_2_okay)); @@ -190,8 +203,8 @@ RUNNER_TEST(T6020_PARSE_TWO_XML_FILES_AT_STARTUP, RemoveDataEnv<0>) check_key(XML_2_EXPECTED_KEY_1_RSA.c_str(), CKMC_ERROR_NOT_EXPORTABLE); check_key_allowed(XML_1_EXPECTED_KEY_2_RSA.c_str(), CKMC_KEY_RSA_PRIVATE); check_key_allowed(XML_2_EXPECTED_KEY_2_RSA.c_str(), CKMC_KEY_RSA_PRIVATE); - //check_key_allowed(XML_1_EXPECTED_KEY_3_AES, CKMC_KEY_AES); - //check_key_allowed(XML_2_EXPECTED_KEY_3_AES, CKMC_KEY_AES); + check_key_allowed(XML_1_EXPECTED_KEY_3_AES.c_str(), CKMC_KEY_AES); + check_key_allowed(XML_2_EXPECTED_KEY_3_AES.c_str(), CKMC_KEY_AES); check_cert_allowed(XML_1_EXPECTED_CERT_1.c_str()); check_cert_allowed(XML_2_EXPECTED_CERT_1.c_str()); check_read_allowed(XML_1_EXPECTED_DATA_1.c_str(), XML_1_EXPECTED_DATA_1_DATA); @@ -221,7 +234,6 @@ RUNNER_TEST(T6030_PARSE_FAIL_XML_AT_STARTUP, RemoveDataEnv<0>) // [test1] check_key_not_visible(XML_3_EXPECTED_KEY_1_RSA.c_str()); check_key_not_visible(XML_3_EXPECTED_KEY_2_RSA.c_str()); - //check_key_not_visible(XML_3_EXPECTED_KEY_3_AES); check_cert_not_visible(XML_3_EXPECTED_CERT_1.c_str()); check_read_not_visible(XML_3_EXPECTED_DATA_1.c_str()); } @@ -236,6 +248,7 @@ RUNNER_TEST(T6040_CHECK_KEYS_VALID, RemoveDataEnv<0>) // check if key can create & verify signature // [prepare] + copy_file(format_src_path(XML_DEVICE_KEY), format_dest_key_path(XML_DEVICE_KEY)); copy_file(format_src_path(XML_1_okay), format_dest_path(XML_1_okay)); restart_key_manager(); @@ -279,3 +292,115 @@ RUNNER_TEST(T6040_CHECK_KEYS_VALID, RemoveDataEnv<0>) ckmc_buffer_free(signature); } + +RUNNER_TEST(T6050_ENCRYPTED_KEY, RemoveDataEnv<0>) +{ + // [prepare] + // to encrypt using RSA OAEP: openssl rsautl -encrypt -oaep -pubin -inkey pub.key -in input.txt -out cipher.out + // to decrypt RSA OAEP cipher: openssl rsautl -decrypt -oaep -in cipher.out -out plaintext -inkey priv.key + // remove database 0 + // copy to the initial-values folder + // restart the key-manager + // [test0] + // check if encrypted private key is present + // check if public key is present + // [test1] + // extract the private, encrypted key + // extract the public key + // create signature using the public key + // verify signature using the decrypted private key + + // [prepare] + copy_file(format_src_path(XML_DEVICE_KEY), format_dest_key_path(XML_DEVICE_KEY)); + copy_file(format_src_path(XML_1_okay), format_dest_path(XML_1_okay)); + restart_key_manager(); + + // [test0] + check_key_allowed(XML_1_EXPECTED_KEY_3_RSA_PRV.c_str(), CKMC_KEY_RSA_PRIVATE); + check_key_allowed(XML_1_EXPECTED_KEY_3_RSA_PUB.c_str(), CKMC_KEY_RSA_PUBLIC); + + + ckmc_raw_buffer_s msg_buff = prepare_message_buffer("Raz ugryzla misia pszczola.."); + ckmc_hash_algo_e hash_algo = CKMC_HASH_SHA256; + ckmc_rsa_padding_algo_e pad_algo = CKMC_PKCS1_PADDING; + ckmc_raw_buffer_s *signature = NULL; + int temp; + RUNNER_ASSERT_MSG( + CKMC_ERROR_NONE == (temp = ckmc_create_signature( + XML_1_EXPECTED_KEY_3_RSA_PRV.c_str(), + NULL, + msg_buff, + hash_algo, + pad_algo, + &signature)), + CKMCReadableError(temp)); + + // invalid password + RUNNER_ASSERT_MSG( + CKMC_ERROR_NONE == (temp = ckmc_verify_signature( + XML_1_EXPECTED_KEY_3_RSA_PUB.c_str(), + NULL, + msg_buff, + *signature, + hash_algo, + pad_algo)), + CKMCReadableError(temp)); + + ckmc_buffer_free(signature); +} + +RUNNER_TEST(T6060_ENCRYPTED_ASCII_DATA, RemoveDataEnv<0>) +{ + // [prepare] + // to encrypt using RSA OAEP: openssl rsautl -encrypt -oaep -pubin -inkey pub.key -in input.txt -out cipher.out + // to decrypt RSA OAEP cipher: openssl rsautl -decrypt -oaep -in cipher.out -out plaintext -inkey priv.key + // remove database 0 + // copy to the initial-values folder + // restart the key-manager + // [test0] + // extract data + // check if data matches the expected size and content + + // [prepare] + copy_file(format_src_path(XML_DEVICE_KEY), format_dest_key_path(XML_DEVICE_KEY)); + copy_file(format_src_path(XML_1_okay), format_dest_path(XML_1_okay)); + restart_key_manager(); + + // [test0] + ckmc_raw_buffer_s *testData1; + int temp; + RUNNER_ASSERT_MSG( + CKMC_ERROR_NONE == (temp = ckmc_get_data(XML_1_EXPECTED_ASCII_DATA.c_str(), NULL, &testData1)), + CKMCReadableError(temp)); + size_t expected_len = 15; + RUNNER_ASSERT_MSG(expected_len /* src/ckm/keys/EIV/ascii_data */ == testData1->size, "invalid data size"); + RUNNER_ASSERT_MSG(memcmp(reinterpret_cast(testData1->data), "My secret data\n", expected_len) == 0, "invalid data contents"); + ckmc_buffer_free(testData1); +} + +RUNNER_TEST(T6070_ENCRYPTED_BIG_DATA, RemoveDataEnv<0>) +{ + // [prepare] + // to encrypt using RSA OAEP: openssl rsautl -encrypt -oaep -pubin -inkey pub.key -in input.txt -out cipher.out + // to decrypt RSA OAEP cipher: openssl rsautl -decrypt -oaep -in cipher.out -out plaintext -inkey priv.key + // remove database 0 + // copy to the initial-values folder + // restart the key-manager + // [test0] + // extract data + // check if data matches the expected size + + // [prepare] + copy_file(format_src_path(XML_DEVICE_KEY), format_dest_key_path(XML_DEVICE_KEY)); + copy_file(format_src_path(XML_1_okay), format_dest_path(XML_1_okay)); + restart_key_manager(); + + // [test0] + ckmc_raw_buffer_s *testData1; + int temp; + RUNNER_ASSERT_MSG( + CKMC_ERROR_NONE == (temp = ckmc_get_data(XML_1_EXPECTED_BIG_DATA.c_str(), NULL, &testData1)), + CKMCReadableError(temp)); + RUNNER_ASSERT_MSG(5918 /* src/ckm/keys/EIV/code.png */ == testData1->size, "invalid data size"); + ckmc_buffer_free(testData1); +} diff --git a/src/ckm/keys/EIV/ascii_data b/src/ckm/keys/EIV/ascii_data new file mode 100644 index 00000000..5061b47b --- /dev/null +++ b/src/ckm/keys/EIV/ascii_data @@ -0,0 +1 @@ +My secret data diff --git a/src/ckm/keys/EIV/ascii_data.encrypted b/src/ckm/keys/EIV/ascii_data.encrypted new file mode 100644 index 00000000..448b06dc --- /dev/null +++ b/src/ckm/keys/EIV/ascii_data.encrypted @@ -0,0 +1 @@ +ÎàCŽŸ)´[a­N½Q®\~ \ No newline at end of file diff --git a/src/ckm/keys/EIV/cert.der b/src/ckm/keys/EIV/cert.der new file mode 100644 index 0000000000000000000000000000000000000000..8ac37af9e8daf66f521956533b58d490932a052c GIT binary patch literal 831 zcmXqLVzxGDVp3*eWHjJqIRo2mZTc;8gPRIxp-I{oqb&m1q}E=Ty7rrkksOm%)E3%c>`IH2s4iuNJPQY zSHam)Avv|EBr`2D8EArmoH(zcsez%PnW349g`r85IIl5?3lsoz4U(zh3ONHAh$}?F zuE9pR;198zl`0UZK0|k z-&u|sSJ?7a{9Cfa(IUkC<8P_3VzO8S0xo_v+ ze+xfsmi9ijbT&_G{FV37SGM2Di;OV5IrWL(wiEYqi@6TlpU{^xOb>nZc}>27-*j71 z`I7%mDRuLb8KyI=dEmX)mgQkc*5-HYyIKD9@USu^rx$OMh@Um7@5;1EneEkkPyLHI z_~S*#g^4o%%cljJt~zM4<}v z@WMH%w-3z}_l4D#Wb!p$o!Qr4UH5o~NO(2VZ+%7fgIw46_@6A_n;YZJ|;KI#MtN3W%Ipq7q(=) z*|YGp@LEp!yT{voSU=vZIrb00HtcC;$Ke literal 0 HcmV?d00001 diff --git a/src/ckm/keys/EIV/cert.der.encrypted b/src/ckm/keys/EIV/cert.der.encrypted new file mode 100644 index 0000000000000000000000000000000000000000..ebf3c364c5de17140dcfddb1258107dbb4037aec GIT binary patch literal 832 zcmV-G1Hb&F_}K3S3q7Dn!1APn0&iAuN)%~c7Z+g3zHRg*7@*gKv0!&X8)9AfE6WwXy$TXX>;;^6R&e1$q;*8HJzf2 zD6mBquQSX@J^jmHAVif}{gSWi$~l^QTD2iO6)j8Y*c;h5N)T6abys%&hW!~_5s=Jj z2E-mx^U+~>*-K~jFJA~m`pPV#%CIng7b`Mczy~p`Mp}^l_=})#+g*3s zQLWRz@d!1_Eebup z(fh{VG90T-PW;MJ6=ueE?@TS5MVDIBM&BM0A3mJonKmy;Q0MGmoU3MQaGRcsT{Gi= z))@J(GN)k|7SZE7t&k~-{LBcw@cc`nAqyO_cExsK+I^GyJ{Qe1UceOk3+%$%Do4K9_tvi=>CKL!L{u8W%mL34J_Zs8Em&)UTE-S zqtIw9&XR|xoP?qw(05%**_s4^mo?=|&)$5rJt>J+3|1;xo1gx2knwb6u6kuLS#nNX z3z*5)WVpF3VlwhvGr7D*s&P{-yPhqL_eD#)&hxgtAYY~Q8i##0Y+&+< KZGE!AOT!+29+t@f literal 0 HcmV?d00001 diff --git a/src/ckm/keys/EIV/code.png b/src/ckm/keys/EIV/code.png new file mode 100644 index 0000000000000000000000000000000000000000..b062885a117beff179c37eba829a394a758beb85 GIT binary patch literal 5918 zcmV+(7vboMP)002t}1^@s6I8J)%00006VoOIv0RI60 z0RN!9r;`8x010qNS#tmY4#WTe4#WYKD-Ig~000McNliru-v=KI3KV?FS`YvL02y>e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{02YQxL_t(|+U=Zqe3jLi$G_)Y z?w);5NFX5uQ8q;o6|JJ;GOdnF$F-yFr`k@}&$QFp)@emsXR3@^J7UGHRa~$lZh(j) z6$A-;NFX7EY$PFElAGl2_ubC?aS?D_s%<({CeP<{KkvzV&imw?-+SKYd4A9H-YcY( zk`eh-qKrT=0@mLFSn@-S&z~H&I`S_7OFGzwfo)nJ=&+Ju)<5${036#+pA@j-=Bo+W z;>f^(M*jHoUosSmARQYiC5~kt>5q4@*}vu`-hFO4 zPF^(!S3Sx0+HOXlRLWZqJjlLnJJG}tb*nZrCNw z9!Jf&XEXa>zCupk2nAGr|fzCS&V`i zR92T`8bc_lfgXC>o7l2!Ek+8w86I$=)W7^1?VC2xyFZ0jG1>CUn+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j067a}C!20E7ff2!zL9=>Px#07*qoM6N<$f?|73 A&;S4c literal 0 HcmV?d00001 diff --git a/src/ckm/keys/EIV/code.png.encrypted b/src/ckm/keys/EIV/code.png.encrypted new file mode 100644 index 0000000000000000000000000000000000000000..f28f0b156de2aea54168281dfab34fb45538b82a GIT binary patch literal 5920 zcmV+*7vJc?;=e9oh&*?V17;$oqFUgsekl0_{F!+Y*U67F`Nx(o63;9zej1%?eR%cY?h!E=_f(nG-0;#>bTRdp3DJ#)<`@ zhubO@UF0*I9Np=`&$$f=D@QNaXgyzQJ=jNbL}4e+F0KXY66KGDJFS9p$XlP0AWlpK z4qnYF^LHHBzR_r|&dgFzDS~4TMOY!JDIj&!a`S6%VCyGc?0bq_U#4Uz1aFHtmAj06 zueei0O4RWqL|U`D6RqeC{GPRI?aE~J?7<;M#7awlbB47`A2G6tY<40DdU$@V;X`CF zf!Vy3xR1zjc4pDS6fCuR)vL8Ko$UeCS$4y+>7S1yU`o7!qh(Ey^LNAJ&tP(`8n^yA zXa5za7XcXdg?}HNZe(2xA|h&a{WN&F>Mb{0PBKIi*DzWR4z*MZzn;Z0X>?4YbGs4} zkWp7l;_Bba&%K^(8nvN~0NFcudwcoq=j1vXvKX<_YGRDe9etCE*KINNWi`e+S1#&07T?B53Pe z?@gOcPx0S0Bh_9|j=EHx}G{i0GP1(w5_Y)cGC*XF;ggTCRi z%^@59yyLQv$+@1Gp7T*rHlrD$b7#&rm?NKai+RJDrA9yIfAw{JUOFwP$0i|9qCfzbqGt_+W@;NiB?U|0@#lW65g3x-T1YIXnljq-{&g2q%3~^-+;}_1!SeVOy3j6gx@)Y|qlK z7vb1wXX7-xI$i2Ad>7xU_xPbrC5ZvVAj~vLsNEOwujf)G<;UHrZw_#%Cg$*D(v`6TSO{i-Vp7_?^zQk0PG2>5zZKFvl1*p)lOWi zhkT1SYHvbXa89Ym<%#2lx!*$do*cG2nCWPxP?**TDKJdexf=>6S8)3OgMEf{AF8BEQnu@bXFWB=9EoC~;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BoTPGFe9%Mlk`yT?U5ogqXiOOj7}boH>pLO04d*5a|^52!wgn0%bd zNw;Y~&L31R7C<8-_$Z7UKiyefyDkEc7e)QS>3Or5BzuJeVFI2MH~->&{+;6>Du_i; zhbO3M!A{iSUaQLMe&*k`pFuJzHE9taid6guCH>gscjUv#gh98JD!^(l024IwHYB+5 CoN-eC literal 0 HcmV?d00001 diff --git a/src/ckm/keys/EIV/device.priv b/src/ckm/keys/EIV/device.priv new file mode 100644 index 00000000..904e4707 --- /dev/null +++ b/src/ckm/keys/EIV/device.priv @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEowIBAAKCAQEA4Vx4MBKFGalaRh+BzSYnW8am8ajbnyD6AaweHcH+oAAQX7Ll +1/XrorzOkyQV3+eo4czRCklq6BXMI4Ppa+Hy+/X/pMBa4MHrjzH01gzzV0jyqEOr +S6/MGPsoWUgGl6FRhEnSX62JQoUpsURMbNLgjBkbrmKEMHMk6jT5NUtKhpBXo0/g +OgW48PuADuSjRmKWQssfR/KMsv3SRy9iGFOG1tFxGbeQkmBBxXVIr7u/z9WDG32R +DiG8Mda8dNXJGaBcltUY9HvMogmgCPMrBspFy7ek0x0Lll3t1P7FMgF1V21PFhcl +yX0L0XbBthpYojjglCYT5MnFfhKnI9zbMLlcSQIDAQABAoIBAGnH57pY1xUGgxMr +MthCsnLHuhDwu7Xj2rXyPmilaIldvlHNPUmzaxmGGkjCxWnF6WWjp/N2JrItmRaK +koRLGKzf+VEx4PZiz9j1EAFxLr+nxA7rRHpQWDLZoUTXJBEEbaj0pcS3RhhtPPay +IlVqXnAkUPP31iiPw6ITn24+mwqx0I6AenMsh9vJHKl5y9Yu/aslYbwcxkSXinlO +HHcWopZlJKUQnqlwJ6Xk4e4hjwZn7OQN2jQWKT5oQHO9tEUARqF8waY9yVfUSpjM +mw+gvywAoP1cT7M3q7MsKRNlZsrrC5zYWJ0ev4TIEa+zooqQymZoYeCd8s/77gsv +l7nz/CECgYEA846Xp3wWci8auSUv4SrqcjFZHz3YTqnPZzEf/U4nfFhhwzDHgOHD +u/M4gmEIcvxukhGO66/fqNnDJKQeu5XzgOKKO8/YCkjdIvULKNIOijmucx6oKn+K +4AIIzTYaI9Ft8+nOpfQV78+xnLGxiUamp8iRJgXei0RcISrEuw7+LQUCgYEA7N/m +Xgb1wkkrFp2fefTD6/5hGWizx3yO+jd+LXBRrPJQOvcf3Wh8jrEpWkeuUF8JYBZP +IOqc+TmbETuRUiokoYCihJKT0VkCqKz8qjUq7IwYf5Cx0gfEVUk3iyt3yTlJe9RJ +hOXV61PPtaebzg7MYmDfAkSU0ScqXV6Gd5Dl9XUCgYBprXE4Bqtml/Gsa+o+dPSM +38SfvaHhX+TSDYqnygVv+plQrBWkYlEfeAUI7TlRSx5e2qd8tC8DgJkfiOac1g91 +2NXJ5gEDVWI+DLzu1VXhu+1pnd+xsO19DOTsxZDKAdEHiGdVsnbiOugB6UfzHGir +XGc+bEWHf/3JllkOIQ9AUQKBgCnL6C43NC4wEvZOodE3K0r8+80r+Gz+wYvNNup1 +ozPNHfMJoAnFYhUblZxkgZGU82aNCTFZtJEVZRNJW38QCJ6mwAZ8hrCt8BYrT/oI +n6ZVog0ATyAsVqxl2vMnnF9ZSGodL0vP8ksv4rq+9HMLkWzagv83crrlGkiXYUq/ +upPxAoGBAMrq/dAyhHKaM84C68JDZNuzPt/flAEgIf/iCYwHDKlWu0W2PmN9ZFbG +RkeC5ljD1V2QodLF6BZ+LWbK7aY9OGQR37tdm5whxZo+CqmQZ5Bybnlkfvo3cEPI +tW38eiYAnPQ3zy8WJ6if3Q+y+vaiM15C/MMVKyXAGcyop1qFVYAT +-----END RSA PRIVATE KEY----- diff --git a/src/ckm/keys/EIV/device.pub b/src/ckm/keys/EIV/device.pub new file mode 100644 index 00000000..4a26780f --- /dev/null +++ b/src/ckm/keys/EIV/device.pub @@ -0,0 +1,9 @@ +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4Vx4MBKFGalaRh+BzSYn +W8am8ajbnyD6AaweHcH+oAAQX7Ll1/XrorzOkyQV3+eo4czRCklq6BXMI4Ppa+Hy ++/X/pMBa4MHrjzH01gzzV0jyqEOrS6/MGPsoWUgGl6FRhEnSX62JQoUpsURMbNLg +jBkbrmKEMHMk6jT5NUtKhpBXo0/gOgW48PuADuSjRmKWQssfR/KMsv3SRy9iGFOG +1tFxGbeQkmBBxXVIr7u/z9WDG32RDiG8Mda8dNXJGaBcltUY9HvMogmgCPMrBspF +y7ek0x0Lll3t1P7FMgF1V21PFhclyX0L0XbBthpYojjglCYT5MnFfhKnI9zbMLlc +SQIDAQAB +-----END PUBLIC KEY----- diff --git a/src/ckm/keys/EIV/encryption_AES_IV b/src/ckm/keys/EIV/encryption_AES_IV new file mode 100644 index 00000000..f242b606 --- /dev/null +++ b/src/ckm/keys/EIV/encryption_AES_IV @@ -0,0 +1 @@ +_ThisIsIVForAES_ \ No newline at end of file diff --git a/src/ckm/keys/EIV/encryption_AES_IV_cert b/src/ckm/keys/EIV/encryption_AES_IV_cert new file mode 100644 index 00000000..2af2a62e --- /dev/null +++ b/src/ckm/keys/EIV/encryption_AES_IV_cert @@ -0,0 +1 @@ +IVdiffersFrItems \ No newline at end of file diff --git a/src/ckm/keys/EIV/encryption_AES_IV_data_ASCII b/src/ckm/keys/EIV/encryption_AES_IV_data_ASCII new file mode 100644 index 00000000..d9e5d75d --- /dev/null +++ b/src/ckm/keys/EIV/encryption_AES_IV_data_ASCII @@ -0,0 +1 @@ +__another_IV_2__ \ No newline at end of file diff --git a/src/ckm/keys/EIV/encryption_AES_IV_data_PNG b/src/ckm/keys/EIV/encryption_AES_IV_data_PNG new file mode 100644 index 00000000..289160fc --- /dev/null +++ b/src/ckm/keys/EIV/encryption_AES_IV_data_PNG @@ -0,0 +1 @@ +PNGIVPNGIVPNGIVP \ No newline at end of file diff --git a/src/ckm/keys/EIV/encryption_AES_key b/src/ckm/keys/EIV/encryption_AES_key new file mode 100644 index 00000000..5348cbcd --- /dev/null +++ b/src/ckm/keys/EIV/encryption_AES_key @@ -0,0 +1 @@ +ABCDEFGHIJKLMNOPRSTUVWXYZ0123456 \ No newline at end of file diff --git a/src/ckm/keys/EIV/encryption_AES_key.encrypted b/src/ckm/keys/EIV/encryption_AES_key.encrypted new file mode 100644 index 0000000000000000000000000000000000000000..0f5c30bd04b0b2ea45c6aff823b5de23b1e01511 GIT binary patch literal 256 zcmV+b0ssEPr;&src{hmtBjseS!rW@m+#%6smA9L`XN1`uY;(DHt{PlpD(A+D=_(aL zPy5eYm^~8H23O0%Y}e%zQN%h*Hd7e^a~Rs`_H)M_{cM7^74GD%X!4d3ic?cTJ_jy) z1h`R2AJkjP1^+>a{8a1dL*)<9hH!fTMZr_Z8Z&7;xlw#M|=QNRwoQOpEP$>pzvU+?$Row z;L-m@%Wqc$@WX$R;_MXo+)t#$uB2~l%K;;ArobL?&dJd>tS=hP2QfeB;SA8)&i=g=VRzf8$(`EK!k zi@mO?&qjigYKLepq4`*?8iq;jSRf;^+6rcYzTE0`v`F&OI%du6jfnyS0RRC4fq?*& zLtjv?yxeteOe`w&1CctgF^71Dohors0wKE(G85XNK8|#8*^qOe_;B$lXikq(>|PA+ z_mn+61O=H#>H3vm%C=Fi~*KuAAOuQYVu=jGKHfm_|QyoKvH28IU)&J3zYma;lmA9i}S zmm9LrZJoRx@Q0Fy%qH+p#FIb1x^ uHtXIcJpm}kB{B9lp++1o0YE9We7=FBPxPTG+W3hY-~Cm?Rj`UR5{U14q$f83 literal 0 HcmV?d00001 diff --git a/src/ckm/keys/EIV/test.der.priv.enc b/src/ckm/keys/EIV/test.der.priv.enc new file mode 100644 index 0000000000000000000000000000000000000000..2b9df8f02f5ef71a32a128f28612c4111160ac63 GIT binary patch literal 624 zcmV-$0+0O#`ANvw4sdLVN~GR^Z?f#dS0h&|g29;F_{Dt6TbRc1CPiMx{AdvOU)v!$ zXSZ7ET6jW@mN+FZ{uyO8H|G7(`;g*Jjmtm1rFD4{AIwa5hWH9QBmCHSWSdjY%6kRS zY>b=raI}$d6mU5WqI1BxXWQ^75C88Az4byHoWn+Mi)do+hkA+w=!4NNfQbLKD{rO< zjT5iOZ)Q<2J1~KtDEiWZpX3LU)PG`zb@X@F?r_ycLlDNufbjk^JJ9I*E26vkhCNoV zm5?`e{yR*uw39!q&%L9}_k?ZvuR@LB9b~R2&eKx@93q9oy{uToPd_?-PEMk7@OFNT zYs5|xi2vS;LcwY(Q63m)r@u8x_!U4G+An~&LNQUc3Q2|#h0z;UX*FsB6+;_*xW}R{0`WyNu`1AndU6Y7 Q^3pnH&Fqbd0s{d60W+USE&u=k literal 0 HcmV?d00001 diff --git a/src/ckm/keys/EIV/test.priv b/src/ckm/keys/EIV/test.priv new file mode 100644 index 00000000..d778ab48 --- /dev/null +++ b/src/ckm/keys/EIV/test.priv @@ -0,0 +1,15 @@ +-----BEGIN RSA PRIVATE KEY----- +MIICXAIBAAKBgQDMP6sKttnQ58BAi27b8X+8KVQtJgpJhhCF0RtWaTVqAhVDG3y4 +x6IuAvXDtPSjLe/2E01fYGVxNComPJOmUOfUD06BCWPYH2+7jOfQIOy/TMlt+W7x +fou9rqnPRoKRaodoLqH5WK0ahkntWCAjstoKZoG+3Op0tEjy0jpmzeyNiQIDAQAB +AoGBAJRDX1CuvNx1bkwsKvQDkTqwMYd4hp0qcVICIbsPMhPaoT6OdHHZkHOf+HDx +KWhOj1LsXgzu95Q+Tp5k+LURI8ayu2RTsz/gYECgPNUsZ7gXl4co1bK+g5kiC+qr +sgSfkbYpp0OXefnl5x4KaJlZeSpn0UdDqx0kwI1x2E098i1VAkEA5thNY9YZNQdN +p6aopxOF5OmAjbLkq6wu255rDM5YgeepXXro/lmPociobtv8vPzbWKfoYZJL0Zj4 +Qzj7Qz7s0wJBAOKBbpeG9PuNP1nR1h8kvyuILW8F89JOcIOUeqwokq4eJVqXdFIj +ct8eSEFmyXNqXD7b9+Tcw6vRIZuddVhNcrMCQAlpaD5ZzE1NLu1W7ilhsmPS4Vrl +oE0fiAmMO/EZuKITP+R/zmAQZrrB45whe/x4krjan67auByjj/utpxDmz+ECQEg/ +UK80dN/n5dUYgVvdtLyF6zgGhgcGzgyqR5ayOlcfdnq25Htuoy1X02RJDOirfFDw +iNmPMTqUskuYpd1MltECQBwcy1cpnJWIXwCTQwg3enjkOVw80Tbr3iU9ASjHJTH2 +N6FGHC4BQCm1fL6Bo0/0oSra+Ika3/1Vw1WwijUSiO8= +-----END RSA PRIVATE KEY----- diff --git a/src/ckm/keys/EIV/test.pub b/src/ckm/keys/EIV/test.pub new file mode 100644 index 00000000..7bc39bea --- /dev/null +++ b/src/ckm/keys/EIV/test.pub @@ -0,0 +1,6 @@ +-----BEGIN PUBLIC KEY----- +MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMP6sKttnQ58BAi27b8X+8KVQt +JgpJhhCF0RtWaTVqAhVDG3y4x6IuAvXDtPSjLe/2E01fYGVxNComPJOmUOfUD06B +CWPYH2+7jOfQIOy/TMlt+W7xfou9rqnPRoKRaodoLqH5WK0ahkntWCAjstoKZoG+ +3Op0tEjy0jpmzeyNiQIDAQAB +-----END PUBLIC KEY----- -- 2.34.1