platform/core/security/ode.git
6 years agoAdd ecryptfs key linking in the keyring of root user 65/146265/5 accepted/tizen/unified/20170901.030109 submit/tizen/20170831.072417 submit/tizen_4.0/20170831.090142 submit/tizen_4.0/20170901.010402
Sungbae Yoo [Fri, 25 Aug 2017 12:04:08 +0000 (21:04 +0900)]
Add ecryptfs key linking in the keyring of root user

Change-Id: Ie9eddecc8f6a274ff2e6e030730a49ad5f1dd773
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
6 years agoMerge "Fix password popup parent object" into tizen
s414kim [Mon, 28 Aug 2017 02:15:36 +0000 (02:15 +0000)]
Merge "Fix password popup parent object" into tizen

6 years agoAdd showing log only when process termination is failed 98/145698/2 accepted/tizen/unified/20170825.163334 submit/tizen/20170825.032149
Sungbae Yoo [Wed, 23 Aug 2017 09:37:30 +0000 (18:37 +0900)]
Add showing log only when process termination is failed

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

6 years agoAdd ScopedGMainLoop for gmainloop 03/145303/2
Sungbae Yoo [Tue, 22 Aug 2017 03:01:54 +0000 (12:01 +0900)]
Add ScopedGMainLoop for gmainloop

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

6 years agoChange ode daemon as non-root 67/143567/5
Sungbae Yoo [Thu, 10 Aug 2017 10:43:44 +0000 (19:43 +0900)]
Change ode daemon as non-root

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

6 years agoFix password popup parent object 72/145372/1
s414kim [Tue, 22 Aug 2017 06:55:10 +0000 (15:55 +0900)]
Fix password popup parent object

Change-Id: I50ed2a548fae5e6a1c76aa973aa5633e68dc01d2
Signed-off-by: s414kim <s414.kim@samsung.com>
6 years agoReplace libcryptsetup usage with /usr/sbin/cryptsetup calls 21/142621/5 submit/tizen/20170822.052357
Lukasz Pawelczyk [Mon, 7 Aug 2017 17:01:34 +0000 (19:01 +0200)]
Replace libcryptsetup usage with /usr/sbin/cryptsetup calls

Change-Id: Ieedae7a30a6db706cdac674a55abf8ca3baf631c

6 years agoAdd systemd unit for external storage mount with smackfs* option 97/143497/4 submit/tizen/20170816.100224
Sungbae Yoo [Wed, 9 Aug 2017 10:09:06 +0000 (19:09 +0900)]
Add systemd unit for external storage mount with smackfs* option

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

6 years agoRevert "Add smackfsroot, smackfsdef in mount options of ecryptfs" 96/143496/1
Sungbae Yoo [Wed, 9 Aug 2017 07:13:09 +0000 (16:13 +0900)]
Revert "Add smackfsroot, smackfsdef in mount options of ecryptfs"

This reverts commit 8f7f71bda2fd81ff50b3e01e347c2fe2bb887c31.
Change-Id: I4bb2a2f6dcde3f0769232a0478f53abe6e3a3c6e

6 years agoAdd to showing external encryption popup after homescreen loading 95/143495/1
Sungbae Yoo [Wed, 9 Aug 2017 07:01:22 +0000 (16:01 +0900)]
Add to showing external encryption popup after homescreen loading

Limitation: This doesn't wait for homescreen actually.
Just some delays after BootCompleted is received.

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

6 years agoFix not to turn off when progress bar shows 96/142696/3
Sungbae Yoo [Mon, 7 Aug 2017 05:01:13 +0000 (14:01 +0900)]
Fix not to turn off when progress bar shows

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

6 years agoMerge "Revert "Revert "Implementation of ExtensionEncryption with CryptsetupEngine...
Lukasz Pawelczyk [Mon, 7 Aug 2017 13:59:54 +0000 (13:59 +0000)]
Merge "Revert "Revert "Implementation of ExtensionEncryption with CryptsetupEngine""" into tizen

6 years agoMerge "Revert "Revert "Add CryptsetupEngine""" into tizen
Lukasz Pawelczyk [Mon, 7 Aug 2017 13:59:43 +0000 (13:59 +0000)]
Merge "Revert "Revert "Add CryptsetupEngine""" into tizen

6 years agoRename rework directory to src directory 25/142625/1
s414kim [Sat, 5 Aug 2017 04:55:16 +0000 (13:55 +0900)]
Rename rework directory to src directory

Change-Id: I9a8a10ac448ec90b84b47004a161c4ab86149a36
Signed-off-by: s414kim <s414.kim@samsung.com>
6 years agoRevert "Revert "Implementation of ExtensionEncryption with CryptsetupEngine"" 85/142585/1
Krzysztof Jackiewicz [Fri, 4 Aug 2017 10:41:01 +0000 (12:41 +0200)]
Revert "Revert "Implementation of ExtensionEncryption with CryptsetupEngine""

This reverts commit 075ad6399d6c8295a3f2d682146e5772b65754ac.

Change-Id: Ie9f43009a99d095acd017dc4d2cf7c9de7de0da6

6 years agoRevert "Revert "Add CryptsetupEngine"" 84/142584/1
Krzysztof Jackiewicz [Fri, 4 Aug 2017 10:40:08 +0000 (12:40 +0200)]
Revert "Revert "Add CryptsetupEngine""

This reverts commit 842d4ed10985953d402ff43e55fe2798656edd18.

Change-Id: I91c6798133fe772a88e65f15efda7e6806502c4f

6 years agoFix ext4-tool to get group descriptor size from super block 48/141148/2 accepted/tizen/4.0/unified/20170816.011536 accepted/tizen/4.0/unified/20170816.014751 accepted/tizen/4.0/unified/20170829.020049 accepted/tizen/unified/20170801.054823 submit/tizen/20170730.224646 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004 submit/tizen_4.0_unified/20170814.115522
Sungbae Yoo [Fri, 28 Jul 2017 08:49:27 +0000 (17:49 +0900)]
Fix ext4-tool to get group descriptor size from super block

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

6 years agoAdd external encryption progress-notification 37/138937/2
s414kim [Fri, 14 Jul 2017 09:02:41 +0000 (18:02 +0900)]
Add external encryption progress-notification

Change-Id: I5863d8e56d0c778e4236adac201c29eee15f22d1
Signed-off-by: s414kim <s414.kim@samsung.com>
6 years agoAdd external retry interface 98/137798/4
s414kim [Sat, 8 Jul 2017 12:36:19 +0000 (21:36 +0900)]
Add external retry interface

Change-Id: Ie7a575d8c023e75d3b7a71c3c4e0aac229cf32e6
Signed-off-by: s414kim <s414.kim@samsung.com>
6 years agoAdd insert/password sdcard interface 97/137797/4
s414kim [Sat, 8 Jul 2017 12:10:51 +0000 (21:10 +0900)]
Add insert/password sdcard interface

Change-Id: I22cf17fb853a1ef29c1febc48f82983917899fd4
Signed-off-by: s414kim <s414.kim@samsung.com>
6 years agoAdd ODE progress interface for rework 96/137796/5
s414kim [Sat, 8 Jul 2017 11:49:59 +0000 (20:49 +0900)]
Add ODE progress interface for rework

Change-Id: I200fa17116476724be72f014236f67164d3e6595
Signed-off-by: s414kim <s414.kim@samsung.com>
6 years agoAdd external encryption/decryption interface and external-locktype for rework 94/137794/8
s414kim [Sat, 8 Jul 2017 09:52:42 +0000 (18:52 +0900)]
Add external encryption/decryption interface and external-locktype for rework

Change-Id: I5af257115272b6bf1cc486de93a471937741c25d
Signed-off-by: s414kim <s414.kim@samsung.com>
6 years agoAdd internal encryption/decryption interface and tools for rework 93/137793/5
s414kim [Sat, 8 Jul 2017 09:37:28 +0000 (18:37 +0900)]
Add internal encryption/decryption interface and tools for rework

Change-Id: I247edc868b7550c55d29e2948314db8ea15fa463
Signed-off-by: s414kim <s414.kim@samsung.com>
6 years agoAdd ODE base interface and layout for rework 35/137735/5
s414kim [Fri, 7 Jul 2017 08:46:32 +0000 (17:46 +0900)]
Add ODE base interface and layout for rework

Change-Id: Ia0373341142148d55b014547c91576a0032854ed
Signed-off-by: s414kim <s414.kim@samsung.com>
6 years agoAdd ODE Interface widgets for rework 30/137730/4
s414kim [Fri, 7 Jul 2017 08:32:34 +0000 (17:32 +0900)]
Add ODE Interface widgets for rework

Change-Id: I0f8f2b4b04de3eb6572a4ac2cd65b2f2648c8c14
Signed-off-by: s414kim <s414.kim@samsung.com>
6 years agoAdd forceCleanUp retrys when it sometimes fails 86/140886/4 accepted/tizen/unified/20170728.195541 submit/tizen/20170727.084517
Sungbae Yoo [Thu, 27 Jul 2017 02:53:06 +0000 (11:53 +0900)]
Add forceCleanUp retrys when it sometimes fails

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

6 years agoRevert "Add readlink for a klay change that uses lstat"
Sungbae Yoo [Thu, 27 Jul 2017 06:55:49 +0000 (15:55 +0900)]
Revert "Add readlink for a klay change that uses lstat"

This reverts commit 768fbb7fe4cbb950fad5d190fc61e283c4eca171.

6 years agoAdd readlink for a klay change that uses lstat 87/140887/3
Sungbae Yoo [Thu, 27 Jul 2017 05:15:46 +0000 (14:15 +0900)]
Add readlink for a klay change that uses lstat

* Refer to (in klay) :
d866a7170f87d406d8c9bc3722d9db08d54d7c17
86dda70ea0201a0a2f4ec4b0bfd58a5af86e9ae0

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

6 years agoFix a build break from separation of AUL 85/140685/1
Sungbae Yoo [Wed, 26 Jul 2017 05:06:04 +0000 (14:06 +0900)]
Fix a build break from separation of AUL

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

6 years agoRevert "Implementation of ExtensionEncryption with CryptsetupEngine" 77/140277/1 accepted/tizen/unified/20170727.190707 submit/tizen/20170724.094119 submit/tizen/20170726.025713
sangwan.kwon [Mon, 24 Jul 2017 09:05:14 +0000 (18:05 +0900)]
Revert "Implementation of ExtensionEncryption with CryptsetupEngine"

- Since arch64 build failed, this commit be reverted.

This reverts commit e0ead75e1527aa73bf349ecaa306ba6fc4295930.

Conflicts:
server/extension-encryption.cpp
server/external-encryption.cpp
server/server.cpp

Change-Id: I8958a4c572d3e21977e1ac638346edd64e490a13

6 years agoRevert "Add CryptsetupEngine" 76/140276/1
sangwan.kwon [Mon, 24 Jul 2017 08:54:37 +0000 (17:54 +0900)]
Revert "Add CryptsetupEngine"

- Since arch64 build failed, this commit be reverted.

This reverts commit 0ec77b9d13e306ef2846c9ef7de8fd3888878e2b.

Conflicts:
server/engine/encryption/cryptsetup-engine.cpp

Change-Id: I166fcafa9aa24e9d3076ec8f6a39041fb42f7719

6 years agoFix logger usage according to KLAY API changed 34/139934/1 submit/tizen/20170724.061427
sangwan.kwon [Thu, 20 Jul 2017 08:03:44 +0000 (17:03 +0900)]
Fix logger usage according to KLAY API changed

Change-Id: I1eca335cfeff003a5dcdd1ecd900d0225e33f68c
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
6 years agoAdd support for 512 keys in key-manager 00/129900/7
Krzysztof Jackiewicz [Thu, 18 May 2017 09:40:17 +0000 (11:40 +0200)]
Add support for 512 keys in key-manager

Also use it in extension encryption

Change-Id: Iad9d6ea2653c3e2f5377dc204fa492aadde03e18

6 years agoImplementation of ExtensionEncryption with CryptsetupEngine 02/129702/15
Lukasz Pawelczyk [Mon, 15 May 2017 15:34:40 +0000 (17:34 +0200)]
Implementation of ExtensionEncryption with CryptsetupEngine

New approach, let storaged do its work

Change-Id: I565bfed56322bbbb65b877b05a4ae4fe332954c8

6 years agoExt4Tool modifications: detect the filesystem and mkfs 14/129014/16
Lukasz Pawelczyk [Fri, 12 May 2017 08:46:51 +0000 (10:46 +0200)]
Ext4Tool modifications: detect the filesystem and mkfs

Change-Id: I02444c6f56ee50acc6dde653a28490eadd4e0ee8

6 years agoExtension operations added to CLI tool 69/128569/14 submit/tizen/20170725.065700
Lukasz Pawelczyk [Tue, 9 May 2017 16:07:22 +0000 (18:07 +0200)]
Extension operations added to CLI tool

Change-Id: Ic4ab188fd31508ed5dcd2ddc7bb85c7cff2892c6

6 years agoExtension API and its skeleton implementation 59/128359/15
Lukasz Pawelczyk [Tue, 9 May 2017 10:44:56 +0000 (12:44 +0200)]
Extension API and its skeleton implementation

This commit adds API for handling SD card formatted as an extension to
an internal memory. It also adds the connection layer for the API
between the library and the server as well as a skeleton
implementation for the API based on the implementation of
external-encryption.

Change-Id: I1a852fa6a484bd884fed95d2965c0a6a5b2e3369

6 years agoAdd CryptsetupEngine 38/128838/21
Krzysztof Jackiewicz [Thu, 11 May 2017 12:58:41 +0000 (14:58 +0200)]
Add CryptsetupEngine

Add wrapper class for libcryptsetup

Change-Id: I57e36fe667e1089f75c20b766faf81766a85e166

6 years agoRename unit test package to include "ode" 35/128735/4 accepted/tizen/unified/20170726.013005 submit/tizen/20170725.091352
Krzysztof Jackiewicz [Thu, 11 May 2017 07:26:12 +0000 (09:26 +0200)]
Rename unit test package to include "ode"

Change-Id: I40c06e9f639cce7820db9db6d0fbaa0e60db2378

6 years agoContinue operation if /opt/usr is not mounted 62/128062/6
Krzysztof Jackiewicz [Thu, 4 May 2017 10:08:34 +0000 (12:08 +0200)]
Continue operation if /opt/usr is not mounted

Also skip ENXIO error when device mapper entry is being removed

Change-Id: I339b43ae73ce68928abe8453021add42061cd18e

6 years agoAdd smackfsroot, smackfsdef in mount options of ecryptfs 29/130629/1 accepted/tizen/unified/20170531.082405 submit/tizen/20170523.073824
Sungbae Yoo [Tue, 23 May 2017 06:59:34 +0000 (15:59 +0900)]
Add smackfsroot, smackfsdef in mount options of ecryptfs

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

6 years agoFix all mis-used types about large file support 41/130141/5 accepted/tizen/unified/20170522.190731 submit/tizen/20170522.121243 tizen_4.0.m1_release
Sungbae Yoo [Fri, 19 May 2017 08:12:24 +0000 (17:12 +0900)]
Fix all mis-used types about large file support

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Signed-off-by: s414kim <s414.kim@samsung.com>
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
Change-Id: I8fb13daeb621b22ce3e394ceab3f0b8b825faaaa

7 years ago[SECIOTSW-699] Fix Secure erase device path bug 48/129348/2
s414kim [Tue, 16 May 2017 06:56:36 +0000 (15:56 +0900)]
[SECIOTSW-699] Fix Secure erase device path bug

Change-Id: Ie44c21bcc98ab04d03da6886f09a7faee1343347
Signed-off-by: s414kim <s414.kim@samsung.com>
7 years agoEnable dlog logs 76/127676/2
Krzysztof Jackiewicz [Fri, 28 Apr 2017 08:22:43 +0000 (10:22 +0200)]
Enable dlog logs

Change-Id: I11aed898892395d232cc2cc484e24cefac497fb9

7 years agoManage ode service during installation/uninstallation 71/126671/2
Krzysztof Jackiewicz [Mon, 24 Apr 2017 14:27:27 +0000 (16:27 +0200)]
Manage ode service during installation/uninstallation

Change-Id: I36b352d1095ad74f16ded4476a2604b53441a07f

7 years agoAdd to ignore the case of /opt/usr partition label accepted/tizen/unified/20170427.180137 submit/tizen/20170424.075155 submit/tizen/20170427.015729
Sungbae Yoo [Mon, 24 Apr 2017 06:48:26 +0000 (15:48 +0900)]
Add to ignore the case of /opt/usr partition label

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

7 years agoFix to get real mount state in ecryptfs engine 73/125373/1 accepted/tizen/unified/20170418.072805 submit/tizen/20170418.055622
Sungbae Yoo [Fri, 14 Apr 2017 09:32:00 +0000 (18:32 +0900)]
Fix to get real mount state in ecryptfs engine

This prevents an inconsistency of the state due to unexpected
SD card removal.

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

7 years agoFix to send a mount event after encryption is completed 75/125275/1
Sungbae Yoo [Fri, 14 Apr 2017 09:18:59 +0000 (18:18 +0900)]
Fix to send a mount event after encryption is completed

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

7 years agoChange INTERNAL_DEV to use partition label 74/125274/1
Sungbae Yoo [Fri, 14 Apr 2017 08:43:37 +0000 (17:43 +0900)]
Change INTERNAL_DEV to use partition label

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

7 years ago[SECIOTSW-455] Refactor ecryptfs structures to C++ style 38/124938/2 accepted/tizen/unified/20170414.164203 submit/tizen/20170414.111221
Sungbae Yoo [Thu, 13 Apr 2017 05:33:31 +0000 (14:33 +0900)]
[SECIOTSW-455] Refactor ecryptfs structures to C++ style

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

7 years ago[SECIOTSW-447] Revert "Add ODE Lockscreen to mount internal storage." 12/124612/3
Sungbae Yoo [Wed, 12 Apr 2017 02:17:55 +0000 (11:17 +0900)]
[SECIOTSW-447] Revert "Add ODE Lockscreen to mount internal storage."

This reverts commit 6d1ac2aef8a8d9b4186b6ef5fd7a4bb94d3250d5.

ODE Lockscreen isn't needed anymore due to integration with
starter and lockscreen in platform.

Change-Id: I9ca7fe4a822f46753048d4b462386122769392ae

7 years agoAdd to touching files for compatiblity with lazymount 38/124038/1 accepted/tizen/unified/20170411.035301 submit/tizen/20170411.020854
Sungbae Yoo [Mon, 10 Apr 2017 03:57:23 +0000 (12:57 +0900)]
Add to touching files for compatiblity with lazymount

This commit will be reverted after lazymount is removed

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

7 years agoRemove useless unit-test for dmcrypt engine 56/123256/2
Seok Hong [Wed, 5 Apr 2017 07:50:15 +0000 (16:50 +0900)]
Remove useless unit-test for dmcrypt engine

Change-Id: I6075bd13d7ddfaaf61d02f951f0d1ccbe9e744aa
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoMerge "Fix the initialization of members in Class" into tizen
Sungjun, Lee [Wed, 5 Apr 2017 08:14:30 +0000 (01:14 -0700)]
Merge "Fix the initialization of members in Class" into tizen

7 years agoFix the initialization of members in Class 20/123320/1
Sungjun, Lee [Wed, 5 Apr 2017 07:45:55 +0000 (16:45 +0900)]
Fix the initialization of members in Class

Change-Id: I900a1ad7348fbf8f62c26c77fd74b62200013141
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
7 years agoFix wrong comments about tizen version to start including 06/122106/1
Sungbae Yoo [Thu, 30 Mar 2017 07:27:09 +0000 (16:27 +0900)]
Fix wrong comments about tizen version to start including

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

7 years agoChange wait_for_mount APIs to callback-based APIs 06/121706/2 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170330.151434 accepted/tizen/ivi/20170329.035632 accepted/tizen/mobile/20170329.035540 accepted/tizen/tv/20170329.035559 accepted/tizen/unified/20170329.035649 accepted/tizen/wearable/20170329.035614 submit/tizen/20170329.022805 submit/tizen/20170410.043335
Sungbae Yoo [Tue, 28 Mar 2017 12:23:22 +0000 (21:23 +0900)]
Change wait_for_mount APIs to callback-based APIs

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

7 years agoAdd to handle an exception that some blocks are missing in ext4tool 38/121638/2
Sungbae Yoo [Tue, 28 Mar 2017 10:23:37 +0000 (19:23 +0900)]
Add to handle an exception that some blocks are missing in ext4tool

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

7 years agoModify to split mount API into 2 APIs - set mount password, just mount 37/121637/1
Sungbae Yoo [Tue, 28 Mar 2017 09:35:25 +0000 (18:35 +0900)]
Modify to split mount API into 2 APIs - set mount password, just mount

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

7 years agoChange to allow duplicated mount/umount API calls for lockscreen 88/120188/2 accepted/tizen/common/20170322.154121 accepted/tizen/ivi/20170322.235811 accepted/tizen/mobile/20170322.235723 accepted/tizen/tv/20170322.235745 accepted/tizen/unified/20170322.235840 accepted/tizen/wearable/20170322.235751 submit/tizen/20170322.105714
Sungbae Yoo [Wed, 22 Mar 2017 05:06:08 +0000 (14:06 +0900)]
Change to allow duplicated mount/umount API calls for lockscreen

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

7 years agoAdd APIs to wait the mount of storage 00/120100/4
Sungbae Yoo [Tue, 21 Mar 2017 10:36:46 +0000 (19:36 +0900)]
Add APIs to wait the mount of storage

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

7 years agoOde App: replace internal encryption password api in password popup 32/120032/1
yeji01kim [Tue, 21 Mar 2017 07:31:59 +0000 (16:31 +0900)]
Ode App: replace internal encryption password api in password popup

Change-Id: Ie85b0220e97fb2fe4a9fdda5ca32241025630748
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
7 years agoMerge "Update UML files for class and sequence diagrams" into tizen
Jaemin Ryu [Mon, 13 Mar 2017 01:02:25 +0000 (18:02 -0700)]
Merge "Update UML files for class and sequence diagrams" into tizen

7 years agofix bugs of ode app 14/118414/1 accepted/tizen/common/20170310.122351 accepted/tizen/ivi/20170310.103243 accepted/tizen/mobile/20170310.103155 accepted/tizen/tv/20170310.103208 accepted/tizen/unified/20170310.104900 accepted/tizen/wearable/20170310.103223 submit/tizen/20170310.085026 submit/tizen_unified/20170310.103913
yeji01kim [Fri, 10 Mar 2017 08:38:10 +0000 (17:38 +0900)]
fix bugs of ode app

modified to update the next button properly

Change-Id: Ida531b6661f5f3a0129181940c8bead8ce0456e9
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
7 years agoUpdate UML files for class and sequence diagrams 90/117190/2
Sungjun, Lee [Fri, 3 Mar 2017 07:01:18 +0000 (16:01 +0900)]
Update UML files for class and sequence diagrams

Change-Id: Ic7ad6e6cd95a9fa791e15bea437730f41e537f22
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
7 years agoExt4Engine: Remove unneccesary unmount in decryption 45/116445/2
Sungbae Yoo [Fri, 24 Feb 2017 09:31:47 +0000 (18:31 +0900)]
Ext4Engine: Remove unneccesary unmount in decryption

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

7 years agoAdd UML files for class and sequence diagrams 02/115702/6 accepted/tizen/common/20170227.043122 accepted/tizen/ivi/20170227.050303 accepted/tizen/mobile/20170227.050213 accepted/tizen/tv/20170227.050229 accepted/tizen/unified/20170309.033756 accepted/tizen/wearable/20170227.050244 submit/tizen/20170224.093500 submit/tizen_unified/20170308.100409
Sungjun, Lee [Tue, 21 Feb 2017 05:43:59 +0000 (14:43 +0900)]
Add UML files for class and sequence diagrams

Change-Id: I1eab0f7702225cfeeee488c0418c847c57d5ec58
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
7 years agoRefactor ode application 12/116012/9
yeji01kim [Wed, 22 Feb 2017 10:17:08 +0000 (19:17 +0900)]
Refactor ode application

Change-Id: I6083137d4712f5d97a7b527c3ab63948499327c9
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
7 years agoFix to improve failing umount before internal encryption/decryption 94/116194/1
Sungbae Yoo [Thu, 23 Feb 2017 09:08:41 +0000 (18:08 +0900)]
Fix to improve failing umount before internal encryption/decryption

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

7 years agoRefactor Ext4 Engine 21/115321/8
Sungbae Yoo [Fri, 17 Feb 2017 09:31:14 +0000 (18:31 +0900)]
Refactor Ext4 Engine

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

7 years agoAdd ODE Lockscreen to mount internal storage. 15/115315/7 accepted/tizen/common/20170221.135536 accepted/tizen/ivi/20170221.225440 accepted/tizen/mobile/20170221.225353 accepted/tizen/tv/20170221.225408 accepted/tizen/wearable/20170221.225421 submit/tizen/20170221.090407
seolheui,kim [Fri, 17 Feb 2017 09:21:27 +0000 (18:21 +0900)]
Add ODE Lockscreen to mount internal storage.

Change-Id: I9208badf44a3cd885b919c444c2b7bfe392431ff
Signed-off-by: seolheui,kim <s414.kim@samsung.com>
7 years agoRefactor DMCrypt Engine 01/114801/5
Seok Hong [Wed, 15 Feb 2017 06:00:36 +0000 (15:00 +0900)]
Refactor DMCrypt Engine

Change-Id: I7db8ac84eeb6de8def09c5e0fe7968c22fc2dbbf
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
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>