platform/core/security/ima-evm-reference-utils.git
9 years agoImplement ima/evm set/get state and set/get policy on server side 41/26741/1
Janusz Kozerski [Wed, 6 Aug 2014 13:03:31 +0000 (15:03 +0200)]
Implement ima/evm set/get state and set/get policy on server side

List of implemeted fuction:
 * ima_set_state()
 * ima_get_state()
 * evm_set_state()
 * evm_get_state()
 * ima_set_policy()
 * ima_get_policy()

Change-Id: I1587b231a0c5983317302db4de7e8feec0747833
Signed-off-by: Janusz Kozerski <j.kozerski@samsung.com>
9 years agoAdd core of ima-evm-service 40/26740/1
Janusz Kozerski [Thu, 28 Aug 2014 11:41:46 +0000 (13:41 +0200)]
Add core of ima-evm-service

This is just copy of source from security-server (core stuff).
Code builds, but is non-functional. Some fix needs to be done.

Change-Id: I854e874a1586aa8349fce3ae4caa2d23af98007a
Signed-off-by: Janusz Kozerski <j.kozerski@samsung.com>
9 years agoDisabling the EVM will not disable other menu options in UI 39/26739/1
Janusz Kozerski [Mon, 7 Jul 2014 13:47:54 +0000 (15:47 +0200)]
Disabling the EVM will not disable other menu options in UI

Change-Id: I5d2d8bcb7679f9d539d4345eab419c7fcf343c34
Signed-off-by: Janusz Kozerski <j.kozerski@samsung.com>
9 years agoFix xattr 38/26738/1
Janusz Kozerski [Fri, 4 Jul 2014 09:46:03 +0000 (11:46 +0200)]
Fix xattr

Change-Id: I29a2ff60893852f402c2c32b710cfb119826b358
Signed-off-by: Janusz Kozerski <j.kozerski@samsung.com>
9 years agoAdapt (part 2) 37/26737/1
Janusz Kozerski [Thu, 26 Jun 2014 08:46:23 +0000 (10:46 +0200)]
Adapt (part 2)

Change-Id: I486ebbb075fec323428d0c21ac8de699fb4cbc18
Signed-off-by: Janusz Kozerski <j.kozerski@samsung.com>
9 years agoAddapt to tizen common profile. Change from UG to APP 36/26736/1
Janusz Kozerski [Thu, 12 Jun 2014 14:31:23 +0000 (16:31 +0200)]
Addapt to tizen common profile. Change from UG to APP

Change-Id: I307a9e2187ec769cdcc8652d52ce1c1cb371b236
Signed-off-by: Janusz Kozerski <j.kozerski@samsung.com>
9 years agoAdd posibility to check file xattrs (secutity.ima, security.evm) 35/26735/1
Janusz Kozerski [Wed, 4 Jun 2014 13:03:08 +0000 (15:03 +0200)]
Add posibility to check file xattrs (secutity.ima, security.evm)

Change-Id: Idbd6217e42e5bd1b9423e732d25a3e15ce664e93
Signed-off-by: Janusz Kozerski <j.kozerski@samsung.com>
9 years agoUse ima_get_policy() from libimaevm to get policy. 87/21387/1
Janusz Kozerski [Mon, 28 Apr 2014 12:32:12 +0000 (14:32 +0200)]
Use ima_get_policy() from libimaevm to get policy.

Change-Id: I523cf80a35f020c1fe5f9470ed9444158ffe19f6
Signed-off-by: Janusz Kozerski <j.kozerski@samsung.com>
9 years agoDisabling libimaevm error checking is now possible by define. 86/21386/1
Janusz Kozerski [Mon, 28 Apr 2014 08:59:47 +0000 (10:59 +0200)]
Disabling libimaevm error checking is now possible by define.

Add define that can be used to test the UI without checking the
values reduned by libimaevm (no library error checking).

Change-Id: Iae86a87bbd003a4685bd1eb62ee3bc8cf3fe1221
Signed-off-by: Janusz Kozerski <j.kozerski@samsung.com>
9 years agoAdd switches for EVM state. Fix logs. 85/21385/1
Janusz Kozerski [Fri, 25 Apr 2014 12:58:16 +0000 (14:58 +0200)]
Add switches for EVM state. Fix logs.

Changes:
 * Rename existing switch and checkbox from "IMA/EVM" to "IMA".
 * Add switch for enable/disbale EVM.
 * Add checkbox for EVM Fix.

Change-Id: I0e6972b0e4014cdf4519db1976b829ce0b627252
Signed-off-by: Janusz Kozerski <j.kozerski@samsung.com>
9 years agoFirst well-working version. 84/21384/1
Janusz Kozerski [Mon, 17 Feb 2014 14:47:58 +0000 (15:47 +0100)]
First well-working version.

Contains:
 * Switch enable/disbale IMA
 * Checkbox IMA Fix
 * Load policy window (file selector)
 * Get policy
 * Check file status (file selector, popup as a reponse).

The UI is using the libimaevm in a few places. In other it is only
a clickable demo that doesn't do anything on the target.
Checking errors codes from libimaevm is disabled - for testing purpose.
This is rather "non-functional UI demo" than fully working version.

Change-Id: I0fbe888f6784df3c0fa36df4bf623eff59d36487
Signed-off-by: Janusz Kozerski <j.kozerski@samsung.com>
10 years agoInitial empty repository master
Sehong Na [Thu, 8 May 2014 23:55:57 +0000 (16:55 -0700)]
Initial empty repository