platform/core/security/ode.git
7 years agoChange elmConfig path for applying read-only root filesystem 32/115232/1 master accepted/tizen/common/20170217.161537 accepted/tizen/ivi/20170217.094450 accepted/tizen/mobile/20170217.094411 accepted/tizen/tv/20170217.094415 accepted/tizen/wearable/20170217.094433 submit/tizen/20170217.072251
Sungbae Yoo [Fri, 17 Feb 2017 04:17:07 +0000 (13:17 +0900)]
Change elmConfig path for applying read-only root filesystem

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I094e549ab80effb65521944cd3580f3e5e349187

7 years agoChange to stop user session service before the other services 59/114759/3
Sungbae Yoo [Wed, 15 Feb 2017 04:06:03 +0000 (13:06 +0900)]
Change to stop user session service before the other services

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Ib8525794d645747deadac3ddc79c928ba1207b33

7 years agoExternal: Fix bugs that decryption doesn't work properly by ui-app 96/114696/1
Sungbae Yoo [Tue, 14 Feb 2017 11:33:32 +0000 (20:33 +0900)]
External: Fix bugs that decryption doesn't work properly by ui-app

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I23fed938dd87afb6363723dc54eb35cb53dd960a

7 years agoInternal encryption: Fix missing elm config files and locales 32/114632/2 accepted/tizen/common/20170214.173822 accepted/tizen/ivi/20170215.085813 accepted/tizen/mobile/20170215.085658 accepted/tizen/tv/20170215.085735 accepted/tizen/wearable/20170215.085756 submit/tizen/20170214.101511
Sungbae Yoo [Tue, 14 Feb 2017 08:32:19 +0000 (17:32 +0900)]
Internal encryption: Fix missing elm config files and locales

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I388a157036d71014924773db9c5b98a3286ac2e3

7 years agoEcryptfs: Change not to remain temporary directory after encryption 30/114630/2
Sungbae Yoo [Tue, 14 Feb 2017 02:05:26 +0000 (11:05 +0900)]
Ecryptfs: Change not to remain temporary directory after encryption

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Idb1960af26e916dc6703224e41f0da99e46f0944

7 years agoChange not to reboot when error occurs in internal encryption 83/114483/2
Sungbae Yoo [Mon, 13 Feb 2017 11:29:09 +0000 (20:29 +0900)]
Change not to reboot when error occurs in internal encryption

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I4dd7bb8697625b958eedfc21273d291136c79763

7 years agoAdd Internal Password popup to ode-app for temporary 07/114207/5
yeji01kim [Fri, 10 Feb 2017 10:20:28 +0000 (19:20 +0900)]
Add Internal Password popup to ode-app for temporary

Change-Id: I7672f97bc41e0708682060be30f987b3cfc41900
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
7 years agoAdd recovery APIs to use when there is something wrong with encryption 42/114442/2
Sungbae Yoo [Mon, 13 Feb 2017 09:52:13 +0000 (18:52 +0900)]
Add recovery APIs to use when there is something wrong with encryption

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I6fccb22edc22e12165d7c80e43a86812ef0db804

7 years agoExt4 engine: Add key initialization 62/113962/5
yeji01kim [Thu, 9 Feb 2017 10:49:13 +0000 (19:49 +0900)]
Ext4 engine: Add key initialization

fix the file corruption after applying ext4 encryption.
initialize key array to prevent garbage value get in.

Change-Id: I83e0195793e0dc98b889e0fad747d39467da110b
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
7 years agoRefactor secure erase and add MMC erase engine 83/114183/4
seolheui,kim [Fri, 10 Feb 2017 08:26:35 +0000 (17:26 +0900)]
Refactor secure erase and add MMC erase engine

Change-Id: Ibfd5df003e1ec10ee2e1a34107eb341a7501f7c7
Signed-off-by: seolheui,kim <s414.kim@samsung.com>
7 years agoFix build error for aarch64 27/113927/2 accepted/tizen/common/20170213.174442 accepted/tizen/ivi/20170214.010404 accepted/tizen/mobile/20170214.010232 accepted/tizen/tv/20170214.010258 accepted/tizen/wearable/20170214.010346 submit/tizen/20170213.020148
yeji01kim [Thu, 9 Feb 2017 09:24:12 +0000 (18:24 +0900)]
Fix build error for aarch64

Change-Id: I59ca68776c469c79014df1fd10f1d93105b2e55e
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
7 years agoAdd SDcard password confirm popup 53/113553/2 devel
seolheui,kim [Wed, 8 Feb 2017 06:11:15 +0000 (15:11 +0900)]
Add SDcard password confirm popup

Change-Id: I615b740554109319fadbbf87473185582726f430
Signed-off-by: seolheui,kim <s414.kim@samsung.com>
7 years agoMerge "Fix the DM Table load fail situation" into devel
Sungbae Yoo [Tue, 7 Feb 2017 04:45:03 +0000 (20:45 -0800)]
Merge "Fix the DM Table load fail situation" into devel

7 years agoChange not to construct classes in global 91/113191/2
Sungbae Yoo [Mon, 6 Feb 2017 11:54:59 +0000 (20:54 +0900)]
Change not to construct classes in global

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I5e9062b2278c6600f29e6130289eec782fc5c3b3

7 years agoAdd privileges to APIs 90/113190/2
Sungbae Yoo [Mon, 6 Feb 2017 08:23:33 +0000 (17:23 +0900)]
Add privileges to APIs

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Iddbef3d16fd277ba6c4d5ea68298931ab7eff968

7 years agoMerge "Change registerParametricMethod/regiterNonPrametricMethod to expose" into...
Sungbae Yoo [Tue, 7 Feb 2017 04:40:47 +0000 (20:40 -0800)]
Merge "Change registerParametricMethod/regiterNonPrametricMethod to expose" into devel

7 years agoAdd SD Card Password popup to ode-app 46/112546/16
seolheui,kim [Wed, 1 Feb 2017 10:23:59 +0000 (19:23 +0900)]
Add SD Card Password popup to ode-app

Change-Id: If43d95451ce4a647a31bac5059f51bd0fd95b48e
Signed-off-by: seolheui,kim <s414.kim@samsung.com>
7 years agoChange registerParametricMethod/regiterNonPrametricMethod to expose 89/113189/1
Sungbae Yoo [Mon, 6 Feb 2017 08:16:51 +0000 (17:16 +0900)]
Change registerParametricMethod/regiterNonPrametricMethod to expose

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I2880e9482084553dff66e7fc26b657ee4cc816d6

7 years agoFix the DM Table load fail situation 20/113120/1
Seok Hong [Mon, 6 Feb 2017 07:11:57 +0000 (16:11 +0900)]
Fix the DM Table load fail situation

Force filesystem check via fsck can avoid the DM Table load fail situation.

Change-Id: I0316a50b02603ee6c20ade534d606b375858d064
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoFix a bug that master key is delivered into async thread by reference 10/113110/2
Sungbae Yoo [Mon, 6 Feb 2017 06:08:28 +0000 (15:08 +0900)]
Fix a bug that master key is delivered into async thread by reference

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I7fc87cb9eeb6cb0d75ae6da4d515621fee54e12d

7 years agoAdd exception handling in threads for encryption/decryption 08/112708/3
Sungbae Yoo [Thu, 2 Feb 2017 09:08:24 +0000 (18:08 +0900)]
Add exception handling in threads for encryption/decryption

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Ieb65804da717e4812f9854d73718a9daebb2b10c

7 years agoEnable to manage the state of external encryption and automount 98/112698/2
Sungbae Yoo [Thu, 2 Feb 2017 08:37:57 +0000 (17:37 +0900)]
Enable to manage the state of external encryption and automount

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Ie66e2577a87e983766cf02f9358ff06913be2ab4

7 years agoFix some bugs and rename password APIs 39/112939/1
Sungbae Yoo [Fri, 3 Feb 2017 09:40:29 +0000 (18:40 +0900)]
Fix some bugs and rename password APIs

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Iee24def8e36c82897c7d35bddf29b75dfcb34160

7 years agoAdd APIs to managing password 23/112023/4
Sungbae Yoo [Wed, 25 Jan 2017 10:36:31 +0000 (19:36 +0900)]
Add APIs to managing password

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Ibae77560fe68434cad0b929205d264cf4ae8c3c6

7 years agoRefactoring ode app 44/111544/6
yeji01kim [Sat, 21 Jan 2017 10:36:50 +0000 (19:36 +0900)]
Refactoring ode app

- apply ux guide
- add check view
- enable password button for sd card encryption

Change-Id: I91e4254106018657a87cf3e6236d0756298172ad
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
7 years agoSupport FastEncryption for DMCryptEngine 99/97299/12
Seok Hong [Tue, 17 Jan 2017 06:05:03 +0000 (15:05 +0900)]
Support FastEncryption for DMCryptEngine

NOTE:
  - Won't support filesystem what uses 1K block size

Change-Id: I63bc8d9dc5ebc50390267a87d5babbf5e0364b50
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoAdd BlockSize Getter in Ext4Tool 53/110753/5
Seok Hong [Wed, 18 Jan 2017 01:22:17 +0000 (10:22 +0900)]
Add BlockSize Getter in Ext4Tool

Change-Id: I68ac44023326cde8aaf0e4926aa2abc64a90ad74
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoFix wrong bitmap space size calculation 36/111736/3
Seok Hong [Mon, 23 Jan 2017 23:49:14 +0000 (08:49 +0900)]
Fix wrong bitmap space size calculation

Change-Id: I4e971bb251697a08fea79b58b780214912ea02b9
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoAdd APIs to verify password 41/111641/3
Sungbae Yoo [Mon, 23 Jan 2017 07:25:27 +0000 (16:25 +0900)]
Add APIs to verify password

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Ib9486d8cff39d72bce8bea3792742c79d84ff842

7 years agoAdd APIs for the options of each encryption 91/110991/8
Sungbae Yoo [Wed, 18 Jan 2017 11:16:47 +0000 (20:16 +0900)]
Add APIs for the options of each encryption

Change-Id: Id879ed8a52dadc09b571ca91a38550ecc3d0c916
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoRefactor ecryptfs engine 32/109532/7
Sungbae Yoo [Tue, 10 Jan 2017 08:05:25 +0000 (17:05 +0900)]
Refactor ecryptfs engine

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I1420497da64043e2391d0be8a1b2896976e519b7

7 years agoMerge ode app and ode-gui app 93/110993/4
Sungjun, Lee [Thu, 19 Jan 2017 06:32:57 +0000 (15:32 +0900)]
Merge ode app and ode-gui app

Change-Id: I635971df06104e2d24322e12748af2e7b6b03a4e
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
7 years agoApply GUI resource and layout to progressbar 36/110836/1
seolheui,kim [Wed, 18 Jan 2017 07:50:16 +0000 (16:50 +0900)]
Apply GUI resource and layout to progressbar

Change-Id: I0ba287b544177d4547e843ed033a60a837d2fd0d
Signed-off-by: seolheui,kim <s414.kim@samsung.com>
7 years agoAdd ProgressBar 22/109522/8
Seok Hong [Tue, 10 Jan 2017 08:51:45 +0000 (17:51 +0900)]
Add ProgressBar

Change-Id: I7de1b8666c69708df8e72ea9e6e31cfc7e5ebe65
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoAdd AntiForensics 87/109587/7
Seok Hong [Tue, 17 Jan 2017 01:47:31 +0000 (10:47 +0900)]
Add AntiForensics

Change-Id: I9a48648c96507e5d0a964c8afa4ea8a1729b8743
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoAdd get/set encryption state using vconf 68/108968/7
Sungbae Yoo [Fri, 6 Jan 2017 09:43:24 +0000 (18:43 +0900)]
Add get/set encryption state using vconf

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I81c0fd84c81f5e2e2ce5f5fe677bb2bca36b6642

7 years agoChange keystore to have the compatiblity with luks 76/106676/14
Sungbae Yoo [Thu, 22 Dec 2016 10:49:06 +0000 (19:49 +0900)]
Change keystore to have the compatiblity with luks

Change-Id: Ie25eb1c1655f3a0feef7d4793a6db3e6d98b30fa
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
7 years agoRemove log of subscription id for debugging
Sungbae Yoo [Tue, 10 Jan 2017 07:02:53 +0000 (16:02 +0900)]
Remove log of subscription id for debugging

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
7 years agoAdd SD Card Event Receiver 69/109469/3
Sungjun, Lee [Tue, 10 Jan 2017 06:48:23 +0000 (15:48 +0900)]
Add SD Card Event Receiver

Change-Id: I775482a74e48698d10088a5d1ba03209d319604c
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
7 years agoAdd secure-erase interface 14/101514/27
seolheui,kim [Thu, 1 Dec 2016 09:43:09 +0000 (18:43 +0900)]
Add secure-erase interface

Change-Id: I9e696820c329e59df774ec40f31c904797f4d3c2
Signed-off-by: seolheui,kim <s414.kim@samsung.com>
7 years agoFix Build error in eCryptfs engine 07/109207/1
Sungjun, Lee [Mon, 9 Jan 2017 08:05:55 +0000 (17:05 +0900)]
Fix Build error in eCryptfs engine

Change-Id: I2513af202a3165b05dcf30ccc90261ef052b713f
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
7 years agoAdd Error routine to eCryptfs engine 50/104650/3
Sungjun, Lee [Wed, 14 Dec 2016 02:00:41 +0000 (11:00 +0900)]
Add Error routine to eCryptfs engine

Change-Id: Ief5c50b65e419a768f87f76bef9e7563a89c86a7
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
7 years agoMove a ode app from device-policy-manager 67/104067/1
yeji01kim [Mon, 12 Dec 2016 08:14:34 +0000 (17:14 +0900)]
Move a ode app from device-policy-manager

Change-Id: Iafcccd507467eadbfaf7e08f870bce3509f1c2d1
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
7 years agoAdd Ext4 encryption engine 63/99663/7
yeji01kim [Wed, 23 Nov 2016 13:26:24 +0000 (22:26 +0900)]
Add Ext4 encryption engine

For working ext4 engine, needs to use above kernel 4.1 and kernel config.
The current implementation only applies to "/opt/usr"

Change-Id: I6044380f464f6ff69e688427bf29a484d40f63d4
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
7 years agoAdd UI Application for show progress of encrypt/decrypt 84/99284/6
Sungbae Yoo [Tue, 22 Nov 2016 09:16:51 +0000 (18:16 +0900)]
Add UI Application for show progress of encrypt/decrypt

Change-Id: I4755d56139507b1260b0ea627b36f5b2a5750978
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
7 years agoAdd to search storage-dependent services and apps with file-user 27/100427/8
Sungbae Yoo [Mon, 28 Nov 2016 06:10:29 +0000 (15:10 +0900)]
Add to search storage-dependent services and apps with file-user

Change-Id: I9155e95f38dc673a44f8bb590f0cc224357fff36
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
7 years agoAdd secure-erase 67/99567/18
seolheui,kim [Wed, 23 Nov 2016 08:58:35 +0000 (17:58 +0900)]
Add secure-erase

Change-Id: I383d341a158049689b4bcc39e2bf7b5af4f1421c
Signed-off-by: seolheui,kim <s414.kim@samsung.com>
7 years agoAdd external encryption with key-manager and engine 76/98976/3
Sungbae Yoo [Mon, 21 Nov 2016 09:11:02 +0000 (18:11 +0900)]
Add external encryption with key-manager and engine

Change-Id: If94dfc9e296aba4621b70b19a4476b8633d4d0ce
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
7 years agoAdd eCryptfs engine 05/99505/3
Sungjun, Lee [Wed, 23 Nov 2016 06:09:01 +0000 (15:09 +0900)]
Add eCryptfs engine

Change-Id: I5cb65125d41f92413d68e79d011b243b65653a51
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
7 years agoMerge "Add internal encryption with key-manager and engine" into devel
Sungbae Yoo [Wed, 23 Nov 2016 11:14:35 +0000 (03:14 -0800)]
Merge "Add internal encryption with key-manager and engine" into devel

7 years agoAdd Ext4 Tool 45/97845/6
Seok Hong [Tue, 22 Nov 2016 01:34:13 +0000 (10:34 +0900)]
Add Ext4 Tool

Change-Id: I23df2c8adbd31c100e0b28dcd23271f840af34d3
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoAdd changing password in ode-admin-cli 04/99004/1
Sungbae Yoo [Mon, 21 Nov 2016 10:29:20 +0000 (19:29 +0900)]
Add changing password in ode-admin-cli

Change-Id: Ib89248eaf90c4297f2f575e5b04cb2dd02e5d428
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
7 years agoAdd internal encryption with key-manager and engine 58/96258/7
Sungbae Yoo [Fri, 18 Nov 2016 06:12:22 +0000 (15:12 +0900)]
Add internal encryption with key-manager and engine

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Ibb21880e538e7a83a1b72cf0c5e8f4009fa4577c

7 years agoRefactor KeyStore 07/98307/3
Sungbae Yoo [Thu, 17 Nov 2016 02:45:06 +0000 (11:45 +0900)]
Refactor KeyStore

Change-Id: Ic419649691cc6d808c5d05b6e70e6b18117aeef5
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
7 years agoFix wrong initialization of DMCryptEngine 16/98316/2
Seok Hong [Thu, 17 Nov 2016 04:50:04 +0000 (13:50 +0900)]
Fix wrong initialization of DMCryptEngine

Change-Id: I12c9b2f299807d92e19e4b49cd4f356ab63dca28
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoAdd implementations of KeyGenerator 78/97178/3
yeji01kim [Fri, 11 Nov 2016 10:11:20 +0000 (19:11 +0900)]
Add implementations of KeyGenerator

Change-Id: I6ca0307e83ca852e5f15c5aff72cd1db04375276
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
7 years agoAdd KeyStore 58/96558/7
Seok Hong [Fri, 11 Nov 2016 07:13:19 +0000 (16:13 +0900)]
Add KeyStore

Change-Id: Iebc1f757b1bd492ebf6b25465c95c67455363e0e
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoAdd implementation to test CAPIs in CLI tool 19/96219/2
Sungbae Yoo [Tue, 8 Nov 2016 07:26:54 +0000 (16:26 +0900)]
Add implementation to test CAPIs in CLI tool

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I6fca218e8ce92a46dfe4867cd86726a4c4fab9e6

7 years agoAdd DMCryptEngine 96/96096/11
Seok Hong [Tue, 1 Nov 2016 05:56:37 +0000 (14:56 +0900)]
Add DMCryptEngine

TODO(seok85.hong)
 - support the fast-encryption for dmcrypt engine

Change-Id: I5e634a1d2ae67c2b4e75a949ba8ad3ce3a10c77d
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoAdd MD5 in KeyGenerator 12/97112/2
Seok Hong [Fri, 11 Nov 2016 07:12:27 +0000 (16:12 +0900)]
Add MD5 in KeyGenerator

Change-Id: I68ec322e950b0d8112ffe0b7feccee745c0c9eae
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoAdd key-manager to manage device key and password 99/95999/6
Sungbae Yoo [Mon, 7 Nov 2016 09:14:02 +0000 (18:14 +0900)]
Add key-manager to manage device key and password

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I75c5a6c9722c183db36fde2936b71351dad331cf

7 years agoRemove profile macro in spec file 13/96213/2
Sungbae Yoo [Tue, 8 Nov 2016 07:16:43 +0000 (16:16 +0900)]
Remove profile macro in spec file

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I1484d5cfdb980fd7fbd5f3ab735ce526398fe396

7 years agoOrganize initial source structure 87/94287/15
Sungbae Yoo [Fri, 28 Oct 2016 13:08:04 +0000 (22:08 +0900)]
Organize initial source structure

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Ibaac06b70da27cef98d6abea2cacee4844222655

11 years agoInitial empty repository
Jung Minsun [Fri, 2 Nov 2012 11:05:58 +0000 (20:05 +0900)]
Initial empty repository