platform/core/security/key-manager.git
9 years agoAdded DSA keys support. 42/28842/1
Maciej J. Karpiuk [Wed, 24 Sep 2014 08:27:04 +0000 (10:27 +0200)]
Added DSA keys support.

Change-Id: I0c360eae90df1961e8de8a4e74f2a7c964494643

9 years agoFix Prevent defect about array_null 41/28841/1
kyungwook tak [Tue, 30 Sep 2014 00:33:35 +0000 (09:33 +0900)]
Fix Prevent defect about array_null

Change-Id: I2cd69947605d3df14c36ced7048eeef0af1edb10
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoAdd missing words in doxygen 40/28840/1
yuseok.jeon [Thu, 25 Sep 2014 09:12:33 +0000 (18:12 +0900)]
Add missing words in doxygen

Change-Id: Id4c09496b6986ecaecfaab6b10b6af2b79819b56
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agodecreased iteration count into 1000 in PBKDF 39/28839/1
Dongsun Lee [Wed, 24 Sep 2014 02:33:54 +0000 (11:33 +0900)]
decreased iteration count into 1000 in PBKDF

Change-Id: Ibf8111712201b193b54bdc431c0d3c1ec37686a4
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
9 years agoFixed ckm internal db_crypto test - tag is now mandatory. 38/28838/1
Maciej J. Karpiuk [Tue, 23 Sep 2014 14:13:20 +0000 (16:13 +0200)]
Fixed ckm internal db_crypto test - tag is now mandatory.

Change-Id: I8e85f3f4511bb721decede8b3301b2d030dd75b2

9 years agoFix doxygen about unnecessary references of internal APIs 37/28837/1
yuseok.jeon [Thu, 18 Sep 2014 02:35:02 +0000 (11:35 +0900)]
Fix doxygen about unnecessary references of internal APIs

Change-Id: I0c4540d09d46eb1de23b9536fc047ed7745dbde3
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agochange privilege level into non-privilege for ckmc-type.h 36/28836/1
Dongsun Lee [Wed, 17 Sep 2014 06:44:52 +0000 (15:44 +0900)]
change privilege level into non-privilege for ckmc-type.h

Change-Id: Iee4903a6dba468b2f302031df1676ff3626659df
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
9 years agoFix false return value about requesting non-existent data 35/28835/1
yuseok.jeon [Wed, 17 Sep 2014 02:17:41 +0000 (11:17 +0900)]
Fix false return value about requesting non-existent data

Change-Id: Ibe70d375a6b9eab145c850f40068d0d1c833cfd6
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agoRemoving data of deleted application during lock state 34/28834/1
Dongsun Lee [Fri, 12 Sep 2014 05:52:22 +0000 (14:52 +0900)]
Removing data of deleted application during lock state

Change-Id: Id465b2dfd2ed37d8b54b1c191da8785a4dbc42cb

9 years agoClean up database during unlock operation. 33/28833/1
Zofia Abramowska [Mon, 15 Sep 2014 13:30:25 +0000 (15:30 +0200)]
Clean up database during unlock operation.

Change-Id: I56c9357419515b01f7013a9db2ab03925d453464

9 years agoFix build break in security-tests repository. 32/28832/1
Bartlomiej Grzelewski [Mon, 15 Sep 2014 12:50:18 +0000 (14:50 +0200)]
Fix build break in security-tests repository.

Build break was caused by function Key::create and PKCS12::create.
Key::create function was defined in key-manager-common library. This
library was not linked with security-tests binaries.
PKCS12::create function was not compiled in library because of a bug in
cmake file.

Change-Id: Ifc9757ff69ef73933b366a7a6c6c49a551757e48

9 years agoFix doxygen documents about removing restrict mechanism 31/28831/1
yuseok.jeon [Mon, 15 Sep 2014 05:39:13 +0000 (14:39 +0900)]
Fix doxygen documents about removing restrict mechanism

Change-Id: I0ec7aec9549b9f341a80329714371e628dff09cd
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agoAdd dependency of libkey-manager-common to libkey-manager-client 30/28830/1
kyungwook tak [Mon, 15 Sep 2014 05:12:06 +0000 (14:12 +0900)]
Add dependency of libkey-manager-common to libkey-manager-client

Change-Id: I240b5b104d529eabffce088cf0809d8023ddad11
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoAdd new package with common library 29/28829/1
Bartlomiej Grzelewski [Mon, 18 Aug 2014 09:31:04 +0000 (11:31 +0200)]
Add new package with common library

Change-Id: I6f518f80e7489bd27156caa0c605d594eb022f43
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoRemove restrict mechanism. 28/28828/1
Bartlomiej Grzelewski [Wed, 10 Sep 2014 08:35:28 +0000 (10:35 +0200)]
Remove restrict mechanism.

Restrict mechanism will be replaced with ACL (access control list).

Change-Id: I383d6ff1a74d15189c6219e8c800c7a992a71537

9 years agoFix buildbreak on wayland x86_64 14/28114/2 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi accepted/tizen/common/20140926.144326 accepted/tizen/ivi/20141006.083203 submit/tizen/20140926.142609 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
Krzysztof Jackiewicz [Fri, 26 Sep 2014 08:33:53 +0000 (10:33 +0200)]
Fix buildbreak on wayland x86_64

Change-Id: Id9ad5da78b5bee5bd1c15870c7857eb311ed1113

10 years agoClass naming scheme re-factoring: move towards better consistency. 78/27678/1 accepted/tizen/common/20140925.172038 submit/tizen/20140925.122603
Maciej J. Karpiuk [Wed, 17 Sep 2014 11:34:14 +0000 (13:34 +0200)]
Class naming scheme re-factoring: move towards better consistency.

Change-Id: I8ad4d19991c92f5268ef1f0a411258c848c83c64

10 years agoAdded base error code declaration. 92/27592/3
Maciej J. Karpiuk [Tue, 16 Sep 2014 09:43:15 +0000 (11:43 +0200)]
Added base error code declaration.

TODO: this is temporary solution.
The error code base should be eventually moved into tizen_error.h.

Change-Id: Ic587d539545fb3d34f6330ca23921e2d70083436

10 years agoBuild fixes, changes: 35/27535/4
Maciej J. Karpiuk [Mon, 15 Sep 2014 13:47:13 +0000 (15:47 +0200)]
Build fixes, changes:

* added pthread dependency;
* _FORTIFY_SOURCE disabled when in DEBUG mode;

Change-Id: Ibcc94a0aec92bbc4714566948b02377b105a0eb0

10 years agoRemove dependency to ckm-key-provider.h.
kyungwook tak [Fri, 12 Sep 2014 07:55:12 +0000 (16:55 +0900)]
Remove dependency to ckm-key-provider.h.

This commit removes dependency to device specific code.

Change-Id: If6443737e844feb0c9d0eb3a17693876b1a870da
Signed-off-by: kyungwook tak <k.tak@samsung.com>
10 years agoChange AES CBC mode into AES GCM.
Bartlomiej Grzelewski [Tue, 9 Sep 2014 11:54:36 +0000 (13:54 +0200)]
Change AES CBC mode into AES GCM.

Change-Id: I1335d6fdb61ca29e8dfcdcd4901b485fb4ebf4ec

10 years agoAdd new DEK to encrypt database.
Bartlomiej Grzelewski [Fri, 5 Sep 2014 14:33:13 +0000 (16:33 +0200)]
Add new DEK to encrypt database.

Database mustn't be encrypted with user Domain KEK so we need to
generate special DEK for database.

Change-Id: I9de405c44ed3a17eb11e70255962b908e199ae0d

10 years agoFix Prevent defects in ckmc APIs
kyungwook tak [Thu, 11 Sep 2014 05:22:19 +0000 (14:22 +0900)]
Fix Prevent defects in ckmc APIs

Change-Id: I305c5700b66a6b9539b30fc69d203b128240a15b
Signed-off-by: kyungwook tak <k.tak@samsung.com>
10 years agoFix implementation of ckmc_get_*_alias_list.
Bartlomiej Grzelewski [Fri, 5 Sep 2014 09:49:59 +0000 (11:49 +0200)]
Fix implementation of ckmc_get_*_alias_list.

List of fixes:
 * output parameter will now always be set to NULL
 * replace malloc/memset/memcpy with strndup call.

Change-Id: I8500386608c17abb4fafb0cd6aeee51ae16c2b3a

10 years agoFix memory allocation in CAPI.
Bartlomiej Grzelewski [Fri, 5 Sep 2014 09:49:59 +0000 (11:49 +0200)]
Fix memory allocation in CAPI.

In C-API memory was allocated with operator new but freed with free().

Change-Id: Ib7ab6742bbde1e97fb2a0479b907e748861464c4

10 years agoRemove deprecated manifest. Fix manifest installation.
Bartlomiej Grzelewski [Wed, 3 Sep 2014 13:16:28 +0000 (15:16 +0200)]
Remove deprecated manifest. Fix manifest installation.

List of changes:
 * Only packages that will be installed on target have manifest.
 * Only one manifest per package is allowed.
 * Remove installation of manifest from CMakeLists.txt.
   Manifest are required by rpm during package created and are not
   required during build time.

Change-Id: Ic742443718f3d53bff06590a44bdb73511788c64

10 years agoAdd move ctors/operators to MessageBuffer and BinaryQueue
Krzysztof Jackiewicz [Wed, 27 Aug 2014 09:37:25 +0000 (11:37 +0200)]
Add move ctors/operators to MessageBuffer and BinaryQueue

Default implementations of move constructors and operators were added to make
objects of these classess movable.

Change-Id: I03322ead292adc29bed8a859fb7bc640b16fd251

10 years agoMake socket connection function available
Krzysztof Jackiewicz [Mon, 25 Aug 2014 08:06:47 +0000 (10:06 +0200)]
Make socket connection function available

Socket connection logic is necessary for asynchronous interface but wrapping
sockets in SockRAII class is unwanted, therefore the connection function has
been extracted from SockRAII and made available for other components.

Change-Id: I9a65df3bb99687156f6d1d3d11bc8a701eb962b2

10 years agoAdd NONCOPYABLE macro
Krzysztof Jackiewicz [Thu, 21 Aug 2014 09:52:14 +0000 (11:52 +0200)]
Add NONCOPYABLE macro

Declaring class noncopyable requires explicit deletion of a constructor and
operator. To simplify it, the NONCOPYABLE macro has been added.

Change-Id: Iee4e1824238033f4f5719b96c88f18b4400213fb

10 years agoVersion 0.1.4
Bartlomiej Grzelewski [Mon, 1 Sep 2014 11:30:14 +0000 (13:30 +0200)]
Version 0.1.4

Add functions:
* Add parser for pkcs12 files (class PKCS12).

Change-Id: I5f5d72a2d5bd02012a2dfdd04529c56d7f4de9be

10 years agoAdd additional error logs in ocsp module.
Bartlomiej Grzelewski [Mon, 1 Sep 2014 09:43:29 +0000 (11:43 +0200)]
Add additional error logs in ocsp module.

Change-Id: I4a474d4cafd550d5db02e2c1b53f62f96ebfa83b

10 years agoImplementation of PKCS12 class.
Bartlomiej Grzelewski [Wed, 20 Aug 2014 15:00:02 +0000 (17:00 +0200)]
Implementation of PKCS12 class.

Change-Id: Ie377ced1fafb8f406211c264697f0c8219f04f03

10 years agoFix implementation create methods.
Bartlomiej Grzelewski [Fri, 22 Aug 2014 16:30:26 +0000 (18:30 +0200)]
Fix implementation create methods.

Old immplementation was able to throw exception if memory allocation
faid. New implementation will return empty shared_ptr. Fixes were applied to:
 * Key::create
 * Certificate::create
 * Control::create
 * Storage::create

Change-Id: I6c9634b3df0d84f59bb0500c022d7dc3f4e97c72

10 years agoFix doxygen documents
yuseok.jeon [Mon, 25 Aug 2014 06:09:21 +0000 (15:09 +0900)]
Fix doxygen documents

Change-Id: I17e769bc826c0840aa46b88e9131d9f953e35376
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
10 years agoRun key-manager-listener by systemd instead key-manager.
Bartlomiej Grzelewski [Thu, 21 Aug 2014 15:32:36 +0000 (17:32 +0200)]
Run key-manager-listener by systemd instead key-manager.

Change-Id: Ifca5fc4d8ed8d17a1da80677d3acf2b2260243d6

10 years agoMove key-manager-listener to new package.
Bartlomiej Grzelewski [Thu, 21 Aug 2014 15:10:11 +0000 (17:10 +0200)]
Move key-manager-listener to new package.

Change-Id: I1e0e8988548664079f403684a0057ac65c177dd5

10 years agoRemove internel header include path which shouldn't be open in .pc file
kyungwook tak [Thu, 21 Aug 2014 06:55:22 +0000 (15:55 +0900)]
Remove internel header include path which shouldn't be open in .pc file

Change-Id: Iff5c3673c0b7d54e244d25b1d10c9f64fde94e93
Signed-off-by: kyungwook tak <k.tak@samsung.com>
10 years agofix doxygen documents for struct
Dong Sun Lee [Thu, 21 Aug 2014 01:45:06 +0000 (10:45 +0900)]
fix doxygen documents for struct

Change-Id: Ibe3ff15ea8289a09deffa0f48f3c26d74f2332a1
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
10 years agoUpdate key-manager manifest file
kyungwook tak [Tue, 19 Aug 2014 09:46:57 +0000 (18:46 +0900)]
Update key-manager manifest file

Change-Id: I0feff86cb905db1d8c8a7b6d291411c5010a2b99
Signed-off-by: kyungwook tak <k.tak@samsung.com>
10 years agoRemove echo service.
Bartlomiej Grzelewski [Mon, 18 Aug 2014 09:04:24 +0000 (11:04 +0200)]
Remove echo service.

Change-Id: I13a25e3b8d8ddaba6f07d37191644dc813301a03

10 years agoFix build error by getting return value of system function
kyungwook tak [Tue, 19 Aug 2014 05:21:24 +0000 (14:21 +0900)]
Fix build error by getting return value of system function

Change-Id: Ib21801520253097f88fa5ec34c5299227dd02c03
Signed-off-by: kyungwook tak <k.tak@samsung.com>
10 years agoAdd ocps socket to key-manager.service.
Bartlomiej Grzelewski [Mon, 18 Aug 2014 11:42:45 +0000 (13:42 +0200)]
Add ocps socket to key-manager.service.

Change-Id: I6758098ae5da599a43c7b18095da90e1296385fa

10 years agoRun key-manager-listener during key-manager start.
Bartlomiej Grzelewski [Tue, 12 Aug 2014 15:36:43 +0000 (17:36 +0200)]
Run key-manager-listener during key-manager start.

Change-Id: Ife90f0e5091448cee27761ed6fe858d781cfdd54

10 years agoFirst implementation of ckm-listener-daemon.
Bartlomiej Grzelewski [Thu, 7 Aug 2014 12:23:45 +0000 (14:23 +0200)]
First implementation of ckm-listener-daemon.

Change-Id: I80bb8dd113568a7059755a0d1a446c9feae25e6b

10 years agoWorkaround solution for locktype=None
Dong Sun Lee [Tue, 12 Aug 2014 06:08:25 +0000 (15:08 +0900)]
Workaround solution for locktype=None

Change-Id: Id57bd642a1df3d9b8f0e2bd7923974c2c6a92382
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
10 years agoAdd include path 'client-capi' for control-client library
kyungwook tak [Mon, 11 Aug 2014 10:48:06 +0000 (19:48 +0900)]
Add include path 'client-capi' for control-client library

Change-Id: I1d7a2e11e56bf69464798a45a114357e63d6f8f2
Signed-off-by: kyungwook tak <k.tak@samsung.com>
10 years agoAdd SafeBuffer test
Krzysztof Jackiewicz [Wed, 9 Jul 2014 13:30:40 +0000 (15:30 +0200)]
Add SafeBuffer test

Change-Id: I0bae252c754ebcf99b5206ad37a634447e611392

10 years agoRemove TransitoryString
Krzysztof Jackiewicz [Wed, 9 Jul 2014 10:15:04 +0000 (12:15 +0200)]
Remove TransitoryString

Change-Id: Icc38818df54e49f1ca7a8e71b14c4c2f7933eb74

10 years agoAdd api CKM::Control::removeApplicationData
Bartlomiej Grzelewski [Wed, 6 Aug 2014 13:27:45 +0000 (15:27 +0200)]
Add api CKM::Control::removeApplicationData

This api may be used during application uninstallation to remove
all application data from ckm datbase.

Change-Id: I5526744d9fface01621e755c7a09072ffb5c0548

10 years agoFix build break.
Bartlomiej Grzelewski [Thu, 7 Aug 2014 13:12:35 +0000 (15:12 +0200)]
Fix build break.

Fix error: "undefined reference to_ckmc_error".
This error occure when client was linked with control library only.

Change-Id: I9547290aef5a1ee41c94474d189562adf94ddea5

10 years agoFix duplicated sendToServer code in reset_user_password client api
kyungwook tak [Thu, 7 Aug 2014 08:37:49 +0000 (17:37 +0900)]
Fix duplicated sendToServer code in reset_user_password client api

Change-Id: I6fbd839623e89e78b1334f91702d7718589984b0
Signed-off-by: kyungwook tak <k.tak@samsung.com>
10 years agoFix comments for doxygen
kyungwook tak [Thu, 7 Aug 2014 02:04:39 +0000 (11:04 +0900)]
Fix comments for doxygen

Change-Id: Ia0e016a4f5dea8ecff72e8d0c3c880dcc6beb5f5
Signed-off-by: kyungwook tak <k.tak@samsung.com>
10 years agoCode refactoring:
Bartlomiej Grzelewski [Wed, 6 Aug 2014 13:26:23 +0000 (15:26 +0200)]
Code refactoring:

* Replace "throw 1" with "Throw(Exception::BrokenProtocol)".
* Remove const in virtual method in Control class.
* Simplified ControlImpl implementation.

Change-Id: I1236585980a0748283e0415ab815fdbb7a16b88c

10 years agoApply TIZEN_ERROR_KEY_MANAGER value of tizen.error.h
yuseok.jeon [Wed, 6 Aug 2014 07:02:49 +0000 (16:02 +0900)]
Apply TIZEN_ERROR_KEY_MANAGER value of tizen.error.h

Change-Id: Ib5893f934e34674ff0f9e94c6436ce0a37647cad
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
10 years agoFix doc related to exportable flag
yuseok.jeon [Wed, 6 Aug 2014 02:27:26 +0000 (11:27 +0900)]
Fix doc related to exportable flag

Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
10 years agoFix implementation of exportable flag.
Bartlomiej Grzelewski [Mon, 4 Aug 2014 12:29:28 +0000 (14:29 +0200)]
Fix implementation of exportable flag.

Change-Id: I08337d7e1e0bfd5194748d824b0bebe598bb6edc

10 years agoFix error in ckmc_load_from_pkcs12_file
kyungwook tak [Wed, 30 Jul 2014 12:01:42 +0000 (21:01 +0900)]
Fix error in ckmc_load_from_pkcs12_file

Change-Id: I3747778d1f53b88f9001ce404c8f1603465ca292
Signed-off-by: kyungwook tak <k.tak@samsung.com>
10 years agoFix doc include section
kyungwook tak [Wed, 30 Jul 2014 05:29:00 +0000 (14:29 +0900)]
Fix doc include section

Change-Id: I9965a9ff0c27a1939b1a3240bffd6a78d375b25c
Signed-off-by: kyungwook tak <k.tak@samsung.com>
10 years agoFix rootstrap error
kyungwook tak [Mon, 28 Jul 2014 11:45:27 +0000 (20:45 +0900)]
Fix rootstrap error

Change-Id: Ia9ebea239c5190d53e7b0d7173e49723cc21bacc
Signed-off-by: kyungwook tak <k.tak@samsung.com>
10 years agoRemove compilation warrnings from sqlcipher.
Bartlomiej Grzelewski [Thu, 24 Jul 2014 10:41:13 +0000 (12:41 +0200)]
Remove compilation warrnings from sqlcipher.

Change-Id: Ie9b9edcc4c113b228fcebc79a672109842aaaf73

10 years agoReplace std::string with CKM::Password
Bartlomiej Grzelewski [Thu, 24 Jul 2014 16:53:55 +0000 (18:53 +0200)]
Replace std::string with CKM::Password

Change-Id: I695f3beb018d8a2b0a1fe4b17b99cd9cbd60c226

10 years agoTypedef password type
Zofia Abramowska [Wed, 23 Jul 2014 15:24:04 +0000 (17:24 +0200)]
Typedef password type

Change-Id: Ie5430448be3703646b7d04aaed27a8175a95e34f

10 years agoFix dependency about capi-base-common
kyungwook tak [Thu, 24 Jul 2014 08:57:43 +0000 (17:57 +0900)]
Fix dependency about capi-base-common

Change-Id: I2da5516a131907ef29d5b88441b3ac62b237f235
Signed-off-by: kyungwook tak <k.tak@samsung.com>
10 years agoRemove infinite loop from SqlConnection
Zofia Abramowska [Tue, 22 Jul 2014 15:03:30 +0000 (17:03 +0200)]
Remove infinite loop from SqlConnection

Change-Id: I9437401d609e9e2ec57fbb10416b440f0039afba

10 years agoerror names changed for tizen common error
Dong Sun Lee [Thu, 24 Jul 2014 04:38:04 +0000 (13:38 +0900)]
error names changed for tizen common error

Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
10 years agochanged to tizen compatible error type
Dong Sun Lee [Thu, 24 Jul 2014 02:47:49 +0000 (11:47 +0900)]
changed to tizen compatible error type

Change-Id: I10c23ffc36f97824dc5062709711d1ca70ee1c14
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
10 years agoReflect ACR comments for enum and struct in core API
yuseok.jeon [Wed, 23 Jul 2014 12:52:07 +0000 (21:52 +0900)]
Reflect ACR comments for enum and struct in core API

Change-Id: I0ac91b03c310763e30d110f96bdbfd29d32299cc
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
10 years agoRemove deprecated warning from ExecCommand
Zofia Abramowska [Mon, 21 Jul 2014 16:27:01 +0000 (18:27 +0200)]
Remove deprecated warning from ExecCommand

Change-Id: Ia65573cd5bcfeda269b29f0409fff472a4712e1a

10 years agoRewrite checking if row exists when deleting from db
Zofia Abramowska [Mon, 21 Jul 2014 12:51:13 +0000 (14:51 +0200)]
Rewrite checking if row exists when deleting from db

Change-Id: Id953004b2026b649505cada853413232f23519db

10 years agoUse SafeBuffer in C++ api. Rename SafeBuffer to RawBuffer.
Bartlomiej Grzelewski [Wed, 23 Jul 2014 08:53:20 +0000 (10:53 +0200)]
Use SafeBuffer in C++ api. Rename SafeBuffer to RawBuffer.

Change-Id: I99a880490552ab8ed3cc50b9a60adca8a8b62d97

10 years agoVersion 0.1.3
Bartlomiej Grzelewski [Tue, 22 Jul 2014 17:04:11 +0000 (19:04 +0200)]
Version 0.1.3

Change-Id: If29566b13e7fa5e5eb9fc7b6ba4641f65dcdc626

10 years agoChange RawBuffer into SafeBuffer.
Bartlomiej Grzelewski [Thu, 17 Jul 2014 12:27:47 +0000 (14:27 +0200)]
Change RawBuffer into SafeBuffer.

Change-Id: Iccf37f75713c7b573dcd6858fed3b9e530c2c936

10 years agoReplace private implemetation with interface.
Bartlomiej Grzelewski [Fri, 18 Jul 2014 13:12:53 +0000 (15:12 +0200)]
Replace private implemetation with interface.

Change-Id: Ib09abbfd83231ac16ae5b822a99ba18600351a73

10 years agoRemove unused header file key-aes.h
Bartlomiej Grzelewski [Fri, 18 Jul 2014 13:12:53 +0000 (15:12 +0200)]
Remove unused header file key-aes.h

Change-Id: I26c22b3ac7dc2049c313f54ca9d897c686470c70

10 years agoAdd API_ERROR_DB_ALIAS_UNKNOWN error handle code in data remove functions
yuseok.jeon [Fri, 18 Jul 2014 10:39:14 +0000 (19:39 +0900)]
Add API_ERROR_DB_ALIAS_UNKNOWN error handle code in data remove functions

Change-Id: I0eed434b775b6a2b38c970e293bbfed7fefe24c0
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
10 years agomodify Doxygen Overview Image
Dong Sun Lee [Fri, 18 Jul 2014 08:57:25 +0000 (17:57 +0900)]
modify Doxygen Overview Image

Change-Id: Ie6685f9dbcb1e704c11e16e329c19ada47b88d5d
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
10 years agotagged as Internal for control API
Dong Sun Lee [Fri, 18 Jul 2014 04:57:29 +0000 (13:57 +0900)]
tagged as Internal for control API

Change-Id: I8d3c7178e5232aed0b1aeac7030775dcf0d39f13
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
10 years agosplit doxygen module into 3 sub modules
Dong Sun Lee [Fri, 18 Jul 2014 04:25:41 +0000 (13:25 +0900)]
split doxygen module into 3 sub modules

Change-Id: I2c0aea8cbbc58b024c34c1f031b7179c05e490f5
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
10 years agoadd doc directory for doxygen
Dong Sun Lee [Fri, 18 Jul 2014 00:28:17 +0000 (09:28 +0900)]
add doc directory for doxygen

Change-Id: I51403514aa64297379fbb076a3ef4a854f395531
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
10 years agoVersion 0.1.2
Bartlomiej Grzelewski [Thu, 17 Jul 2014 15:56:11 +0000 (17:56 +0200)]
Version 0.1.2

Add functions:
* Manager::getCertificateChain
* Manager::ocspCheck

Change-Id: I03ebf9b816c44d032132e0df9f5aa53fa8ecc097

10 years agoFix implementation of SetKey.
Bartlomiej Grzelewski [Thu, 17 Jul 2014 15:34:56 +0000 (17:34 +0200)]
Fix implementation of SetKey.

Change-Id: I0075fe26c44313c38b0ee0d7d80b2a1fdf372415

10 years agoAdd SafeBuffer
Krzysztof Jackiewicz [Mon, 7 Jul 2014 07:14:12 +0000 (09:14 +0200)]
Add SafeBuffer

Change-Id: Ic7cb9941742472484cd3c10a2fb9a8e7cf6063e0

10 years agoChange smack labels for sockets.
Bartlomiej Grzelewski [Wed, 16 Jul 2014 13:41:14 +0000 (15:41 +0200)]
Change smack labels for sockets.

Current status:
* key-manager::api-control (gives access to api CKM::Control)
* key-manager::api-ocsp (gives access to api CKM::Manager::ocspCheck)
* key-manager::api-storage (gives access to rest of api implemented in CKM::Manager)

Change-Id: I64a28042e358c88ced34b89d69d3b54f91124dc7

10 years agoReplace tabulators with spaces in ocsp.* files.
Bartlomiej Grzelewski [Wed, 16 Jul 2014 13:35:21 +0000 (15:35 +0200)]
Replace tabulators with spaces in ocsp.* files.

Change-Id: I08ae78cdf69aa7bd759097f2f0a3841f6f80e99b

10 years agoAdd debug logs to ocsp.
Bartlomiej Grzelewski [Mon, 14 Jul 2014 14:18:33 +0000 (16:18 +0200)]
Add debug logs to ocsp.

Change-Id: Ie38b999a0abbf474024c505384c57c144143b9e2

10 years agoImplementation of primitives in CertificateImpl class.
Bartlomiej Grzelewski [Mon, 14 Jul 2014 14:15:15 +0000 (16:15 +0200)]
Implementation of primitives in CertificateImpl class.

Now you can extrat values of Subject/Issuer fiels directly from
CertificateImpl class.

Change-Id: I521df36d1fddd384ace13a5e338f3914221f5dbe

10 years agoFix compilation error in c-api.
Bartlomiej Grzelewski [Wed, 16 Jul 2014 13:04:15 +0000 (15:04 +0200)]
Fix compilation error in c-api.

Change-Id: I923ae176c42e447ae6a9e10da5d518b9bb32c41b

10 years agoChanges in Prefix ckm->ckmc in C API
Dong Sun Lee [Wed, 16 Jul 2014 08:35:32 +0000 (17:35 +0900)]
Changes in Prefix ckm->ckmc in C API

Change-Id: I5c1c60eb51ba46a73125b8a94ba09722b2604438
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
10 years agoFix names of C language client APIs
yuseok.jeon [Wed, 16 Jul 2014 05:22:36 +0000 (14:22 +0900)]
Fix names of C language client APIs

Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
10 years agoAdd exceptions related to control APIs
yuseok.jeon [Tue, 15 Jul 2014 07:56:04 +0000 (16:56 +0900)]
Add exceptions related to control APIs

Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
10 years agoAdd systemd configuration for ocsp service.
Bartlomiej Grzelewski [Tue, 15 Jul 2014 12:15:57 +0000 (14:15 +0200)]
Add systemd configuration for ocsp service.

Change-Id: Id7ceda142619d38e8df08349fac4a1590ef55ef2

10 years agoOCSP implementation.
Bartlomiej Grzelewski [Fri, 11 Jul 2014 12:03:54 +0000 (14:03 +0200)]
OCSP implementation.

Change-Id: I4cf8d99b0c3ec262c7f65e5fc3b7ef2fca2b3287

10 years agoAdd explanations of C client APIs
yuseok.jeon [Mon, 14 Jul 2014 11:33:00 +0000 (20:33 +0900)]
Add explanations of C client APIs

Change-Id: If88a537ebc911e9f58051cef97e5ce3c81cadf88
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
10 years agoFix build break.
Bartlomiej Grzelewski [Fri, 11 Jul 2014 14:30:19 +0000 (16:30 +0200)]
Fix build break.

Change-Id: I95a59f803d1f07841eecc4515de5378a6af431e8

10 years agoFix C language APIs of client
yuseok.jeon [Thu, 10 Jul 2014 06:29:39 +0000 (15:29 +0900)]
Fix C language APIs of client

Change-Id: I0fa3f99328d61f67ca97ac7bbdc851d09dbe5002

10 years agoFix bugs.
Bartlomiej Grzelewski [Thu, 10 Jul 2014 09:38:17 +0000 (11:38 +0200)]
Fix bugs.

Socket activation did not work because systemd sockets names did not
match socket names provided by services.

Change-Id: Ice4a0db2eee0ab7d6b5ef60be0e2a5dabb41d69d

10 years agoAdd crypto module.
Bartlomiej Grzelewski [Fri, 4 Jul 2014 16:54:03 +0000 (18:54 +0200)]
Add crypto module.

Reiplementation of crypto-logic (old name DBCryptoModule).

Change-Id: Id1bdd4d48ee342ede3cf8cb78ff6c30a294ec541

10 years agoAdded initial version of aesCrypt and Digest modules.
Sebastian Grabowski [Mon, 16 Jun 2014 13:33:34 +0000 (15:33 +0200)]
Added initial version of aesCrypt and Digest modules.

Added new classes for handling AES encryption and digest calculation.

Change-Id: Ic538130ff86eb53ee5c0446212e1cf628cca708e

10 years agoFix compilation errors in c-api.
Bartlomiej Grzelewski [Tue, 8 Jul 2014 12:02:41 +0000 (14:02 +0200)]
Fix compilation errors in c-api.

Change-Id: Id22a79b12decc43b3b16c50fc70c14814358fdf0

10 years agoFix errors find by valgrid.
Bartlomiej Grzelewski [Mon, 7 Jul 2014 19:21:41 +0000 (21:21 +0200)]
Fix errors find by valgrid.

Change-Id: Id123d90a8c59ac0b72c3d95823bf22c03de371d5