Lukasz Pawelczyk [Tue, 5 Jul 2016 13:58:07 +0000 (15:58 +0200)]
YACA: padding2str helper function
Change-Id: Icc5f8e4eb198ee11e76453ed751531bac09bbab8
Lukasz Pawelczyk [Tue, 5 Jul 2016 11:09:36 +0000 (13:09 +0200)]
YACA: add PBKDF2 vector tests
Change-Id: Ie4a7754c8ac4dc8c574ebc66a3e42eeef8a7236e
Lukasz Pawelczyk [Tue, 5 Jul 2016 11:39:05 +0000 (13:39 +0200)]
YACA: key_derive_pbkdf2 helper function
Change-Id: I1f5b40a0b2f59ad8a99567501e7d80196880945e
Lukasz Pawelczyk [Tue, 5 Jul 2016 11:09:18 +0000 (13:09 +0200)]
YACA: add PBKDF2 invalid param tests
Change-Id: I8feed6eacc53c5e24e0788621196af724cc18487
Lukasz Pawelczyk [Fri, 1 Jul 2016 17:18:14 +0000 (19:18 +0200)]
YACA: test for importing public key from an X509 certificate
Change-Id: I7294bedf71426a7faf9e38703e6768954e6e6c1d
Lukasz Pawelczyk [Thu, 30 Jun 2016 10:35:36 +0000 (12:35 +0200)]
YACA: key import/export vector tests
Also some additional invalid params tests that were originally missing.
Change-Id: I21cc16a8809ebfd2c29feaf8c3a1101655fd6723
Lukasz Pawelczyk [Mon, 4 Jul 2016 16:25:35 +0000 (18:25 +0200)]
YACA: tests updated for int->void change in de-allocators
Change-Id: Ie4eeae2788ebe69fd7b9f7366518b9f986592acd
Lukasz Pawelczyk [Thu, 30 Jun 2016 09:59:28 +0000 (11:59 +0200)]
YACA: key_format and key_file_format handlers for vector
Change-Id: I550ed4e91a155520fb2e62ee00d4e2efb2f1cf1d
Lukasz Pawelczyk [Wed, 29 Jun 2016 15:50:03 +0000 (17:50 +0200)]
YACA: add DATA_MISMATCH testing for verification vector tests
Change-Id: I75f89e874f9357f5415e2d863dde1ea0badf2e73
Lukasz Pawelczyk [Wed, 29 Jun 2016 12:45:26 +0000 (14:45 +0200)]
YACA: simple sign/verify/hmac/cmac vector tests
Change-Id: Ia8a3ca01f86dddf8ac32e62327019f839acfb171
Lukasz Pawelczyk [Wed, 29 Jun 2016 11:45:55 +0000 (13:45 +0200)]
YACA: invalid param tests for simple sign/verify/hmac/cmac
Change-Id: I56f80163daac1126a9031ea7258473b0c54073f8
Lukasz Pawelczyk [Wed, 29 Jun 2016 11:45:14 +0000 (13:45 +0200)]
YACA: simple_sign() helper function
Fixed some style while here
Change-Id: I51c9a399fa76e77e9dbd6aa6ade6138203eba2e0
Lukasz Pawelczyk [Wed, 29 Jun 2016 10:25:31 +0000 (12:25 +0200)]
YACA: HMAC and CMAC invalid param tests
Change-Id: Ie6f2ec887ec6cdf9165f63641a5c7839562d6f37
Lukasz Pawelczyk [Tue, 28 Jun 2016 16:20:32 +0000 (18:20 +0200)]
YACA: HMAC and CMAC vector tests
Change-Id: I0d72539de1792e056a16ff4f29d86ea785836672
Lukasz Pawelczyk [Tue, 28 Jun 2016 16:20:03 +0000 (18:20 +0200)]
YACA: Helper functions for CMAC tests
Change-Id: I2f149eb032fe118c6acc5e3be8463aec593843cc
Lukasz Pawelczyk [Tue, 28 Jun 2016 14:33:06 +0000 (16:33 +0200)]
YACA: Drop the digest context reuse testing
Change-Id: I541fbc84a033270d0b30d22870f886846467b4be
Lukasz Pawelczyk [Wed, 22 Jun 2016 11:51:15 +0000 (13:51 +0200)]
YACA: yaca sign/verify vector tests
Change-Id: Ib062a4f77e493604da5d894d4b856cba7cb47027
Lukasz Pawelczyk [Wed, 22 Jun 2016 14:25:26 +0000 (16:25 +0200)]
YACA: yaca sign vector tests
Change-Id: Ib4485dc497108a0f00c6c8dcf91fcbb09b843af0
Lukasz Pawelczyk [Wed, 22 Jun 2016 14:17:43 +0000 (16:17 +0200)]
YACA: keytype2str helper function
Make it more generic with ENUM_DESCRIBE
Change-Id: I27ecd5832c1fc2d43dd82bf4399262d9745947f9
Lukasz Pawelczyk [Wed, 22 Jun 2016 11:50:27 +0000 (13:50 +0200)]
YACA: add key_type handling in the test vector API
Change-Id: I2aa8b6de1ac9cd3d9d3a4e29620abd01ac434a90
Krzysztof Jackiewicz [Thu, 23 Jun 2016 08:14:41 +0000 (10:14 +0200)]
YACA: Use Buffer instead of vector<char>
Change-Id: Ibc3b3b63ba250176b5168fa665ea8bc8482a9864
Krzysztof Jackiewicz [Thu, 23 Jun 2016 08:08:01 +0000 (10:08 +0200)]
YACA: Use get_output_length() where possible
Change-Id: I484b8cad6ed57968c167e85a2ab03448e8b8cc30
Krzysztof Jackiewicz [Tue, 21 Jun 2016 13:55:34 +0000 (15:55 +0200)]
YACA: Tests for digest simple API
Change-Id: I83936cc9458dedc9c9c8626e441f5b0e18e94291
Krzysztof Jackiewicz [Mon, 20 Jun 2016 15:59:48 +0000 (17:59 +0200)]
YACA: Test digest context reuse
Change-Id: I563d7ca6d16169876fac8a2a636dfa58f2747238
Krzysztof Jackiewicz [Mon, 20 Jun 2016 15:44:27 +0000 (17:44 +0200)]
YACA: Binary input message digest tests
Change-Id: I588fe4fbe707e3b7477272eb9f629e55694660bd
Krzysztof Jackiewicz [Mon, 20 Jun 2016 14:28:54 +0000 (16:28 +0200)]
YACA: Digest ASCII test vectors
Change-Id: Id07a3b696f2295f39a42bf497f6aba050b0470ce
Krzysztof Jackiewicz [Thu, 23 Jun 2016 10:32:57 +0000 (12:32 +0200)]
YACA: Fix: replace BufPtr with ChrPtr
Change-Id: I009691d114910b6758a3f24132cdbc3245f7fa2d
Krzysztof Jackiewicz [Tue, 21 Jun 2016 10:30:18 +0000 (12:30 +0200)]
YACA: Crypto tests
Change-Id: I8974001c316fca85cb3ab4cc485c70d82e5bc859
Krzysztof Jackiewicz [Mon, 20 Jun 2016 10:50:44 +0000 (12:50 +0200)]
YACA: Test vector helpers
Change-Id: I09bb1c03a8ae960f1f788b9a8dca8c1331f5f07f
Lukasz Pawelczyk [Mon, 20 Jun 2016 13:26:11 +0000 (15:26 +0200)]
YACA: Key import/export invalid param tests
Change-Id: Ib633c376518d9a79376a0f7017d3f0cb929a9be1
Lukasz Pawelczyk [Mon, 20 Jun 2016 13:25:28 +0000 (15:25 +0200)]
YACA: Simple key import/export wrappers for auto types
Change-Id: I4364d24c5b10bc195803918aeec198e117cb2788
Krzysztof Jackiewicz [Tue, 21 Jun 2016 11:33:17 +0000 (13:33 +0200)]
YACA: Check openssl errors even if test passes
Change-Id: Ib1efae6d2edc3a37ed2813ae8774cd66b0522a2f
Lukasz Pawelczyk [Thu, 16 Jun 2016 12:30:08 +0000 (14:30 +0200)]
YACA: Base signature tests, without the actual sign/verify operations
Change-Id: Idfc60b0eb2496f829c2582bb5c8e3a4329498f0f
Lukasz Pawelczyk [Thu, 16 Jun 2016 12:29:53 +0000 (14:29 +0200)]
YACA: Test common functions for signature tests
Change-Id: I9bbae297e19eeb5852c8a7502a95082b244f2505
Krzysztof Jackiewicz [Wed, 15 Jun 2016 15:38:32 +0000 (17:38 +0200)]
YACA: Message digest negative tests
Change-Id: I15229a5b190f0729a44012b1a7eb3bbcd4af928c
Krzysztof Jackiewicz [Wed, 15 Jun 2016 15:34:03 +0000 (17:34 +0200)]
YACA: Add helpers for digest, hmac, random buffers
Change-Id: I61c4d545adbcf39c2ecdca588cc1feb29f6c0e99
Krzysztof Jackiewicz [Wed, 15 Jun 2016 15:43:40 +0000 (17:43 +0200)]
Merge remote-tracking branch 'tizen.org/tizen' into yaca
Change-Id: Id96c2fe8192977dc7b02bcfe3b830172bfa7fa41
Krzysztof Jackiewicz [Wed, 8 Jun 2016 12:25:45 +0000 (14:25 +0200)]
YACA: Stress tests for multiple threads
Tests concurrency issues and library/thread initialization/cleanup.
Run: yaca-test --group=T8000_YACA_STRESS
Change-Id: I30696dcb99ba5bf164e4d84c2bfbc7f80514ef13
Krzysztof Jackiewicz [Wed, 25 May 2016 10:50:30 +0000 (12:50 +0200)]
YACA: yaca_initialize/cleanup tests
Change-Id: I535c25150d236318515e699e5f3e2321692a3e4c
Krzysztof Jackiewicz [Tue, 24 May 2016 15:16:30 +0000 (17:16 +0200)]
YACA: Key generation and getter tests
Change-Id: I78d7aa7bbaef81fa49a9900d7b18026673079909
Krzysztof Jackiewicz [Mon, 13 Jun 2016 12:36:51 +0000 (14:36 +0200)]
Exclude main and std:: entries from gdb backtrace for clarity
Change-Id: I235d129f5aa7bc840fca262ffc1df42026f5968d
Krzysztof Jackiewicz [Mon, 13 Jun 2016 12:50:33 +0000 (14:50 +0200)]
YACA: Add wrappers for yaca API
- Key generation
- Public key extraction
- Context creation
- Buffer allocation
Change-Id: Ifdde9ff0820ceda7bee4fce85c576322c312fb12
Krzysztof Jackiewicz [Mon, 13 Jun 2016 12:49:38 +0000 (14:49 +0200)]
YACA: Add helper types/functions for pointer management
Change-Id: Iecdd6e8bfc36477a7c20c081a7788073fff66c60
Krzysztof Jackiewicz [Tue, 24 May 2016 15:03:12 +0000 (17:03 +0200)]
YACA: Add common helper functions and structs
Change-Id: I9133eca6ad3529db9e8c7e74fffd3f767b2da690
Lukasz Pawelczyk [Wed, 1 Jun 2016 16:12:46 +0000 (18:12 +0200)]
YACA: Add .gitignore with few common files (cmake, global, emacs)
Change-Id: Iefb12aee5be7afc1d6cd43d00ad1b3d9dfb218bf
Krzysztof Jackiewicz [Tue, 31 May 2016 10:44:06 +0000 (12:44 +0200)]
YACA: Update header names after ACR changes
Change-Id: I07ec269352a8505461a1465bcb25a8006d3ed2c4
Dariusz Michaluk [Tue, 26 Apr 2016 15:05:15 +0000 (17:05 +0200)]
Initial commmit for yaca tests.
Change-Id: If6d2de0b8a59589ed8c607b21a01bd6fd698a692
Dariusz Michaluk [Wed, 27 Apr 2016 10:58:51 +0000 (12:58 +0200)]
Build all tests by default, add possibility to separate build.
Change-Id: Ifde7293123c087172900f7c8699be5a8e6df06d6
Dariusz Michaluk [Tue, 26 Apr 2016 14:57:11 +0000 (16:57 +0200)]
Make dlog backend optional.
Change-Id: I59f52d7de4583bc945d33a0e109a3f4477d0a8b9
Dariusz Michaluk [Tue, 26 Apr 2016 15:34:42 +0000 (17:34 +0200)]
Remove unused API_VERSION from CMake.
Change-Id: I8c05d948cd83d05ee2e83740b91e0a440b97dfdd
Dariusz Michaluk [Tue, 26 Apr 2016 13:34:37 +0000 (15:34 +0200)]
Drop libiri dependency, library is not used anymore.
Change-Id: I8b50e8461fb5dd9a50e00ddd3fb4c2e540a8b8b2
Rafal Krypa [Tue, 19 Apr 2016 14:59:05 +0000 (16:59 +0200)]
Increase time limit for RUNNER_CHILD_TEST to 90 seconds
Current time limit of 10s for each RUNNER_CHILD_TEST is insufficient.
Several existing tests may take significantly longer time, but they
eventually succeed.
Change-Id: I3867ed3aee0449d95c0fa89b79aa3104f31f81a7
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Rafal Krypa [Tue, 19 Apr 2016 12:26:44 +0000 (14:26 +0200)]
TemporaryTestUser: encapsulate communication with gumd in separate process
Gumd interface libgum has nasty side effects on the calling process.
On the first call to gumd service it allocates persistent resources
in the calling thread that are not freed and are used for subsequent
calls to gumd. These resources include a new thread, socket connection
and two eventfds.
This doesn't play well with process that changes it's Smack label and
DAC credentials back and forth. It also breaks encapsulation between
test cases, leading to nasty "gumd timeout" issues.
This patch attempts to fix this issue by dedicated a separate process
for calling libgum functions. The TemporaryTestUser class will no longer
call libgum directly, but delegate the calls to the dedicated process.
Change-Id: Id111d5ef79d65135e3b378582a220f168f8a2284
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Rafal Krypa [Tue, 19 Apr 2016 12:03:02 +0000 (14:03 +0200)]
Drop usage of RUNNER_MULTIPROCESS_TEST*
Replace all uses of RUNNER_MULTIPROCESS_TEST* with RUNNER_CHILD_TEST* because of
several issues of multiprocess test functionality:
- it runs the test function in the main process, suffering from all the issues
that plagued RUNNER_TEST
- it doesn't handle waiting and error checking for child processes of higher
order
- it hangs when the main process has a pre-existing child process prior to
invocation of RUNNER_MULTIPROCESS_TEST*
Simpler RUNNER_CHILD_TEST* macros are sufficient replacement for the broken
ones. We never used additional features provided by RUNNER_MULTIPROCESS_TEST*.
Change-Id: I8583a5b8829343f14c03e8336015f5322122369d
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Rafal Krypa [Wed, 6 Apr 2016 14:14:28 +0000 (16:14 +0200)]
Remove invocation of api_feature_loader in %post
This binary was part of libprivilege-control, support for which was dropped
in the previous commit.
Change-Id: I492a597ee7e2aca46f143fb211cb9560ae8a21f5
Rafal Krypa [Mon, 4 Apr 2016 15:04:58 +0000 (17:04 +0200)]
Remove libprivilege-control tests
Libprivilege-control should be long gone on Tizen 3.0.
There is no point in keeping those tests here.
Change-Id: I9dc6f27952e41a632d607faed14cfe45849d1d40
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Zbigniew Jasinski [Mon, 21 Mar 2016 12:14:51 +0000 (13:14 +0100)]
Merge branch 'ckm' into tizen
Change-Id: I34396fcbad8b282e7d72ca6d596f4eb246d33840
Kyungwook Tak [Wed, 16 Mar 2016 01:40:34 +0000 (10:40 +0900)]
CKM::ErrorToString removed from key-manager
Change-Id: I74d50dfc88b3c2a7196872ca7c4393665e5ef323
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Bartlomiej Grzelewski [Mon, 15 Feb 2016 11:26:24 +0000 (12:26 +0100)]
CKM: Process identification test.
Change-Id: I829c31ff3601ffbbab7d3ae4a72e8128333fabe0
Bartlomiej Grzelewski [Mon, 15 Feb 2016 10:59:52 +0000 (11:59 +0100)]
Merge remote-tracking branch 'tizen/tizen' into ckm
Change-Id: Ieb9b5bd0f3c25ef9d37472cab42187d1b60b4f6d
Bartlomiej Grzelewski [Mon, 15 Feb 2016 10:58:08 +0000 (11:58 +0100)]
Merge branch 'security-manager' into tizen
Change-Id: Ia22cf2876e6e034c74e135814523f43740b79501
Rafal Krypa [Wed, 10 Feb 2016 12:31:13 +0000 (13:31 +0100)]
security-manager: add tests for security_manager_app_has_privilege
Change-Id: I77ba0e25c95d6dd6dcce3ade7d938884a8896f77
Rafal Krypa [Wed, 10 Feb 2016 12:30:20 +0000 (13:30 +0100)]
Add SM tests for getting pkg & app Id from sock or pid
Change-Id: Ic0afac87c087ad819806a8be89d41cbf018e5d16
Rafal Krypa [Thu, 4 Feb 2016 11:48:42 +0000 (12:48 +0100)]
Remove SM privilege mapping tests
Functionality removed from security-manager, now provided by privilege-checker
(which is out of our project scope).
Change-Id: Ica93ab99f2617c97f538e60965a5098d5614acdf
Rafal Krypa [Thu, 14 Jan 2016 14:56:39 +0000 (15:56 +0100)]
security-manager: fix privilege-to-gid mapping tests
Verification whether privileges are correctly mapped to grouops is based
on an assumption that the privileges used (camera, location) are not mapped
to any groups in the real configuration. But recently the camera privilege has
been mapped to a group "priv_camera" on the image.
To keep the test working, it now uses a different privilege instead ("nfc") that
doesn't have a group associated to it.
Change-Id: I3cb6ae7911abb5c7efab6558ffdb8043714fbce7
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Bartlomiej Grzelewski [Tue, 2 Feb 2016 15:08:30 +0000 (16:08 +0100)]
[SM] Turn off tests that does not work because of gumd timeout.
Change-Id: Ib5ea1935e370486c13f4f27d5d34adf12b444a30
Bartlomiej Grzelewski [Wed, 3 Feb 2016 11:05:07 +0000 (12:05 +0100)]
Merge remote-tracking branch 'tizen/tizen' into ckm
Change-Id: Idd9657344d2e3130e2f92557545f3884732ef3af
Bartlomiej Grzelewski [Tue, 2 Feb 2016 11:53:37 +0000 (12:53 +0100)]
[SM] Changes in InstallRequest API.
Replace "const char *" with std::string type.
Change-Id: I955f850ea1f09e310fbd0ae7775c84fe6f15c2e5
Zofia Abramowska [Fri, 29 Jan 2016 15:49:13 +0000 (16:49 +0100)]
[SM] Apply/drop sharing tests
Change-Id: I21e89b450726efef8041d128c4a2221e8dc7009e
Bartlomiej Grzelewski [Thu, 28 Jan 2016 18:57:12 +0000 (19:57 +0100)]
[SM] Tests for trusted dir.
Change-Id: I4c97747253b8395a41bd85c004104f66bffc852a
Krzysztof Jackiewicz [Fri, 15 Jan 2016 12:38:45 +0000 (13:38 +0100)]
Add security_manager_app_inst_req_set_author_id tests
[Verification] Run security-manager-tests --regexp=security_manager_27
Change-Id: Idd9705f8328cb352039821804dd961bf68a25b49
Maciej J. Karpiuk [Thu, 28 Jan 2016 09:06:54 +0000 (10:06 +0100)]
security-manager: added tests of 2.X shared folders backward compatibility
Change-Id: Ic83a9570a1bff97a80c4a3bfc4e38d73bee472f0
Bartlomiej Grzelewski [Wed, 27 Jan 2016 16:50:49 +0000 (17:50 +0100)]
Merge branch 'tizen' into security-manager
Change-Id: I1740cb2f5e0aa5de10952364e05b03a10c115b11
Bartlomiej Grzelewski [Wed, 27 Jan 2016 16:45:05 +0000 (17:45 +0100)]
Merge branch 'ckm' into tizen
Change-Id: Ia52221f3c05fa81a4d5b53bd183ca0174f49020e
Bartlomiej Grzelewski [Wed, 27 Jan 2016 15:37:08 +0000 (16:37 +0100)]
Remove key-manager-listener dependency.
key-manager-listener package is empty.
Its functionality is provided by key-manager package now.
Change-Id: Ib7ce4575ae507825b408c80eccfe6e1df8543465
Rafal Krypa [Thu, 14 Jan 2016 14:43:54 +0000 (15:43 +0100)]
Drop tests related to security-server
Security-server has been removed from Tizen 3.0 images.
Change-Id: I6cd8349abd94b2136726a357f515308cb482bce9
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Krzysztof Jackiewicz [Tue, 12 Jan 2016 12:24:40 +0000 (13:24 +0100)]
CKM: Read ckm data dir location from tzplatform_config
[Problem] Key-manager reads data dir location from tzplatform_config.
Security-tests have the path hardcoded.
[Solution] Make security-tests read data dir location from tzplatform_config as
well.
[Verification] Run ckm-tests
Change-Id: I3e5c6f98bc34c27664218972e6ee76139b0a12e7
Krzysztof Jackiewicz [Tue, 5 Jan 2016 12:28:00 +0000 (13:28 +0100)]
CKM: Fix T3203_CAPI_lock_database
[Problem] Test is failing because ordinary user attempts to lock its database.
[Solution] Test is modified so that it's executed as root.
[Verification] Run ckm-tests --group=T320_CAPI_EMPTY_DATABASE
Change-Id: I5dd9893792be4dbcc4e2161dbe48f99bafcbc7dc
Krzysztof Jackiewicz [Tue, 5 Jan 2016 12:21:16 +0000 (13:21 +0100)]
CKM: Revert "Add PASSWORD_PROTECTION_DISABLE feature"
This reverts commit
83ce88e2df836f7fe23260f635c6ef69d26c748b.
Change-Id: I59bca49f8c4cb67fabda6a455ff7533a507abb6e
Bartlomiej Grzelewski [Tue, 22 Dec 2015 17:36:06 +0000 (18:36 +0100)]
CKM: Unblock ocsp test.
Change-Id: Icad1ae774a6413c72b0eb71fc6c76cddd898f464
Bartlomiej Grzelewski [Tue, 22 Dec 2015 15:30:19 +0000 (16:30 +0100)]
CKM: Remove ccMode related code.
Support for MDPP state was removed from key-manager code.
Also the change of ccMode is no longer suppoted in key-manager.
Change-Id: Ic06bc7294aeeb1a0d795154cb636d3977d8d330d
Bartlomiej Grzelewski [Mon, 30 Nov 2015 16:24:31 +0000 (17:24 +0100)]
Revert "CKM: Turn off all broken tests."
This reverts commit
86ba2aa7c6e01dd9193e08d01ba1c2f8bfc2d459.
Change-Id: Icd0af8e29d8eece9c1884d92cf34f61d5d37e569
Bartlomiej Grzelewski [Thu, 17 Dec 2015 10:52:44 +0000 (11:52 +0100)]
CKM: Remove GarbageCollector
Change-Id: I75e1a61f9e705c261000426c07b41fd5c466da30
Bartlomiej Grzelewski [Tue, 8 Dec 2015 16:00:36 +0000 (17:00 +0100)]
CKM: Replace deprecated certificate with new one.
Change-Id: If400a0f46b763d30703718b0635dfc33eb496285
Bartlomiej Grzelewski [Tue, 8 Dec 2015 11:13:42 +0000 (12:13 +0100)]
CKM: Comment out deprecated integration tests.
Change-Id: I3679ce2f8fb62731d973adabb2308f2bfdf05af5
Zbigniew Jasinski [Mon, 30 Nov 2015 11:57:48 +0000 (12:57 +0100)]
Merge branch 'tizen' into ckm
Change-Id: I420a571f81f4abdec743722b0ebac6c128b399d6
Bartlomiej Grzelewski [Fri, 27 Nov 2015 11:41:49 +0000 (12:41 +0100)]
CKM: Turn off all broken tests.
Change-Id: I21d32cae8a6681955efdd336c93a8345b1b7c754
Maciej J. Karpiuk [Mon, 29 Jun 2015 10:23:02 +0000 (12:23 +0200)]
CKM: test for encrypted initial values
Change-Id: Ic395d86caff2649d2a4adb801007dc68d1cc502f
Krzysztof Jackiewicz [Mon, 9 Nov 2015 08:40:49 +0000 (09:40 +0100)]
CKM: Get rid of GrabageCollector in initial values test
[Problem] GarbageCollector launched for System user will revoke all "System"
rules.
[Solution] GarbageCollector replaced by Env class for test.
[Verification] Run ckm-tests --group=T60_INITIAL_VALUES. There should be no
smack denials in logs.
Change-Id: Ie2c3090286bfc412201b6b46cf4e7cb1596d1c2b
Dongsun Lee [Fri, 20 Nov 2015 11:24:20 +0000 (20:24 +0900)]
Add PASSWORD_PROTECTION_DISABLE feature
Change-Id: I29215c373931c552c14cfa73ac1a8514a8bd1e62
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
Krzysztof Jackiewicz [Tue, 27 Oct 2015 09:40:27 +0000 (10:40 +0100)]
CKM: Google certificate updated
[Problem] *.google.com certificate have expired.
[Solution] Certificate updated.
[Verification] Run ckm-tests --group=T307_CKMC_CAPI_CERTIFICATE_CHAINS
Change-Id: I70820a2f62b15e333ae497673ab75f3d53e1e8f0
Zbigniew Jasinski [Tue, 27 Oct 2015 09:58:36 +0000 (10:58 +0100)]
Merge branch 'tizen' into security-manager
Change-Id: I9e66326308285f10f2146825918cc37ddcf859f0
Zbigniew Jasinski [Mon, 26 Oct 2015 14:00:36 +0000 (15:00 +0100)]
Merge branch 'tizen' into ckm
Change-Id: Ie5475e1937fa3035a2c4ba4412583bd0b7badf77
Zbigniew Jasinski [Mon, 26 Oct 2015 14:00:07 +0000 (15:00 +0100)]
Merge branch 'ckm' into tizen
Change-Id: Ic602f0abdd1aae730aeb668cebc50d3bca09616c
Kyungwook Tak [Mon, 5 Oct 2015 07:14:40 +0000 (16:14 +0900)]
[CKM] (ACR-429) Remove removed API related TC
- ckmc_get_cert_chain_trustedcert_with_alias
Change-Id: I6abe05e1fe729391d0d307d298d2aa158f6d78ff
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Kyungwook Tak [Wed, 14 Oct 2015 08:04:18 +0000 (17:04 +0900)]
Replace ckmc_label_shared_owner
Change-Id: I792190f989ff4f42823e34bdeb07b9d34b0c2738
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Kyungwook Tak [Mon, 5 Oct 2015 06:11:47 +0000 (15:11 +0900)]
ckmc API changed (ACR-392)
* ckmc_param_list_s* -> ckmc_param_list_h
* ckmc_generate_params's parameter changed
- ckmc_param_list_s *params -> ckmc_param_list_h *pparams
* ckmc_param_list_add_XXX -> ckmc_param_list_set_XXX
Change-Id: Ia3b0831772e76cfdbe77c6d9a9d04961018a37e3
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Oskar Świtalski [Thu, 1 Oct 2015 06:44:58 +0000 (08:44 +0200)]
Merge branch 'cynara' into tizen
Change-Id: I115ec35a71d6f2a08f2dc08bbc6b63e0b0156e50
Bartlomiej Grzelewski [Thu, 17 Sep 2015 15:00:43 +0000 (17:00 +0200)]
CKM: Add support for new error code: CKMC_ERROR_NOT_SUPPORTED.
Change-Id: I2eb31975f03f8b3d63107c9e0da6804ea248c5f1
Bartlomiej Grzelewski [Fri, 11 Sep 2015 12:45:43 +0000 (14:45 +0200)]
CKMI: Add ckm-integration tests.
Change-Id: I6a253a2a763e49d61c4b758b87ac240f06536bff