platform/core/security/key-manager.git
9 years agoclient-key, client-key-impl, client-certificate, and client-certificate-impl are...
Dongsun Lee [Thu, 5 Jun 2014 00:25:46 +0000 (09:25 +0900)]
client-key, client-key-impl, client-certificate, and client-certificate-impl are used in service also. So they are moved to common directory

Change-Id: I85d74b5e5fd3c7a6a38da654b3c79ad2e86dcea7
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
9 years agoAdd support for credentials.
Bartlomiej Grzelewski [Wed, 4 Jun 2014 12:39:07 +0000 (14:39 +0200)]
Add support for credentials.

Change-Id: Iab89ed704ec7d86f71989fa25838d08bbabbf58b

9 years agoInitial commit of DBCryptoModule
Sebastian Grabowski [Tue, 3 Jun 2014 07:22:34 +0000 (09:22 +0200)]
Initial commit of DBCryptoModule

Change-Id: Id3c0714b86f4b49f0caa1c7cac18c00db81f3c23

9 years agoFix assert.h file
Zofia Abramowska [Wed, 4 Jun 2014 12:52:17 +0000 (14:52 +0200)]
Fix assert.h file

Add missing <string> include

Change-Id: Id44ed232512b15e032a53cbec8c111f330980705

9 years agoAdapt SQLConnection to sqlcipher
Zofia Abramowska [Thu, 29 May 2014 08:45:39 +0000 (10:45 +0200)]
Adapt SQLConnection to sqlcipher

Added public methods for key setting and resetting using
sqlcipher sqlite3_key and sqlite3_rekey functions.

Change-Id: I8a1136beb1bb9b962b72635c254eb211237fc851

9 years agoAdd sqlcipher and SqlConnection
Zofia Abramowska [Tue, 27 May 2014 14:45:11 +0000 (16:45 +0200)]
Add sqlcipher and SqlConnection

Change-Id: I546d89fb361dea033198cddc0a26fa1c847fb25c

9 years agoremove not-used line
Dongsun Lee [Wed, 4 Jun 2014 09:09:04 +0000 (18:09 +0900)]
remove not-used line

Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
9 years agoInitial version of OCSP implementation
Dong Sun Lee [Mon, 2 Jun 2014 10:53:21 +0000 (19:53 +0900)]
Initial version of OCSP implementation

Change-Id: I5027fd53bac79248640b8052891ae35c768f7a12
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
9 years agoimprove skmm dummy
kyungwook tak [Wed, 4 Jun 2014 06:57:34 +0000 (15:57 +0900)]
improve skmm dummy

Change-Id: I0ce6e5f8efc4a19993de2b984f515ec06d97a483
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoAdd support for requestXXXAliasVector methods.
Bartlomiej Grzelewski [Tue, 3 Jun 2014 16:16:47 +0000 (18:16 +0200)]
Add support for requestXXXAliasVector methods.

Change-Id: If2603c83f43586c400e3ff6750e0d88f61d32583

9 years agoAll password are stored in std::string now.
Bartlomiej Grzelewski [Tue, 3 Jun 2014 14:48:47 +0000 (16:48 +0200)]
All password are stored in std::string now.

Change-Id: I4032fc43493102d30d0c6d1c6f0edcbdd3f0f4de

9 years agoReplace RawData with RawBuffer.
Bartlomiej Grzelewski [Tue, 3 Jun 2014 14:05:16 +0000 (16:05 +0200)]
Replace RawData with RawBuffer.

Change-Id: Ie188a489c3b122bde1b725de2d21887bdd644a5a

9 years agoMove pc file to build directory.
Bartlomiej Grzelewski [Tue, 3 Jun 2014 12:26:06 +0000 (14:26 +0200)]
Move pc file to build directory.

Add dummy responses to Control protocol.

Change-Id: I76d44f1d0dc52daa455ea7283bfd2435715d3c7c

9 years agoAdd support for UserData in client library.
Bartlomiej Grzelewski [Tue, 3 Jun 2014 10:07:52 +0000 (12:07 +0200)]
Add support for UserData in client library.

Change-Id: Ibc4d261f20a85f019be4c1efac1fa4fd452c525f

9 years agoAdd support for certificates.
Bartlomiej Grzelewski [Mon, 2 Jun 2014 15:16:59 +0000 (17:16 +0200)]
Add support for certificates.

* Implementation of Certificate.
* Implementation of CertificateImpl.
* Implementation of Manager.
* Port class Base64 from cert-svc.

Change-Id: I5d5a6c3ae3cdda15636f3876a9ee9e19f76b1e75

9 years agoService implementation.
Bartlomiej Grzelewski [Mon, 2 Jun 2014 10:05:52 +0000 (12:05 +0200)]
Service implementation.

* Add support for ADD, GET, REMOVE commands.
* Rename StorageCommand to LogicCommand.
* Move KeyImpl from client library to common.

Change-Id: Icd86f5dd6f7442565e542d637bf6bda9fd389aa1

9 years agoremove \r tags added from windows editor
kyungwook tak [Mon, 2 Jun 2014 10:43:35 +0000 (19:43 +0900)]
remove \r tags added from windows editor

Change-Id: Ic07a5a843424a1db7b6f3fc2f3015593375b9e06
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agokey provider version alpha push
kyungwook tak [Mon, 2 Jun 2014 07:44:38 +0000 (16:44 +0900)]
key provider version alpha push

use ckm-key-provider-dummy instead of SKMM library.
dummy library uses xor to unwrap/wrap KEK/DEKs
It's for testing other modules, so it will be improved.

ckm-key-provider.h : SKMM header.
ckm-key-provider-dummy.c : implementation of SKMM dummy
key-provider.cpp : implementation of key-provider

key-aes empty constructor empty implementation added for key-provider
one of key-provider API member function name changed
(decryptDEK -> unwrapDEK)

please feedback at any points.

Change-Id: I5dea33d9bacc2c944ae14e77fd0c00c35bd136e1
Signed-off-by: kyungwook tak <k.tak@samsung.com>
10 years agoAdd Manager Implementation.
Bartlomiej Grzelewski [Fri, 30 May 2014 14:31:19 +0000 (16:31 +0200)]
Add Manager Implementation.

Change-Id: I12db0dc94a111eef089a2ad4d4ed2a5f3023e6ea

10 years agoMove KeyType to ckm-type.h header.
Bartlomiej Grzelewski [Fri, 30 May 2014 14:30:10 +0000 (16:30 +0200)]
Move KeyType to ckm-type.h header.

Change-Id: Ie64f36d6be132b84969bab9fe228be717d20de99

10 years agoAdd replace /usr/include with %{_includedir} in spec file.
Bartlomiej Grzelewski [Fri, 30 May 2014 13:11:02 +0000 (15:11 +0200)]
Add replace /usr/include with %{_includedir} in spec file.

Change-Id: I4389b0cd3647aa50742bf4ca26b5d415877012ab

10 years agoImplementation of Key class.
Bartlomiej Grzelewski [Fri, 30 May 2014 09:01:12 +0000 (11:01 +0200)]
Implementation of Key class.

Change-Id: Ie9b404a8fb5e5fc60f2c4e475337dc34b3b4860b

10 years agoAdd service for control operations.
Bartlomiej Grzelewski [Tue, 27 May 2014 15:06:04 +0000 (17:06 +0200)]
Add service for control operations.

Change-Id: I3e33a962cbeddab29b9dcb61096e5896a2cc8946

10 years agoFix domain name in spec
Zofia Abramowska [Wed, 28 May 2014 10:52:22 +0000 (12:52 +0200)]
Fix domain name in spec

Change requested domain name from "Security" to "_"
due to segmentation fault in rpm.

Change-Id: I3734a03dc0aa43c48c67da044a8ec9e0de28c906

10 years agoChange namespace
Zofia Abramowska [Mon, 26 May 2014 14:04:56 +0000 (16:04 +0200)]
Change namespace

Changing namespace CentralKeyManager to shorter version.

Change-Id: If0ce82ee574a0bb77c4c3e014cec60a2a37240ad

10 years agoFix common library smack dependency
Zofia Abramowska [Mon, 26 May 2014 13:30:56 +0000 (15:30 +0200)]
Fix common library smack dependency

Missing smack dependency in CMakeLists for commons library

Change-Id: Ia1db61e20729f8fe16b316ffde2098aab99ea94e

10 years agofix build error about include file name
kyungwook tak [Tue, 27 May 2014 00:36:15 +0000 (09:36 +0900)]
fix build error about include file name

Change-Id: Iddd3a9a4891a3e2cdb50b91ba2538247f8edb152
Signed-off-by: kyungwook tak <k.tak@samsung.com>
10 years agoAdd header files.
Bartlomiej Grzelewski [Mon, 26 May 2014 14:44:59 +0000 (16:44 +0200)]
Add header files.

Add main header with api. Fix spec file. Add file with error codes.

Change-Id: Idca98151ee80e54b2a0cf2ac86c0f96188ddee73

10 years agoAdd Echo service
Zofia Abramowska [Tue, 20 May 2014 14:15:10 +0000 (16:15 +0200)]
Add Echo service

Adding an example service for key-manager.

Change-Id: I72b30bed332785683fb104850a11b61c062ba8d1

10 years agoInitial commit
Zofia Abramowska [Wed, 14 May 2014 16:39:57 +0000 (18:39 +0200)]
Initial commit

Change-Id: I4e7b15fdcfdc4f4fe6c0b9401d30b9dea038866f

10 years agoInitial empty repository
SLP System [Wed, 14 May 2014 08:54:54 +0000 (17:54 +0900)]
Initial empty repository