platform/core/security/cert-svc.git
8 years agoRefine capi descriptions 38/56438/1
Kyungwook Tak [Thu, 7 Jan 2016 03:10:56 +0000 (12:10 +0900)]
Refine capi descriptions

Change-Id: I80db96c244f41ccb2ccaf005ad0b83c3df25ae97
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoManage null input for empty password on CertSvcString 85/56385/1
Kyungwook Tak [Thu, 7 Jan 2016 07:26:04 +0000 (16:26 +0900)]
Manage null input for empty password on CertSvcString

Change-Id: Ia2ebb8ef2d9fa36ca70f54d834b3706baaee3f47
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoFix log system based on dlog 63/56163/1
Kyungwook Tak [Tue, 5 Jan 2016 05:27:32 +0000 (14:27 +0900)]
Fix log system based on dlog

 * set tag when library loaded by constructor
 * use dlog provider by default to filter log by LOG_TAG
 * use debug log related defined macro by TIZEN_ENGINEER_MODE

Change-Id: I8c2ac953170f53005c4062e2f76d195f387030f9
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoAdd test case for get visibility API 54/56154/1
Kyungwook Tak [Tue, 5 Jan 2016 02:52:07 +0000 (11:52 +0900)]
Add test case for get visibility API

Change-Id: I9d7040bdc0ff106fb0c29f8ff5b2652925e2f927
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoHotfix: path concatenation with '/' 36/56136/1 accepted/tizen/mobile/20160105.044548 accepted/tizen/tv/20160105.044612 accepted/tizen/wearable/20160105.044640 submit/tizen/20160105.010511
Kyungwook Tak [Tue, 5 Jan 2016 00:36:57 +0000 (09:36 +0900)]
Hotfix: path concatenation with '/'

Change-Id: I34980671a799696664bce719fff98b502366944a
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoFix SVACE defects 68/56068/2
Kyungwook Tak [Thu, 31 Dec 2015 04:45:18 +0000 (13:45 +0900)]
Fix SVACE defects

 * dereferencing null
 * memory leak
 * error return value unchecked

Change-Id: If87acb0817190955cc9c49d044a8b6003e7ac238
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoRemove dependency to ca-certificates-mozilla 10/55910/2 accepted/tizen/mobile/20160104.054358 accepted/tizen/tv/20160104.054421 accepted/tizen/wearable/20160104.054440 submit/tizen/20160104.015024 submit/tizen/20160104.015333
Kyungwook Tak [Thu, 31 Dec 2015 05:39:20 +0000 (14:39 +0900)]
Remove dependency to ca-certificates-mozilla

Change-Id: I7578957e7acc26a0baab0a481b8196ed5eb33518
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoFix script to extract last field of cert path 12/56012/1
Kyungwook Tak [Thu, 31 Dec 2015 05:21:13 +0000 (14:21 +0900)]
Fix script to extract last field of cert path

Change-Id: I53aa1a55dc548487d47f9d066cf4a31290597f79
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoMerge "Use define macro for ca-certificates resource path" into tizen
Dong Sun Lee [Wed, 16 Dec 2015 04:03:56 +0000 (20:03 -0800)]
Merge "Use define macro for ca-certificates resource path" into tizen

8 years agoUse define macro for ca-certificates resource path 25/54525/1
Kyungwook Tak [Wed, 16 Dec 2015 02:48:36 +0000 (11:48 +0900)]
Use define macro for ca-certificates resource path

Change-Id: Ic57f4fdb5367493ff8b79f9640b2b50ff57933b7
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoRemove restriction of characters in Referenece URI 85/53885/2 accepted/tizen/mobile/20151210.082856 accepted/tizen/tv/20151210.082808 accepted/tizen/wearable/20151210.082915 submit/tizen/20151210.050120 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Dongsun Lee [Thu, 10 Dec 2015 04:52:40 +0000 (13:52 +0900)]
Remove restriction of characters in Referenece URI

Reference URI can be longer than 128 from ReferenceValidator

Change-Id: I802390dbbaf6bc94b71044d8a9b25193d79e2d37
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
8 years agoUse correct type conversion of size_t for 64b arch 12/52612/1 accepted/tizen/mobile/20151125.072324 accepted/tizen/tv/20151125.072334 accepted/tizen/wearable/20151125.072347 submit/tizen/20151125.053149
Kyungwook Tak [Wed, 25 Nov 2015 05:28:34 +0000 (14:28 +0900)]
Use correct type conversion of size_t for 64b arch

Change-Id: I3dba4c5cd60ce2ca949533dd2f30faa3319378d2
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoVersion upgrade to 2.0.3 06/52606/1 submit/tizen/20151125.015409
Kyungwook Tak [Wed, 25 Nov 2015 01:49:02 +0000 (10:49 +0900)]
Version upgrade to 2.0.3

Change-Id: I7daa94942e21aee739cff0d31aa9abf6687caeb8
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoMove db initialize func and make deinit func 68/52568/3
Kyungwook Tak [Tue, 24 Nov 2015 10:54:44 +0000 (19:54 +0900)]
Move db initialize func and make deinit func

Change-Id: Ice552ae31b75f2533a1c995990feb50c788ce0f1
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoFix & Refactor internal unit tests 31/52531/6
Kyungwook Tak [Tue, 24 Nov 2015 08:05:25 +0000 (17:05 +0900)]
Fix & Refactor internal unit tests

Change-Id: Ib273d952c21042b9fafb900cc6d3d36e6af69e8a
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoRemove some params in checkList 61/52561/4
Kyungwook Tak [Tue, 24 Nov 2015 08:09:00 +0000 (17:09 +0900)]
Remove some params in checkList

 * checkList checks reference only in list in UriList param
   and it should not check all files in content path.
   So checkReference flag and contentPath isn't needed.

Change-Id: I9e1d15d31fbc63bd0f78e99b6436c719d84e2609
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoRefactor XmlsecAdaptor class 60/52560/4
Kyungwook Tak [Tue, 24 Nov 2015 08:01:16 +0000 (17:01 +0900)]
Refactor XmlsecAdaptor class

Change-Id: Icd2b43ad4e48629b62f478abd949c6105359d9aa
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoError code added on vcore 59/52559/3
Kyungwook Tak [Tue, 24 Nov 2015 07:53:32 +0000 (16:53 +0900)]
Error code added on vcore

Change-Id: I303769a38510edb073959c249c521ce0eabecdae
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoMerge branch 'release-2.0.2' into tizen 72/52272/1 accepted/tizen/mobile/20151122.234351 accepted/tizen/tv/20151122.234358 accepted/tizen/wearable/20151122.234413 submit/tizen/20151120.102953
Kyungwook Tak [Fri, 20 Nov 2015 09:47:00 +0000 (18:47 +0900)]
Merge branch 'release-2.0.2' into tizen

Change-Id: Iccd59a6210832035caeb7c585bed3b4ceeaabc77

8 years agoVersion upgrade to 2.0.2 71/52271/1
Kyungwook Tak [Fri, 20 Nov 2015 09:46:30 +0000 (18:46 +0900)]
Version upgrade to 2.0.2

Change-Id: I3c6da355262594fa790906b40bb57c43ee401615
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoWrite Validator error description detail 67/52267/2
Kyungwook Tak [Fri, 20 Nov 2015 09:28:14 +0000 (18:28 +0900)]
Write Validator error description detail

Change-Id: I274f5984689ca60221d3fb3cf6257d25c5a88227
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoVersion upgrade to 2.0.1 14/52214/1 accepted/tizen/mobile/20151120.070843 accepted/tizen/tv/20151120.070855 accepted/tizen/wearable/20151120.070909 submit/tizen/20151120.024645
Kyungwook Tak [Thu, 19 Nov 2015 07:27:15 +0000 (16:27 +0900)]
Version upgrade to 2.0.1

Change-Id: I1f0b641ec0305a248704aff47adeeab18941f458
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoRefactor TimeConversion class 11/51911/2
Kyungwook Tak [Tue, 17 Nov 2015 04:55:25 +0000 (13:55 +0900)]
Refactor TimeConversion class

 * use latest code from openssl of tizen
 * use one code of time conversion in signature validator

Change-Id: I8c4ef63bcd1e65b42a7f9a0a4a70f51129b806df
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoVersion up to 2.0.0 34/51834/2
Kyungwook Tak [Mon, 16 Nov 2015 11:45:36 +0000 (20:45 +0900)]
Version up to 2.0.0

 * bumped a lot to make difference from lower platform version
   because API set is a lot differ

Change-Id: Ib822b1b693f178f628e5c4cd3b14282866dfa681
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoAdjust Pimpl idiom on signature validator 29/51829/1
Kyungwook Tak [Mon, 16 Nov 2015 11:00:46 +0000 (20:00 +0900)]
Adjust Pimpl idiom on signature validator

 * Support expandable error code/string for plugin
 * Plugin is loaded once when SignatureValidator constructed
 * To hide plugin handler and other classes, pimpl idiom applied

Change-Id: I8597e3489f58a042070b409638bc8a2cdcd17b8d
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoroot ca ssl certs enable/disable feature 51/51451/2 accepted/tizen/mobile/20151112.232401 accepted/tizen/tv/20151112.232411 accepted/tizen/wearable/20151112.232426 submit/tizen/20151112.113302
Kyungwook Tak [Thu, 12 Nov 2015 08:24:14 +0000 (17:24 +0900)]
root ca ssl certs enable/disable feature

(resource provided by ca-certificates package)
ssl ca certs hierarchy
 * orig path   : /usr/share/ca-certificates/certs
        format : openssl hash format (<subject_hash>.[0-9])
 * symlink path   : /etc/ssl/certs/* -> /usr/share/ca-certificates/certs/*
           format : same to orig format

concatenated ca bundle
 * orig path   : /var/lib/ca-certificates/ca-bundle.pem
 * symlink path : /usr/share/cert-svc/ca-certificate.crt (for backward-compatibility)

subject_hash_old format symlinks don't exist in Tizen 3.0 (it existed in lower version)
which is only needed on openssl version lower than 1.0.0 (current : 1.0.2d in Tizen 3.0)

Change-Id: I31b1f79b37b8439d534f326e9bec71e17e6a19c2
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoMerge "Insert ssl table gname column as a subject hash" into tizen
Dong Sun Lee [Thu, 12 Nov 2015 00:12:58 +0000 (16:12 -0800)]
Merge "Insert ssl table gname column as a subject hash" into tizen

8 years agoInsert ssl table gname column as a subject hash 01/51601/1
Kyungwook Tak [Wed, 11 Nov 2015 05:52:10 +0000 (14:52 +0900)]
Insert ssl table gname column as a subject hash

Change-Id: Ic57f2f8e126b0cc55bc4160348f42270b055a10c
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agocmake shared library version sync with spec summary 52/51452/2
Kyungwook Tak [Tue, 10 Nov 2015 01:22:33 +0000 (10:22 +0900)]
cmake shared library version sync with spec summary

Change-Id: I7e052958602e5da144aa6f0611aa5f9bd2740152
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoMake certs-meta.db in build time 85/51385/1
Kyungwook Tak [Mon, 9 Nov 2015 07:28:55 +0000 (16:28 +0900)]
Make certs-meta.db in build time

Change-Id: I928deccdc89f970d0d542e2512ac987ae83dcf2a
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoAdd sample plugin of validator in test package 54/51354/2
Kyungwook Tak [Mon, 9 Nov 2015 05:44:36 +0000 (14:44 +0900)]
Add sample plugin of validator in test package

Change-Id: Ib5a471e9b3672c5b6873b2e6aa4adeb71c500d69
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoPluggable additional step added on validator 53/51353/2
Kyungwook Tak [Mon, 9 Nov 2015 05:32:03 +0000 (14:32 +0900)]
Pluggable additional step added on validator

Change-Id: I39ea6072c147d40f3bb9fbf682ef437936b8ca8d
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoRefactoring cert-server 57/49957/2
Kyungwook Tak [Wed, 21 Oct 2015 07:05:53 +0000 (16:05 +0900)]
Refactoring cert-server

 * Define db handle as a global variable
 * Converting type helper added for readable code

Change-Id: Ib1125d5e6638b2b584d0663668283d81d3aea30a
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoRefactoring pkcs12 import 69/49869/2
Kyungwook Tak [Tue, 20 Oct 2015 06:17:39 +0000 (15:17 +0900)]
Refactoring pkcs12 import

 * Use same group name when pkcs12 imported to multiple db store at same time
 * Rollback db rows correctly in case of error
 * Don't write data to unique file to convert ossl type to pem
 * Downgrade useless nested loop
 * Reduce useless wrapper APIs in pkcs12.h

Change-Id: I5518abe04105bbc3b311014081bfe4085cf47284
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoRemove remaining cert-svc c codes 19/49519/1 accepted/tizen/mobile/20151014.093523 accepted/tizen/tv/20151014.093538 accepted/tizen/wearable/20151014.093555 submit/tizen/20151014.082048 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Kyungwook Tak [Wed, 14 Oct 2015 07:47:08 +0000 (16:47 +0900)]
Remove remaining cert-svc c codes

 * Certificate::createFromFile reimplemented without using cert_svc_load_file_to_context
 * Remove all cert_svc_* related codes clearly
 * cert-svc-client uses dpl log (C++)
 * cert-server uses dlog (C)

Change-Id: I4f31b98e8e31fa716884d611a40ba4e616544363
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoFix minor defects 18/49518/1
Kyungwook Tak [Wed, 14 Oct 2015 04:55:48 +0000 (13:55 +0900)]
Fix minor defects

 * Discard dereferencing case when parse cert buffer
 * negative value was assigned to unsigned int when get cert buffer

Change-Id: I8c33ee25c7eed001e396c8a62b0fd17ab7fff31f
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoAdd .gitignore 63/49463/1
Kyungwook Tak [Tue, 13 Oct 2015 12:03:43 +0000 (21:03 +0900)]
Add .gitignore

Change-Id: Ibe09bb6545d4aecd5f0d5446818dc204d3579846
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoSearch tizen CA dir first when get issuer cert 62/49462/1
Kyungwook Tak [Tue, 13 Oct 2015 12:01:38 +0000 (21:01 +0900)]
Search tizen CA dir first when get issuer cert

Change-Id: I86b749de466aaa3feb54ff957186c388cc59dd38
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoChange deprecated symbol of key-manager 62/49362/1 accepted/tizen/mobile/20151013.071040 accepted/tizen/tv/20151013.071046 accepted/tizen/wearable/20151013.071055 submit/tizen/20151013.045213
Kyungwook Tak [Tue, 13 Oct 2015 02:57:23 +0000 (11:57 +0900)]
Change deprecated symbol of key-manager

Change-Id: I1e92ff02fc1d90d7fae413fe91b917988362149b
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoFix bug : sometimes failed to get root CA 87/49187/4 accepted/tizen/mobile/20151008.134425 accepted/tizen/tv/20151008.134454 accepted/tizen/wearable/20151008.134518 submit/tizen/20151008.063000
Kyungwook Tak [Thu, 8 Oct 2015 06:09:06 +0000 (15:09 +0900)]
Fix bug : sometimes failed to get root CA

[Problem]      Sometimes failed to complete cert chain
[Cause]        getNameHash function return type is std::string.
               But searchByHash function get returned value and use it as .c_str() directly.
               So rvalue isn't saved properly and sometimes it goes to be empty.
[Solution]     Get returned std::string to proper variable(lvalue with std::string)
[Verification] Try 50 times to install sample tpk and no error occured.

Change-Id: Ic4b6e72c0f791546f04f7b37c6f2d1c9c40d1f8a
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoAdd some log and change log level in sig validator 81/49181/3
Kyungwook Tak [Thu, 8 Oct 2015 04:23:22 +0000 (13:23 +0900)]
Add some log and change log level in sig validator

Change-Id: I862d200c82b84e6a0af400d81d4c5004f951853e
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoRemove certsvc_certificate_search API 13/47613/1 accepted/tizen/mobile/20150921.090006 accepted/tizen/tv/20150921.090024 accepted/tizen/wearable/20150921.090027 submit/tizen/20150918.014130 submit/tizen/20150921.012611 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620
Kyungwook Tak [Mon, 7 Sep 2015 04:41:13 +0000 (13:41 +0900)]
Remove certsvc_certificate_search API

The API doesn't needed anymore because storing data in cert-svc repo is removed.
It was in cert-svc library.

Change-Id: Id7365ebd7a24db67c04fa57b1f2689629672f68b
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoRemove cert-svc API, only vcore API remained 19/46719/3
Kyungwook Tak [Tue, 25 Aug 2015 08:56:12 +0000 (17:56 +0900)]
Remove cert-svc API, only vcore API remained

Change-Id: I764cbb3b98a473374097d75ffcdc7ee3a3438cd3
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoRemove useless APIs in cert-svc 44/45944/4 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150824.134548 accepted/tizen/tv/20150824.134553 accepted/tizen/wearable/20150824.134604 submit/tizen/20150824.063103 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Kyungwook Tak [Wed, 12 Aug 2015 08:37:10 +0000 (17:37 +0900)]
Remove useless APIs in cert-svc

verify signature and visibility related APIs are not used in 3.0
there's only one installer (app-installer) and signature validation
step is common code for all installer backends which uses SignatureValidator

Change-Id: Iaefd8b3ebe4da9bf117074e0b7024fe2b9645091
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoAdd trusted cert storage when search certificate 43/45943/2
Kyungwook Tak [Wed, 12 Aug 2015 08:38:41 +0000 (17:38 +0900)]
Add trusted cert storage when search certificate

Change-Id: I8eea0d409da58ed679e76f21935165fd98e121e4
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoAdd ocsp check module in signature validator 45/45945/5
Kyungwook Tak [Fri, 31 Jul 2015 02:29:47 +0000 (11:29 +0900)]
Add ocsp check module in signature validator

Change-Id: I22c8aea943518caa65b5ff4659e6f05c9cc34741
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoAdd more extract field method in Certificate class 20/46320/1
Kyungwook Tak [Thu, 13 Aug 2015 11:25:57 +0000 (20:25 +0900)]
Add more extract field method in Certificate class

Change-Id: Icd0ab04c045f13bb02ab850c61beb5309129d948
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoMerge "Add method in SignatureValidator for cert-checker" into tizen accepted/tizen/mobile/20150811.091445 accepted/tizen/tv/20150811.091454 accepted/tizen/wearable/20150811.091509 submit/tizen/20150811.071205
Dong Sun Lee [Tue, 11 Aug 2015 07:09:48 +0000 (00:09 -0700)]
Merge "Add method in SignatureValidator for cert-checker" into tizen

9 years agoAdd missing resource file for cert-svc-tests-vcore 11/45511/1
Kyungwook Tak [Fri, 7 Aug 2015 03:58:58 +0000 (12:58 +0900)]
Add missing resource file for cert-svc-tests-vcore

Change-Id: Ib57c9bb32aacf7c7dda18c9423e6d11fab257b97
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoAdd method in SignatureValidator for cert-checker 52/45352/4
Kyungwook Tak [Wed, 5 Aug 2015 05:58:35 +0000 (14:58 +0900)]
Add method in SignatureValidator for cert-checker

Change-Id: I89888472754accdde4632692c80b40dca9713710
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoFix internal tests 49/44649/4
Kyungwook Tak [Thu, 23 Jul 2015 06:05:49 +0000 (15:05 +0900)]
Fix internal tests

 * Remove useless files
 * Remove dependency to dpl-test-efl

Change-Id: I723c8c1edb6351260aa25cede0dc428dd8e36250
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoRefactor SignatureValidator and reduce interface headers 51/44551/5
Kyungwook Tak [Thu, 23 Jul 2015 05:20:09 +0000 (14:20 +0900)]
Refactor SignatureValidator and reduce interface headers

 * Integrate SignatureValidator and WrtSignatureValidator with checkReference param flag
 * Client doesn't need to initialize xml before use SignatureValidator. SignatureValidator initialize it internally.
 * Make SignatureValidator to static function to use it conveniently.
 * OCSPCertMgrUtil moved to certificate collection
 * Exclude some headers which used only inside of SignatureValidator
   - CertificateCollection
   - SignatureReader
   - ParserSchema
   - SaxReader
   - Base64 : use certvsc/ccert.h API or member functions in Certificate.h instead
   - CryptoHash : not used in anymore in 3.0

Change-Id: Ifde1768c51fc0eea2ad8a0e3c78b098ae46f02d3
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoRefactor cert-svc/APIs in vcore 85/44385/10
Kyungwook Tak [Tue, 21 Jul 2015 09:53:01 +0000 (18:53 +0900)]
Refactor cert-svc/APIs in vcore

 * Remove ocsp/crl related legacy code : VCore.h APIs doesn't needed anymore.
 * Remove unused scoped_gpointer header file
 * Remove vcore APIs which store datas in file, not store. it's deprecated.
 * secure-storage and glib dependency is useless because of deprecated API removed
 * Use correct data types

Change-Id: Ie53ea68ee24f92e4135133de19872f9a7c31b101
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoCatch Base64 exception in Certificate class 12/44812/1 accepted/tizen/mobile/20150728.101153 accepted/tizen/tv/20150728.101234 accepted/tizen/wearable/20150728.101253 submit/tizen/20150728.071759
Kyungwook Tak [Tue, 28 Jul 2015 06:47:38 +0000 (15:47 +0900)]
Catch Base64 exception in Certificate class

Change-Id: I2f319e4c39d3e2b4790cad1187cb0b6875732884
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoRestore CERT_SVC_STORE_PATH definition for email-service 18/44118/1 accepted/tizen/mobile/20150717.060429 accepted/tizen/tv/20150717.060441 accepted/tizen/wearable/20150717.060451 submit/tizen/20150717.044239
Kyungwook Tak [Fri, 17 Jul 2015 02:35:20 +0000 (11:35 +0900)]
Restore CERT_SVC_STORE_PATH definition for email-service

Change-Id: I4524fe523f127d61287b1aa35c4e4c636bb88e07
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoRemove ocsp crl build feature. disable it as default. 17/44117/1
Kyungwook Tak [Fri, 17 Jul 2015 02:17:43 +0000 (11:17 +0900)]
Remove ocsp crl build feature. disable it as default.

Change-Id: I739cc0e97d7cc50e546c3ea2551b822a0448b790
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoRestore to fix dfsCheckDirectories 34/44034/1
Kyungwook Tak [Thu, 16 Jul 2015 09:13:44 +0000 (18:13 +0900)]
Restore to fix dfsCheckDirectories

Change-Id: Ia194723f1f28b75db68b6c17eb43055dc7cfc03e
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoRefactor log system 29/44029/2
Kyungwook Tak [Tue, 14 Jul 2015 02:52:18 +0000 (11:52 +0900)]
Refactor log system

 * use only dpl/log/log.h
 * add journald provider

Change-Id: I4bf999861d4b0452c7a4a1d41f22eedea7198f85
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoUpdate Tizen 2.4 latest codes 28/44028/2
Kyungwook Tak [Mon, 13 Jul 2015 01:43:23 +0000 (10:43 +0900)]
Update Tizen 2.4 latest codes

 * remove dpl dependency (to wrt-commons)
 * cert-server service added, which is moved from secure-storage
 * add test codes
   - turn test build flag on in spec file to build test cases

Change-Id: Id355e0e52220dd2b281a1a2225383fd366b876fe
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoMerge "Fix dfsCheckDirectories" into tizen accepted/tizen/mobile/20150623.005714 accepted/tizen/tv/20150623.005724 accepted/tizen/wearable/20150623.005734 submit/tizen/20150623.003815
Dong Sun Lee [Mon, 22 Jun 2015 03:04:01 +0000 (20:04 -0700)]
Merge "Fix dfsCheckDirectories" into tizen

9 years agoFix dfsCheckDirectories 48/41848/1
Tomasz Iwanek [Tue, 16 Jun 2015 09:46:21 +0000 (11:46 +0200)]
Fix dfsCheckDirectories

In ReferenceValidator::Impl::dfsCheckDirectories.

There is no guaranteed that m_dirpath path has ending slash mark.
We need to append slash to correctly construct path.

Change-Id: I057615c935445d7eff2b21e74ce29c3210bb2cee

9 years agoChange hardcoded paths to paths provided by tzplatform-config 25/41425/1 accepted/tizen/mobile/20150617.011929 accepted/tizen/tv/20150617.011957 accepted/tizen/wearable/20150617.012107 submit/tizen/20150616.012604
kyungwook tak [Mon, 15 Jun 2015 08:37:22 +0000 (17:37 +0900)]
Change hardcoded paths to paths provided by tzplatform-config

Change-Id: Iecff7f70eb6378a30069be4219397f2193912d6e
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoMove app signature xml schema from wrt-security 07/41407/1
kyungwook tak [Mon, 15 Jun 2015 06:44:03 +0000 (15:44 +0900)]
Move app signature xml schema from wrt-security

Change-Id: I070263007379880d4df3a03fe28f2cef04b0dd5e
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoRemove useless parameters of VCoreInit 90/41390/1 accepted/tizen/mobile/20150615.071131 accepted/tizen/tv/20150615.071141 accepted/tizen/wearable/20150615.071155 submit/tizen/20150615.042110
kyungwook tak [Mon, 15 Jun 2015 02:58:40 +0000 (11:58 +0900)]
Remove useless parameters of VCoreInit

Change-Id: I2df6cf7f398505e9f77eb0e6c77a55cc4d6a4942
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoRemove dependency to boost 03/40703/1 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150615.091829 accepted/tizen/common/20150610.144456 accepted/tizen/mobile/20150612.003429 accepted/tizen/tv/20150612.003543 accepted/tizen/wearable/20150611.085704 submit/tizen/20150604.065932 submit/tizen/20150608.113003 submit/tizen/20150609.065415 submit/tizen_3.0.2015.q2_common/20150615.075539 submit/tizen_common/20150610.013111 submit/tizen_common/20150610.072250 submit/tizen_mobile/20150611.000000 submit/tizen_tv/20150611.000001 submit/tizen_wearable/20150611.000000
kyungwook tak [Mon, 8 Jun 2015 08:12:29 +0000 (17:12 +0900)]
Remove dependency to boost

Change-Id: Id51496cc064626b0dc2913f5e83a27454909d7a2
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoFix build error on 64bit arch 98/40598/2
kyungwook tak [Fri, 5 Jun 2015 09:36:17 +0000 (18:36 +0900)]
Fix build error on 64bit arch

Change-Id: Icbd560acd696832653b5b0acf00f719dcb9b840b
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoUpdate the latest source codes from SPIN 2.4 repository 06/38706/6 submit/accepted/tizen_3.0_ivi/20150430.023343 submit/tizen/20150601.120843 submit/tizen/20150604.030419 submit/tizen_tv/20150601.121111
yuseok.jeon [Mon, 27 Apr 2015 04:48:42 +0000 (13:48 +0900)]
Update the latest source codes from SPIN 2.4 repository

Change-Id: Ib89228f2f330d92f3e7de3cb3943a52e065e6e0b
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agocleaned spec file: license field 24/30324/1 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0_ivi accepted/tizen/common/20141205.152508 accepted/tizen/ivi/20141208.013450 accepted/tizen/mobile/20141208.014112 accepted/tizen/tv/20150105.022359 accepted/tizen/wearable/20150105.054719 submit/tizen/20141202.125621 submit/tizen_tv/20151202.000000 submit/tizen_wearable/20150102.000000 tizen_3.0_ivi_release
Nicolas Zingilé [Fri, 14 Nov 2014 14:02:08 +0000 (15:02 +0100)]
cleaned spec file: license field

Change-Id: Ie5f31ca992ae1a34e4b75aaabefde18ee3efb5c8
Signed-off-by: Nicolas Zingilé <nicolas.zingile@open.eurogiciel.org>
10 years agoApply smack with multi-user compliance 81/22781/1
Jean-Benoit MARTIN [Wed, 11 Jun 2014 13:56:51 +0000 (15:56 +0200)]
Apply smack with multi-user compliance

Bug-Tizen: TC-339

Change-Id: Id355c0eeb9e3e232af3bff08a7d09fc16a353449
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
10 years agoModification about smack label of db file belong to process. 71/20671/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi accepted/tizen/ivi/20140604.163750 submit/tizen/20140528.135215 submit/tizen_common/20140521.163740 submit/tizen_common/20140522.130648 submit/tizen_common/20140522.135644 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release
jooseong.lee [Mon, 12 May 2014 02:29:55 +0000 (11:29 +0900)]
Modification about smack label of db file belong to process.

Change-Id: I245c9dda33c2e8c9d61267b5028331fcff367663
Signed-off-by: jooseong.lee <jooseong.lee@samsung.com>
10 years agoAdding multi user support for the module. 39/16439/7
sri.hebbar [Mon, 17 Feb 2014 12:19:49 +0000 (17:49 +0530)]
Adding multi user support for the module.

Bug-Tizen: PTREL-236

Change-Id: If893d1bfd3ec20d3ff59db42bbf90f84a1dc7c8d
Signed-off-by: sri.hebbar <srivardhanms@gmail.com>
Signed-off-by: srivardhan <srivardhanms@gmail.com>
11 years agoFix RDS deployment error 21/10921/1 accepted/tizen/ivi/release accepted/tizen/ivi/stable accepted/tizen_generic accepted/tizen_ivi_panda tizen_ivi_panda tizen_ivi_release accepted/tizen/20131016.044245 accepted/tizen/20131016.154811 accepted/tizen/20131111.225649 accepted/tizen/generic/20140402.111020 accepted/tizen/ivi/20140331.202331 accepted/tizen/ivi/20140331.202409 accepted/tizen/ivi/panda/20140331.202153 accepted/tizen_ivi_stable/20131116.111647 submit/tizen/20131016.020402 submit/tizen/20140331.201515 submit/tizen_ivi/20140331.201614 submit/tizen_ivi_panda/20140331.201658 submit/tizen_ivi_release/20140331.201635 submit/tizen_ivi_stable/20131116.100908
cc1.yim [Tue, 15 Oct 2013 07:49:46 +0000 (16:49 +0900)]
Fix RDS deployment error

Change-Id: Ic9422f9f904e0247081c30f6cfcce2dda483d5cf
Signed-off-by: cc1.yim <cc1.yim@samsung.com>
11 years agoSync with tizen_2.2 accepted/tizen/20130912.082418 accepted/tizen/20130912.084742 accepted/tizen/20130912.093524 submit/tizen/20130830.004742 submit/tizen/20130912.075628
so.yu [Thu, 29 Aug 2013 09:54:09 +0000 (18:54 +0900)]
Sync with tizen_2.2

11 years agoMerge "Revert "Fixed Prevent issue."" into tizen_2.2
KyungWoo Noh [Wed, 28 Aug 2013 06:25:08 +0000 (06:25 +0000)]
Merge "Revert "Fixed Prevent issue."" into tizen_2.2

11 years agoRevert "Fixed Prevent issue."
jaechul lee [Wed, 28 Aug 2013 06:24:04 +0000 (06:24 +0000)]
Revert "Fixed Prevent issue."

This reverts commit 097d15b81794d52451f8a0d41e72ff41734d0406.

Change-Id: Ia9c2527f982b4d2f5f585b6b771e3c9a15766ecd

11 years agoApply reduceing binary size of package
jc815.lee [Fri, 16 Aug 2013 05:06:59 +0000 (14:06 +0900)]
Apply reduceing binary size of package
[model]
[binary_type]
[customer]
[issue#]
[problem]
[cause]
[solution]
[team] F/W
[request] i.palachev@samsung.com - Tizen Toolchain Team
[horizontal_expansion]

Change-Id: I4f6142289ce789c40d8fb8cc4ccdd718e2c6b49d
Signed-off-by: jc815.lee <jc815.lee@samsung.com>
11 years agoFixed Prevent issue.
Bhanu Singh Rao [Mon, 12 Aug 2013 11:59:48 +0000 (17:29 +0530)]
Fixed Prevent issue.

Signed-off-by: Bhanu Singh Rao <bhanu.singh@samsung.com>
11 years agoadd cert time check log
cc1.yim [Thu, 8 Aug 2013 08:35:25 +0000 (17:35 +0900)]
add cert time check log

Change-Id: I775d9f05e956dbec9e31abcf56646589c9a2993f
Signed-off-by: cc1.yim <cc1.yim@samsung.com>
11 years agofix error
cc1.yim [Wed, 7 Aug 2013 08:31:32 +0000 (17:31 +0900)]
fix error

Change-Id: Iedd874be91346f61b057d45d1ae0ff2196202e8b
Signed-off-by: cc1.yim <cc1.yim@samsung.com>
11 years agofix the hash bug api
cc1.yim [Wed, 7 Aug 2013 08:11:36 +0000 (17:11 +0900)]
fix the hash bug api

Change-Id: I24895777f572744ddb50ef77021e614a44c87868
Signed-off-by: cc1.yim <cc1.yim@samsung.com>
11 years agofix prevent issue
jc815.lee [Fri, 2 Aug 2013 04:45:39 +0000 (13:45 +0900)]
fix prevent issue
[model] RSA
[binary_type]
[customer]
[issue#] cid : 18974
[problem]
[cause]
[solution]
[team]
[request]
[horizontal_expansion]

Change-Id: I5dff53f05a485e7c19a99ddd27782e4f3421b126
Signed-off-by: jc815.lee <jc815.lee@samsung.com>
11 years agoApply dlog to vcore
jc815.lee [Thu, 1 Aug 2013 08:22:58 +0000 (17:22 +0900)]
Apply dlog to vcore

[model] GT-I8800
[binary_type] platform
[customer] OPEN
[issue#]
[problem]
[cause]
[solution]
[team]
[request]
[horizontal_expansion]

Change-Id: Ia549466ab34eabb17172ad66d460be0a2d46a46a
Signed-off-by: jc815.lee <jc815.lee@samsung.com>
11 years agochange time_t to ASN_1 type to vaildate cert chain.
KyungwooNoh [Wed, 31 Jul 2013 09:03:46 +0000 (18:03 +0900)]
change time_t to ASN_1 type to vaildate cert chain.

Change-Id: I104ff9a3354133b1b4a7aab02de1088a8d4d21bb
Signed-off-by: jc815.lee <jc815.lee@samsung.com>
11 years agosync SignatureValidator, pkcs12 with private
jc815.lee [Tue, 30 Jul 2013 11:34:32 +0000 (20:34 +0900)]
sync SignatureValidator, pkcs12 with private

[model]
[binary_type]
[customer]
[issue#]
[problem]
[cause]
[solution]
[team]
[request]
[horizontal_expansion]

Change-Id: Idda961a999a78ed831c2dde8a30187de2f396d7d
Signed-off-by: jc815.lee <jc815.lee@samsung.com>
11 years agosync with private
jc815.lee [Tue, 30 Jul 2013 11:24:09 +0000 (20:24 +0900)]
sync with private
[model]
[binary_type]
[customer]
[issue#]
[problem]
[cause]
[solution]
[team]
[request]
[horizontal_expansion]

Change-Id: If11b6fb60e0203a36c47f377d79a73bc1ccda4e1
Signed-off-by: jc815.lee <jc815.lee@samsung.com>
11 years agomodify to verify for RDS
cc1.yim [Tue, 16 Jul 2013 03:01:29 +0000 (12:01 +0900)]
modify to verify for RDS

Change-Id: Ifdbef6dffdf0172cd4891f27c68f7d135985bbca
Signed-off-by: cc1.yim <cc1.yim@samsung.com>
11 years agoFix the manifest installation 00/5700/4 accepted/tizen/ivi/genivi temp tizen_ivi_genivi accepted/tizen/20130716.222149 accepted/tizen/20130717.013450 accepted/tizen/ivi/genivi/20140131.042000 accepted/tizen/ivi/genivi/20140225.015310 accepted/tizen/ivi/genivi/20140225.025412 ivi_oct_m2 submit/tizen/20130716.162206 submit/tizen/20130716.223128 submit/tizen_ivi_genivi/20140131.040345 submit/tizen_ivi_genivi/20140225.015555 submit/tizen_ivi_genivi/20140225.025657
Patrick McCarty [Fri, 12 Jul 2013 17:59:25 +0000 (10:59 -0700)]
Fix the manifest installation

Change-Id: Ife29b82d88464f4f0c654029fbf1c4085cccb82f

11 years agoFix the manifest installation 00/5700/3 accepted/tizen/ivi/genivi/20140225.021514 submit/tizen/20130715.184203 submit/tizen_ivi_genivi/20140225.021801
Patrick McCarty [Fri, 12 Jul 2013 17:59:25 +0000 (10:59 -0700)]
Fix the manifest installation

Change-Id: Ife29b82d88464f4f0c654029fbf1c4085cccb82f

11 years agoMerge "resetting manifest requested domain to floor" into tizen accepted/tizen/20130710.221340 submit/tizen/20130710.124451
Ryan Ware [Mon, 8 Jul 2013 17:07:22 +0000 (10:07 -0700)]
Merge "resetting manifest requested domain to floor" into tizen

11 years agoresetting manifest requested domain to floor 61/5161/1
Alexandru Cornea [Mon, 1 Jul 2013 15:36:39 +0000 (18:36 +0300)]
resetting manifest requested domain to floor

11 years agoresetting manifest requested domain to floor 78/4478/1
Alexandru Cornea [Fri, 28 Jun 2013 13:32:51 +0000 (16:32 +0300)]
resetting manifest requested domain to floor

11 years agomodify DebugLogPrint
cc1.yim [Wed, 26 Jun 2013 09:16:46 +0000 (18:16 +0900)]
modify DebugLogPrint

Change-Id: I237151e262503a0758fc4d8e19a42d17402f3e94
Signed-off-by: cc1.yim <cc1.yim@samsung.com>
11 years agoadd a api to get crt file path
KyungwooNoh [Tue, 18 Jun 2013 06:57:26 +0000 (15:57 +0900)]
add a api to get crt file path

Change-Id: If46112ee08ee8c26a7aa2697f2713f83c805559e
Signed-off-by: KyungwooNoh <kw1004.noh@samsung.com>
11 years agofix prevent issue
jc815.lee [Fri, 14 Jun 2013 12:37:57 +0000 (21:37 +0900)]
fix prevent issue

[model] GT-I8800
[binary_type] platform
[customer] OPEN
[issue#] cid : 58892
[problem] Dereference before null check
[cause] N/A
[solution] change dereference code
[team] Framework
[request] N/A
[horizontal_expansion]

Change-Id: Ia720369572773a44c4a8de1b8c4301322e266555
Signed-off-by: jc815.lee <jc815.lee@samsung.com>
11 years agoChanges : Fix lib var path for x64 build 95/3795/1 accepted/tizen/20130604.172001 submit/tizen/20130604.083036
Xavier Roche [Tue, 4 Jun 2013 08:24:23 +0000 (10:24 +0200)]
Changes : Fix lib var path for x64 build

11 years agoFix lib var path for x64 build 94/3794/1
Xavier Roche [Tue, 4 Jun 2013 08:22:08 +0000 (10:22 +0200)]
Fix lib var path for x64 build

  - Use %cmake macro to set default path
  - Change library path var in *.pc.in, CMakeLists.txt
  - x64 build : change size_t to unsigned int : Source file

11 years agoRemove group ID
so.yu [Wed, 22 May 2013 16:11:31 +0000 (01:11 +0900)]
Remove group ID

[model] REDWOOD
[binary_type] PDA
[customer] OPEN
[issue#] N/A
[problem] smack denied
[cause] use not provided label
[solution] remove group ID
[team] SPG framework
[request] N/A
[horizontal_expansion] N/A

Change-Id: I589d66af5620592f929c75d61231b04c2dc4537d
Signed-off-by: so.yu <so.yu@samsung.com>
11 years agoChange the group ID
so.yu [Wed, 22 May 2013 15:25:33 +0000 (00:25 +0900)]
Change the group ID

[model] REDWOOD
[binary_type] PDA
[customer] OPEN
[issue#] N/A
[problem] should same with smack label
[cause] different from smack label
[solution] change the group ID as smack label
[team] SPG framework
[request] N/A
[horizontal_expansion] N/A

Change-Id: I5b8257cc4ea9bfaf5a72df6931984cd7ea9683c6
Signed-off-by: so.yu <so.yu@samsung.com>
11 years agoMerge branch 'tizen_2.1_smack' into tizen_2.1 tizen_2.1 accepted/tizen/20130520.101205 submit/tizen/20130517.045124 submit/tizen_2.1/20130514.052104
so.yu [Fri, 10 May 2013 11:45:08 +0000 (20:45 +0900)]
Merge branch 'tizen_2.1_smack' into tizen_2.1

Change-Id: I4e90b4fcda068270ce78dba9c292c9511270bc6c
Signed-off-by: so.yu <so.yu@samsung.com>
11 years agosmack manifest integration
jc815.lee [Fri, 3 May 2013 11:31:13 +0000 (20:31 +0900)]
smack manifest integration

Signed-off-by: jc815.lee <jc815.lee@samsung.com>