summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Dong Sun Lee [Tue, 11 Aug 2015 07:09:48 +0000 (00:09 -0700)]
Merge "Add method in SignatureValidator for cert-checker" into tizen
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Dong Sun Lee [Mon, 22 Jun 2015 03:04:01 +0000 (20:04 -0700)]
Merge "Fix dfsCheckDirectories" into tizen
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
so.yu [Thu, 29 Aug 2013 09:54:09 +0000 (18:54 +0900)]
Sync with 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
jaechul lee [Wed, 28 Aug 2013 06:24:04 +0000 (06:24 +0000)]
Revert "Fixed Prevent issue."
This reverts commit
097d15b81794d52451f8a0d41e72ff41734d0406.
Change-Id: Ia9c2527f982b4d2f5f585b6b771e3c9a15766ecd
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Patrick McCarty [Fri, 12 Jul 2013 17:59:25 +0000 (10:59 -0700)]
Fix the manifest installation
Change-Id: Ife29b82d88464f4f0c654029fbf1c4085cccb82f
Patrick McCarty [Fri, 12 Jul 2013 17:59:25 +0000 (10:59 -0700)]
Fix the manifest installation
Change-Id: Ife29b82d88464f4f0c654029fbf1c4085cccb82f
Ryan Ware [Mon, 8 Jul 2013 17:07:22 +0000 (10:07 -0700)]
Merge "resetting manifest requested domain to floor" into tizen
Alexandru Cornea [Mon, 1 Jul 2013 15:36:39 +0000 (18:36 +0300)]
resetting manifest requested domain to floor
Alexandru Cornea [Fri, 28 Jun 2013 13:32:51 +0000 (16:32 +0300)]
resetting manifest requested domain to floor
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>
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>
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>
Xavier Roche [Tue, 4 Jun 2013 08:24:23 +0000 (10:24 +0200)]
Changes : Fix lib var path for x64 build
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
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>
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>
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>
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>
CecilLim [Tue, 16 Apr 2013 09:22:45 +0000 (18:22 +0900)]
Revert "Add no hash api"
This reverts commit
009ee334d238867c7c5cd2aa9220bdea6a0fdd32
cc1.yim [Tue, 16 Apr 2013 06:01:45 +0000 (15:01 +0900)]
Add no hash api
Change-Id: Ic34eef60275657aaf446ae244d9dedd591b04683
Signed-off-by: cc1.yim <cc1.yim@samsung.com>
sunggun.jung [Sat, 13 Apr 2013 11:47:22 +0000 (20:47 +0900)]
RootCA certificate list modified. And author cert getBefore check modified.
Signed-off-by: sunggun.jung <sunggun.jung@samsung.com>
Change-Id: I1ff6f794d9e6d142fedb6ed6af0d2dd04152892b
hb.min [Thu, 11 Apr 2013 15:26:26 +0000 (00:26 +0900)]
Fix signature error
Signed-off-by: hb.min <hb.min@samsung.com>
sunggun.jung [Tue, 9 Apr 2013 13:54:19 +0000 (22:54 +0900)]
Visibility level check bug fixed.
Signed-off-by: sunggun.jung <sunggun.jung@samsung.com>
Change-Id: I2318fa8f02fbee7bdf1207ef1f0c59b92db2a310
so.yu [Fri, 5 Apr 2013 14:18:50 +0000 (23:18 +0900)]
Fix prevent issue #48261
Change-Id: I0f146e23153aea9d78ecdab73af729cbcd77ab8e
Signed-off-by: so.yu <so.yu@samsung.com>
sunggun.jung [Fri, 29 Mar 2013 11:41:26 +0000 (20:41 +0900)]
Reference validator removed for TIZEN apps.
Signed-off-by: sunggun.jung <sunggun.jung@samsung.com>
Change-Id: If71d0d261d991478cec471fc50af203aa4050604
so.yu [Fri, 29 Mar 2013 08:24:50 +0000 (17:24 +0900)]
add installing p12 for cert-mgr
Change-Id: I3c61454e3e7af958bcd196eb04fab5c0a53fd437
Signed-off-by: so.yu <so.yu@samsung.com>
Jinkun Jang [Fri, 15 Mar 2013 16:17:48 +0000 (01:17 +0900)]
merge with master
Jinkun Jang [Wed, 13 Mar 2013 03:25:52 +0000 (12:25 +0900)]
sync
Jinkun Jang [Tue, 12 Mar 2013 16:51:23 +0000 (01:51 +0900)]
Tizen 2.1 base
Kibum Kim [Mon, 27 Feb 2012 12:15:50 +0000 (21:15 +0900)]
tizen beta release