Piotr Sawicki [Mon, 27 Mar 2017 13:00:45 +0000 (15:00 +0200)]
Add install type field to ScopedInstaller
ScopedInstaller should use the same install type during installation and
removal of an application.
Change-Id: I50f73c50651dccb31427a6eb98a30a5b09d546f5
Krzysztof Jackiewicz [Wed, 11 Jan 2017 13:57:47 +0000 (14:57 +0100)]
Prevent exceptions in ScopedInstaller destructor
Change-Id: Ibc52d27f0c0dd0cdb30233481a70e336b5302a73
Krzysztof Jackiewicz [Sat, 18 Mar 2017 07:57:24 +0000 (08:57 +0100)]
Merge branch 'tizen' into security-manager
Change-Id: I12966cd0f6a6d0a38ddd73400918989e470c9e72
Krzysztof Jackiewicz [Thu, 12 Jan 2017 11:16:26 +0000 (12:16 +0100)]
Add support for throwing RAII destructors
When a test finishes or fails the stack is unwinded some of such objects'
destructors still perform actions that may report an error/throw an exception.
If we just surround these actions with try/catch block we'll lose information
about errors in these destructors. If we let destructors throw it may lead to
program termination (unhandled exception during stack unwind caused by another
exception).
To prevent program termination and still get the information about errors in
destructors surround the throwing code in your RAII object destructor with
SafeCleanup::run.
Tests for cleanup exception handling are added and can be executed with:
cleanup_test.sh
Change-Id: Id4e257aadea9b18fe890c89d8f182082a7f191a3
Rafal Krypa [Mon, 13 Mar 2017 15:42:35 +0000 (16:42 +0100)]
Adjust test security_manager_09_app_install_constraint_check
Adapt to new change in security-manager that allows platform version
for an app to be changed during app upgrade.
Change-Id: I1f7dfa4602c1561e76ced32870a2c0ea7f20d090
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Dariusz Michaluk [Fri, 20 Jan 2017 11:37:00 +0000 (12:37 +0100)]
Fix 19b_privacy_manager_privacy_related_privileges_policy_no_hybrid
Change-Id: I5626fe383db3b8b03c8e9d1446d425f32d895d9e
Dariusz Michaluk [Fri, 20 Jan 2017 10:23:15 +0000 (11:23 +0100)]
Revert "SM : disabled ask-user policy tests"
This reverts commit
6b76ab97e7e6bd8ba9d1f8fb2fc34f2a667fe0ff.
Change-Id: Ib211ab51d9c03affd0f939330cfad12f7d21ed55
Dariusz Michaluk [Thu, 19 Jan 2017 14:45:02 +0000 (15:45 +0100)]
Adjust test 25g_local_user_set_install_type_local
Change privacy privilege type to normal.
Change-Id: I266e99e7f8c0fc835f080a426abf6e680ac56f03
Krzysztof Jackiewicz [Wed, 11 Jan 2017 14:11:50 +0000 (15:11 +0100)]
Adjust test 01c_app_uninstall_wrong_pkg_id
Pkg id is no longer ignored during app uninstallation. Test updated.
Change-Id: I120a98219dcfe099047a6e36acc7b3aecf92f1ca
Lukasz Pawelczyk [Tue, 27 Dec 2016 12:01:29 +0000 (21:01 +0900)]
SM: TestSecurityManagerDatabase class removed
- most checks implemented using security_manager_get_app_pkgid()
- checks whether package has been removed after app uninstall removed
- privileges test in security_manager_02_app_install_uninstall_full
implemented using policy privileges (no need to inject priv:group)
- get_author_id() function has no counterpart currently
- some changes in the PolicyConfiguration class to add functionality
required by the tests now
Change-Id: I6c5d4b308ad43bac71794b3a082c75ee76dbee13
Rafal Krypa [Mon, 2 Jan 2017 13:03:37 +0000 (14:03 +0100)]
Fix thread credential synchronization tests
Tests in SECURITY_MANAGER_PREPARE_APP group consisted of 3 dependant
test cases: prepare, actual test and cleanup.
Now they are merged into single test case that doesn't depend on any
preparations done by other test cases.
Change-Id: I734a7c992b4edb32e7db2f7581c501daed3c4929
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Krzysztof Jackiewicz [Mon, 5 Sep 2016 11:55:22 +0000 (13:55 +0200)]
Thread credential synchronization tests
Change-Id: I0ccaf029e0ddf75bdd12355bfc440e660b89ff37
Krzysztof Jackiewicz [Tue, 13 Dec 2016 10:10:05 +0000 (11:10 +0100)]
Remove proper install directory in ~AppInstalHelper
Until now the destructor of AppInstallHelper was trying to remove m_installDir
which is a directory above actual application installation dir. Removal didn't
succeed if directory was not empty.
Change-Id: I51e5b41eb911d67b7d0c11f5ab3f74d60b759ca0
Zofia Abramowska [Fri, 4 Nov 2016 16:11:41 +0000 (17:11 +0100)]
SM : Cleanup - trusted sharing test cases
Change-Id: I3114a2e711b2d73d5fcc34a8a86a690098388b00
Zofia Abramowska [Thu, 27 Oct 2016 12:39:02 +0000 (14:39 +0200)]
SM : Cleanup - private sharing test cases
* Rename getSharedPath and createSharedFile in AppInstallHelper
to getPrivateFile and createPrivateFile (path is installed as simple
private RW path)
* Move runAccessTest to SM test commons
* Add runAccessTest for non applications
* Change smack access checks to access checks done in proper context
Change-Id: I11a96be86ce323e21709e9d59de0042e2966d899
Zofia Abramowska [Fri, 21 Oct 2016 15:06:39 +0000 (17:06 +0200)]
SM : Cleanup - public sharing test cases
* Add private and sharedRO dir creation with number to
AppInstallHelper
* Remove getAIH from ScopedInstaller
* Fix getInstallType constness
Change-Id: Ia1ed3ff34d3d5768428adc9a52a046025cff0ae4
Bartlomiej Grzelewski [Wed, 12 Oct 2016 16:53:55 +0000 (18:53 +0200)]
SM: Shm prefrormance test
Change-Id: I79a6a1e2873beae44d8b8d0331d9fa791d69f53a
Bartlomiej Grzelewski [Wed, 7 Sep 2016 11:36:42 +0000 (13:36 +0200)]
SM: Test of security_manager_shm_open wrapper.
Change-Id: Idf0320067d8815438cb019df4d5caacd04fe2843
Zofia Abramowska [Fri, 21 Oct 2016 15:09:51 +0000 (17:09 +0200)]
SM : AppInstallHelper create install dir automatically
AppInstallHelper creates install dir when creation
of any other type of file/path is requested, so this
doesn't have to be done manually.
Change-Id: I0b9e80b737296c3a7e9d9bbfcdfc05ed4fd8b000
Zofia Abramowska [Fri, 21 Oct 2016 14:42:52 +0000 (16:42 +0200)]
SM : Cleanup common functions
Remove unused variables and functions.
Change-Id: I64e69b261817a575e6e5fa79df22a2e000da0611
Zofia Abramowska [Fri, 21 Oct 2016 14:42:52 +0000 (16:42 +0200)]
SM : Cleanup - privacy manager test cases
Added required by new version of test cases:
* Move constructor of AppInstallHelper
* Move constructor of ScopedInstaller
* Move constructor of TemporaryTestUser
* Remove passing isHybrid to AppInstallHelper constructor
Change-Id: If5da564bc799f74d897e66eb3e313e13e43a8563
Zofia Abramowska [Wed, 12 Oct 2016 16:46:58 +0000 (18:46 +0200)]
SM : Cleanup - dyntransition test cases
Change-Id: I65d4c5502ca4e0f5352d11984b1b45b513254bdf
Zofia Abramowska [Wed, 12 Oct 2016 10:42:08 +0000 (12:42 +0200)]
SM : Cleanup - register paths test cases
Change-Id: I2c23203f58fc8623ada7cee240a79617e555713f
Zofia Abramowska [Wed, 12 Oct 2016 14:05:20 +0000 (16:05 +0200)]
SM : Add generatePathTrustedLabel
Change-Id: Iaa07ba291d6962d82ec89ea9c9797bc443de0fab
Zofia Abramowska [Fri, 14 Oct 2016 13:09:22 +0000 (15:09 +0200)]
SM : Fix ScopedInstaller - use request uid in destructor
Change-Id: Ifa6a21d8db5390c2fa64f6d3c4b6b81098d5c767
Zofia Abramowska [Thu, 13 Oct 2016 17:56:13 +0000 (19:56 +0200)]
SM : AppInstallHelper, ScopedInstaller, TempTestuser fork safe
* Adjust simple test cases
Change-Id: Icc9fe4d34a32ac4c7399bdc062d42aa0f9662b52
Zofia Abramowska [Wed, 12 Oct 2016 12:47:22 +0000 (14:47 +0200)]
SM : Don't add version by default in app install
Change-Id: Id460dbb9b5216ba4472a498c7ea5317084b06bc2
Zofia Abramowska [Tue, 4 Oct 2016 15:13:02 +0000 (17:13 +0200)]
SM : Cleanup - simple test cases
Change-Id: Ia96f74c14eb772c34ec084f58fbe9f7845fc7576
Zbigniew Jasinski [Wed, 9 Nov 2016 13:45:57 +0000 (14:45 +0100)]
Merge branch 'tizen' into security-manager
Change-Id: I23e008f66b45d24fe594edcd18c5ca4b077791a4
Signed-off-by: Zbigniew Jasinski <z.jasinski@samsung.com>
Tomasz Swierczek [Thu, 20 Oct 2016 08:37:26 +0000 (10:37 +0200)]
SM : disabled ask-user policy tests
The #define in CMakeLists.txt needs to be commented just like it is
in Security-Manager module.
Change-Id: Ib1cf5347144334ec5ae953e0669c3fa4310960d7
Tomasz Swierczek [Mon, 17 Oct 2016 08:12:03 +0000 (10:12 +0200)]
SM : added ASKUSER policy test cases to privacy_manager test suite
Change-Id: I8a2c2e430c25e52880847ca3351042754f4871e8
Tomasz Swierczek [Mon, 17 Oct 2016 08:10:48 +0000 (10:10 +0200)]
SM : extended installation helpers to support hybrid flag
ScopedInstaller class and AppInstallHelper class needed relevant support to fully
configure temporary application installation. Cynara admin class extended with
support to retrieve policy types from descriptions.
Change-Id: Ic0808cd911f97151338d515f37b8995abba561c6
Zofia Abramowska [Mon, 10 Oct 2016 14:34:56 +0000 (16:34 +0200)]
SM : PolicyConfiguration add getGroup
Change-Id: I714720fa263a13325b09f3e4b98678c6d061e1df
Zofia Abramowska [Mon, 10 Oct 2016 14:09:07 +0000 (16:09 +0200)]
SM : Add MessagePipe
Change-Id: I720056bc27c837914ed56ee36bca1512093ac4a9
Zofia Abramowska [Mon, 10 Oct 2016 10:58:04 +0000 (12:58 +0200)]
SM : Enhance ScopedInstaller
* Add requestUid parameter to test without explicitly
given uid
* Add guard for uninstalling
Change-Id: I8b5fee86094cd4ad062643a8441f114809be2584
Zofia Abramowska [Mon, 10 Oct 2016 10:57:32 +0000 (12:57 +0200)]
SM : Set offline default value for TemporaryTestUser constructor
Change-Id: Ib79c90baa50b11b012c9811ef306aabb70576e85
Zofia Abramowska [Thu, 6 Oct 2016 13:01:33 +0000 (15:01 +0200)]
SM : Add generating label for shared RO paths
Change-Id: I03596143f11e733e7c7bfca9b167ccc475e2c426
Zofia Abramowska [Thu, 6 Oct 2016 12:12:45 +0000 (14:12 +0200)]
SM : Add transmute and exec params to check_path
Change-Id: Ie779b3e36bc815cd2c2dc46b0c9cd0ab50be9428
Zofia Abramowska [Mon, 10 Oct 2016 11:05:22 +0000 (13:05 +0200)]
SM : Normalize TemporaryTestUser getUidString method
Change-Id: I0a2640fa40f34070de92dfaeed5223c89bcd8d49
Zofia Abramowska [Wed, 21 Sep 2016 14:31:51 +0000 (16:31 +0200)]
SM : Use std::string instead of const char *
Change-Id: I11fb526667e03192331d93d4352f9383e025987c
Zofia Abramowska [Tue, 20 Sep 2016 17:36:27 +0000 (19:36 +0200)]
SM : Propagate isHybrid flag in checks
Change-Id: I1bd8a40abcd0bc19821827e170c1fd3c7d2d89a4
Zofia Abramowska [Tue, 20 Sep 2016 17:36:17 +0000 (19:36 +0200)]
SM : Enhance AppInstallHelper
* Split into header and source file
* Fix constructors
* Change default uid
* Add creating public dir
* Add privileges
* Add install type
* Add author
Change-Id: I1797c64c6cacd9ba4b52169b03b338d388e2a004
Mateusz Forc [Wed, 12 Oct 2016 07:39:15 +0000 (09:39 +0200)]
SM : Adjust tests for unification of smack accesses to application
Change-Id: I0d758dc49badb6a7ce47245beabc80f5604baff9
Zofia Abramowska [Thu, 15 Sep 2016 13:43:09 +0000 (15:43 +0200)]
SM: Adjust creds tests to nonhybrid apps
Change-Id: Ib91793dc8dc7a1cc5659f8e38182929b45e465be
Zofia Abramowska [Thu, 15 Sep 2016 13:14:15 +0000 (15:14 +0200)]
SM: Adjust trusted sharing tests to nonhybrid apps
Change-Id: If39ea63f87150a49285e4b4f5b044f193e72eeab
Zofia Abramowska [Thu, 8 Sep 2016 17:57:46 +0000 (19:57 +0200)]
SM: Change process label generation
Change-Id: I36365303a07ef94e0a62a16fa0adf6824ca6c8c5
Zofia Abramowska [Fri, 16 Sep 2016 10:11:10 +0000 (12:11 +0200)]
SM: Add identify app from cynara client tests
Change-Id: Ia1a167d3efdf851dea9de317dd428f50c68e46b7
Mateusz Forc [Mon, 19 Sep 2016 10:58:17 +0000 (12:58 +0200)]
SM : Adjust tests for new shared RO support
SharedRO accesses now are applied to all applications,
not only tizen 2.X ones
Change-Id: Ibe65bab965476c70865011bcb7648561a6688a2e
Mateusz Forc [Mon, 19 Sep 2016 10:57:26 +0000 (12:57 +0200)]
SM : Add ScopedInstaller and ScopedPathRemover classes
Classes enable proper app installation per test
and sharedRO path cleanup for multiple apps in one package
Change-Id: Ib33d2e6e45b78a3841e88e8d7046231e6b2ba93c
Mateusz Forc [Mon, 19 Sep 2016 10:56:54 +0000 (12:56 +0200)]
SM : Modify AppInstallHelper class
* Add local installation
* Change vector of dirs to map (path,pathType)
* Add support of user UID,GID
* Fix sharedRO path cleanup
Change-Id: I4d34162fa237d4037a21a3b999e56977961f9a16
Bartlomiej Grzelewski [Fri, 2 Sep 2016 13:17:44 +0000 (15:17 +0200)]
SM: Add tests for NSS plugin
Change-Id: I7e3e387869efdb2cad1c868aa3ab4c12dc09c815
Rafal Krypa [Tue, 20 Sep 2016 09:11:58 +0000 (11:11 +0200)]
Use gum-utils instead of shadow-utils for making security_test_user
Using plain useradd or userdel in %post scripts causes wrong label on
/etc/passwd and /etc/group files. The reason for that is that the user
manipulation tools from shadow-utils bakcup the old file in /etc/ and
create a new edited one instead of modifying it in-place.
This results in files in /etc created with Smack label of the process
that added or removed the user.
Change-Id: Id523dcd25d1434dbe2847db915d5b4f630b3861a
Zbigniew Jasinski [Fri, 16 Sep 2016 12:13:07 +0000 (14:13 +0200)]
Merge branch 'tizen' into security-manager
Signed-off-by: Zbigniew Jasinski <z.jasinski@samsung.com>
Conflicts:
src/common/tests_common.cpp
src/common/tests_common.h
Change-Id: Ic2301d3414aad2be4488eb04c59e217e184037ca
Zofia Abramowska [Fri, 16 Sep 2016 11:42:51 +0000 (13:42 +0200)]
Merge branch 'cynara' into tizen
Change-Id: I07b0796b3e8c215cdf7f565fbdf9296467646b8b
Zofia Abramowska [Fri, 16 Sep 2016 10:16:43 +0000 (12:16 +0200)]
Cynara: Move Cynara helper credentials to global commons
Change-Id: If60a51afb801e75f300250f2e1244ad7f05b5098
Zbigniew Jasinski [Fri, 16 Sep 2016 10:06:16 +0000 (12:06 +0200)]
Merge branch 'yaca' into tizen
Change-Id: Ie586cacd427d87daa0f0e972f86c9071a4ccf860
Signed-off-by: Zbigniew Jasinski <z.jasinski@samsung.com>
Dariusz Michaluk [Tue, 13 Sep 2016 08:52:46 +0000 (10:52 +0200)]
YACA: Remove get sign property tests
Change-Id: I36a5d3be236d73b0788c6b83384b4afa3e3c8554
Krzysztof Jackiewicz [Tue, 23 Aug 2016 12:52:29 +0000 (14:52 +0200)]
YACA: Low-level RSA API tests
Change-Id: If83467a2cbcf409667336e7c5ec726b1dd11ae0f
Dariusz Michaluk [Tue, 13 Sep 2016 06:46:13 +0000 (08:46 +0200)]
YACA: Fix typo, samsumg -> samsung
Change-Id: I3ea3a5806cddf27b45fe879e89bfe3a4f23f687b
Dariusz Michaluk [Mon, 5 Sep 2016 15:24:17 +0000 (17:24 +0200)]
YACA: Add GCM/CCM output tests
Change-Id: I0e91408959ec6c0adda63263d2dcb8026c114186
Zofia Abramowska [Thu, 8 Sep 2016 16:07:32 +0000 (18:07 +0200)]
SM: Add pkgName and isHybrid params to label generation
Change-Id: I0a5cbf75a27943ef5eb0ff22665250b91960a701
Zofia Abramowska [Thu, 8 Sep 2016 15:30:44 +0000 (17:30 +0200)]
SM: Rename and use one label generators
Change-Id: Iee19a490a5da8076c03260c86d58dd13baa60ba7
Mateusz Forc [Tue, 16 Aug 2016 09:56:44 +0000 (11:56 +0200)]
YACA: Add GCM/CCM tag length combination tests
Change-Id: I91d45e95f1e9b6b85bec8977dd2c9b67fcc70fb7
Mateusz Forc [Fri, 12 Aug 2016 10:00:33 +0000 (12:00 +0200)]
YACA: Add GCM/CCM call order tests
Change-Id: Icfde4167a7f674c5cb5605c036ba47233da5c6d1
Krzysztof Jackiewicz [Wed, 7 Sep 2016 14:32:31 +0000 (16:32 +0200)]
YACA: Remove unnecessary multiplication of test input
Change-Id: I62ee40707100ff838396d5b94ab265d557d092fc
Zofia Abramowska [Thu, 8 Sep 2016 11:10:32 +0000 (13:10 +0200)]
SM: Use TzPlatformConfig for global app dir
Change-Id: I9252080880c12c11ed38bde46dfe7b1dd32268c7
Zbigniew Jasinski [Mon, 5 Sep 2016 13:59:18 +0000 (15:59 +0200)]
Added '--test=' option
One can run particular test passing it's name as argument:
$ security-manager-tests --test='security_manager_07_user_add_app_install'
Change-Id: Ibfb2ac3f376a2f790d5af084ce42559594a65f1d
Signed-off-by: Zbigniew Jasinski <z.jasinski@samsung.com>
Lukasz Pawelczyk [Mon, 5 Sep 2016 16:53:19 +0000 (18:53 +0200)]
YACA: 256 bit RSA has been deemed "too small" in OpenSSL 1.1
Change-Id: I5675cb454ab718d37171bea1745900fde83eb28e
Rafal Krypa [Tue, 6 Sep 2016 15:18:13 +0000 (17:18 +0200)]
Adapt to changed TZ_SYS_RW_APP: /opt/usr/apps -> /opt/usr/globalapps
The path for global applications has been recently changed:
https://review.tizen.org/gerrit/85150
Make security-tests put applications files in proper location.
Change-Id: I6e3304e2f40958f0abf483d216aa12b9351b659a
Zofia Abramowska [Tue, 30 Aug 2016 11:01:12 +0000 (13:01 +0200)]
SM: Fix group test
Change-Id: I0946aa8cc53f6ff6a59f7e5a37b4132d354155ca
Krzysztof Jackiewicz [Tue, 30 Aug 2016 12:01:03 +0000 (14:01 +0200)]
YACA: Keep key size in KeyPair
Change-Id: Ic84ef69b2140e970c7a1edea5810491d81fc1605
Krzysztof Jackiewicz [Tue, 23 Aug 2016 12:50:44 +0000 (14:50 +0200)]
YACA: Update padding values
Change-Id: I86651a3a17f93d5a0e18f2f3592b797bd3a30efc
Zofia Abramowska [Thu, 25 Aug 2016 16:21:55 +0000 (18:21 +0200)]
SM: Code cleanup - move remaining tests
Change-Id: I95b02ae4f2247c75130b1fc456a50c591c97aa33
Dariusz Michaluk [Mon, 29 Aug 2016 09:13:27 +0000 (11:13 +0200)]
YACA: Fix T4236 memory leak.
Change-Id: I47d28182022e8119931978f06e394617a211d049
Dariusz Michaluk [Tue, 23 Aug 2016 07:32:12 +0000 (09:32 +0200)]
YACA: Add RC2 effective key bits tests.
Change-Id: I6993b88a4784df9f5529ac6c4ea8a571611e4d50
Dariusz Michaluk [Fri, 19 Aug 2016 10:52:40 +0000 (12:52 +0200)]
YACA: Add seal/open tests.
Change-Id: Ie3ca9b19fde43bdf619919a05c8dcbf616dde68c
Dariusz Michaluk [Thu, 18 Aug 2016 11:48:13 +0000 (13:48 +0200)]
YACA: Add simple encrypt/decrypt tests.
Change-Id: I361190fd81762cc1ad2ba55f2ee1a5ff79842087
Dariusz Michaluk [Wed, 17 Aug 2016 10:39:31 +0000 (12:39 +0200)]
YACA: Add key wrapping tests.
Change-Id: I2c467b97d72c912a70096e4b91e3409b3a224cd3
Krzysztof Jackiewicz [Mon, 29 Aug 2016 14:28:07 +0000 (16:28 +0200)]
YACA: adjust to s/INTERNAL_KEYLEN/KEYLEN_COMPONENT/ change in yaca
Change-Id: I3e7dba8035064945f257962ede16effff5cf1032
Zofia Abramowska [Thu, 25 Aug 2016 14:56:48 +0000 (16:56 +0200)]
SM: Code cleanup - separate public sharing tests
Change-Id: Ifd5a6b6bc6e9983f728a3d04f5e0f8f6a2f0e074
Zofia Abramowska [Thu, 25 Aug 2016 14:30:19 +0000 (16:30 +0200)]
SM: Code cleanup - separate register paths tests
Change-Id: I63b833b6a39f285708c207b2607a9e7e2e1c3823
Zofia Abramowska [Wed, 24 Aug 2016 14:27:40 +0000 (16:27 +0200)]
SM: Code cleanup - separate dyntransition tests
Change-Id: I99725947deea7b56557a4cde1f9f0da42dcd35da
Zofia Abramowska [Wed, 24 Aug 2016 14:27:40 +0000 (16:27 +0200)]
SM: Code cleanup - separate credentials tests
Change-Id: I08cc91f8becc55d28885cc19647afcce6c56115d
Zofia Abramowska [Wed, 24 Aug 2016 13:10:46 +0000 (15:10 +0200)]
SM: Code cleanup - separate trusted sharing tests
Change-Id: Ieb1ba9f920808aaf89306959e037df46d3997c51
Zofia Abramowska [Wed, 24 Aug 2016 12:36:21 +0000 (14:36 +0200)]
SM: Code cleanup - separate private sharing tests
Change-Id: Ia212364bce408f433927161c6150a7bc22571cd0
Zofia Abramowska [Tue, 23 Aug 2016 14:51:11 +0000 (16:51 +0200)]
SM: Code cleanup - separate privacy manager tests
Change-Id: Ie5767a10b54e08846f1633de095003b50b7806c8
Zofia Abramowska [Tue, 23 Aug 2016 14:22:36 +0000 (16:22 +0200)]
SM: Use PasswdAccess instead of pwdnam
Change-Id: I12db6dc0f48ac63a9d3d99b351ef6dd9b519e06f
Zofia Abramowska [Mon, 22 Aug 2016 13:19:53 +0000 (15:19 +0200)]
SM: Code cleanup - separate basic test cases
Separate some test cases from main file.
Separate common functions/classes/types.
Change-Id: I79cf4e9cd00bcf5a430314f581afa35d2b1004f9
Zofia Abramowska [Fri, 12 Aug 2016 16:37:25 +0000 (18:37 +0200)]
SM: Fix wrong placement of test group
Change-Id: Idb48976dda2585cc30c18cb9fe1de28b7e0a363e
Radoslaw Bartosiak [Thu, 12 May 2016 21:09:41 +0000 (23:09 +0200)]
Test for API for managing list of permitted labels
Four new API functions are tested:
- security_manager_app_labels_monitor_init
- security_manager_app_labels_monitor_finish
- security_manager_app_labels_monitor_get_fd
- security_manager_app_labels_monitor_process
Change-Id: I238ac24820708c00078f0e79f27e3415061a22dd
Signed-off-by: Radoslaw Bartosiak <r.bartosiak@samsung.com>
Zofia Abramowska [Wed, 10 Aug 2016 10:11:23 +0000 (12:11 +0200)]
Cynara: Redo gdbus helpers tests
Change-Id: I7317d9921b3498a8cb8ecd32ada9b13b79da5f8e
Zofia Abramowska [Wed, 10 Aug 2016 10:11:14 +0000 (12:11 +0200)]
Cynara: Redo dbus helpers tests
Change-Id: Ideee7a1714d91b3b29f32957fb36d83cda6038fe
Zbigniew Jasinski [Fri, 19 Aug 2016 10:56:31 +0000 (12:56 +0200)]
Merge remote-tracking branch 'origin/tizen' into yaca
Change-Id: Ie127f8356cce6938c6c9b9b9ad5c109db4c79117
Signed-off-by: Zbigniew Jasinski <z.jasinski@samsung.com>
Zbigniew Jasinski [Fri, 19 Aug 2016 10:48:15 +0000 (12:48 +0200)]
Merge remote-tracking branch 'origin/tizen' into security-manager
Change-Id: I4f10ef0ccc3b82b26c7db6cb5a84d4d6874d976e
Signed-off-by: Zbigniew Jasinski <z.jasinski@samsung.com>
Zbigniew Jasinski [Fri, 19 Aug 2016 10:37:00 +0000 (12:37 +0200)]
Merge remote-tracking branch 'origin/tizen' into cynara
Change-Id: I27fd4ae639e50120ce21acf26220c8fb2c8a513b
Signed-off-by: Zbigniew Jasinski <z.jasinski@samsung.com>
Dariusz Michaluk [Fri, 12 Aug 2016 10:26:43 +0000 (12:26 +0200)]
YACA: Add simple encrypt/decrypt invalid param tests.
Change-Id: I1ff53992cf048eeca8ec43dd22f5d4c0bdeeb80d
Dariusz Michaluk [Thu, 11 Aug 2016 14:29:42 +0000 (16:29 +0200)]
YACA: Add seal/open invalid param tests.
Change-Id: I4fdfb2794349c3b9a9c404b8452338be949c7870
Mateusz Forc [Thu, 28 Jul 2016 10:58:34 +0000 (12:58 +0200)]
YACA: Add encrypt-decrypt test
Change-Id: I59269302d0aabd22366f4ae1529a9bb2877acc64
Mateusz Forc [Thu, 28 Jul 2016 08:54:10 +0000 (10:54 +0200)]
YACA: Add scripts used to generate encrypt tests
Change-Id: I86de3c31e8e03a610590985883c1407a0a32320d
Dariusz Michaluk [Thu, 11 Aug 2016 11:49:37 +0000 (13:49 +0200)]
YACA: Add *alloc/memcmp/key_destroy tests.
Change-Id: I80d4000f8ae126e8f407b8982356975d61f6443e