summaryrefslogtreecommitdiff
path: root/packaging
AgeCommit message (Collapse)AuthorFilesLines
2018-07-18Release 0.1.6submit/tizen_5.0/20181106.000001submit/tizen_5.0/20181101.000009submit/tizen/20180718.134257accepted/tizen/unified/20180719.063045accepted/tizen/5.0/unified/20181106.202634tizen_5.0accepted/tizen_5.0_unifiedTomasz Swierczek1-1/+1
* Adjust build to boost 1.65.0 and up Change-Id: If24d9f33057b360ab4548edb57225c47ace2df5d
2018-05-10Release 0.1.5submit/tizen/20180510.054354accepted/tizen/unified/20180510.134323Tomasz Swierczek1-1/+1
* Remove dependency to deprecated dbus-glib package * Fix SVACE defect: improper comparison in < operator of PkgmgrEvent Change-Id: I5ceeda11751f167a362670652aac974de1ac2aa1
2018-05-10Remove dependency to deprecated dbus-glib packageTomasz Swierczek1-1/+0
The module already used the preferred GDBus API which replaces it. Change-Id: Ie0c220fdf689a12ca6fb1f2249e2ae85799cb6cf
2017-05-16Release 0.1.4tizen_4.0.m1_releasesubmit/tizen_4.0_unified/20170814.115522submit/tizen_4.0/20170828.100008submit/tizen_4.0/20170814.115522submit/tizen_4.0/20170811.094300submit/tizen/20170517.012418accepted/tizen/unified/20170517.080130accepted/tizen/4.0/unified/20170828.222027accepted/tizen/4.0/unified/20170816.015009Tomasz Swierczek1-1/+1
* Adjust tests to boost 1.62 * Fix SVACE defect * Fix svace defects * Remove timeout time for popup service * Fix linking error on upgrade toolchain * Remove throw logic on destructor * Add number to upgrade script Change-Id: Ie24f53aa8d9ee8d2e3a2b41938bb04e894fecfa8
2016-12-09Add number to upgrade scriptsangwan.kwon1-1/+1
Change-Id: Id1f759b4e4942c39046c04133b9829185d05f132 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-10-09Upgrade version to 0.1.3submit/tizen_3.0/20161028.092323submit/tizen_3.0/20161028.062323submit/tizen/20161010.015747accepted/tizen/mobile/20161011.233846accepted/tizen/3.0/mobile/20161028.150532sandbox/vbarinov/ubsansangwan.kwon1-1/+1
* Replace pkgmgrinfo_cliet api to pkgmgr_client * Add client and common requirement to devel package * Add platform upgrade script * Add exception handling on popup test * HOTFIX : Fix ldconfig path to hard coded Change-Id: Ib0959269fbbd8386bc94ccd50df100250cc69368 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-09-13Add client and common requirement to devel packageSlava Barinov1-0/+2
Without explicit dependency the case is possible when the -devel package is installed without client package and provides a broken symlink to /usr/lib/libcert-checker-common.so.0 Change-Id: Ie04c096609574148c225e03c6757ac3b24ad5206 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
2016-09-09Add platform upgrade scriptsubmit/tizen_3.0_mobile/20161015.000001submit/tizen/20160912.100526submit/tizen/20160912.023936accepted/tizen/mobile/20160913.042018accepted/tizen/3.0/mobile/20161015.032604sangwan.kwon1-1/+11
Change-Id: Ic04d915b58c4f7ea6119eea0b77f637db123e7ac Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-27HOTFIX : Fix ldconfig path to hard codedsubmit/tizen/20160727.054353sangwan.kwon1-1/+1
Change-Id: I9182831e1af3f33d1ce11c22316e133745df5ab7 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-26Upgrade version to 0.1.2submit/tizen/20160726.071219accepted/tizen/mobile/20160726.105847sangwan.kwon1-1/+1
* Move adding smack label command to manifest * Code refactoring in spec file * Delete unnecessary pkg_check_modules * Add package info validation logic * Replace popup architecture to systemd service * Set SmackProcessLabel to System Change-Id: Ica720ac107d58e3574cf01eb9aca30d837647e07 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-25Move adding smack label command to manifestsangwan.kwon3-7/+16
Change-Id: I424462909558811b405b2ecb5da07921ee9f83ef Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-25Code refactoring in spec filesangwan.kwon1-38/+30
1) macro renamed 2) refactor according to guidelines - https://wiki.tizen.org/wiki/Packaging/Guidelines Change-Id: I4949800727e9e6cec0665059c3c2681388356809 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-22Replace popup architecture to systemd servicesangwan.kwon1-4/+17
[AS-IS] * popup used to pipe for IPC [TO-BE] * use to systemd service Change-Id: Ie203c8a4dbcb071fd3896e0c7af1bb8cd7280dbf Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-01Upgrade version to 0.1.1submit/tizen/20160704.044555accepted/tizen/mobile/20160704.090609sangwan.kwon1-1/+1
* Add socket to systemd targets * Fix svace defects * Apply tizen coding rule * Fix build error at 64bit arch Change-Id: Ie61a5b9a46309ab7cc5344e8d53f2385b5f1f317 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-01Add socket to systemd targetssangwan.kwon1-1/+4
Change-Id: Ifbef735f9dc9a1b178307bc7feddbcdb519769c7 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-05-25Upgrade version to 0.1.0submit/tizen/20160525.080353sangwan.kwon1-1/+1
[AS-IS] * cert-checker was daemon [TO-BE] * cert-checker run as service by on_demand Change-Id: If9a650e7137ae41351d26cdbb0e9f042eb693d36
2016-05-24Add CAPI for clientsangwan.kwon1-2/+1
Change-Id: Ie618a4248445c1b4bebf3bb47b13486463a4b67f
2016-05-12Add TC for client APIsangwan.kwon1-0/+1
Change-Id: I93d6b0de5f82f5cc9985c6464044125bc9ca05c6
2016-05-11Implement on-demand style about client-sidesangwan.kwon2-0/+27
[AS-IS] * cert-checker was daemon. [TO-BE] * Change to on-demand style. * Add client library. Change-Id: Ia318bc8a724db1f50a50bd42aa4c8c94b078e287
2016-05-10Implement on-demand style about server-sidesangwan.kwon3-51/+99
[AS-IS] * cert-checker was daemon. [TO-BE] * Change to on-demand style. * cert-svc call cert-checker. * Add common library. Change-Id: Idab160e6103cf62299b97a5485a767de9831d614 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-04-20bug fix in db directory permissionsubmit/tizen/20160422.031748accepted/tizen/mobile/20160422.070426accepted/tizen/ivi/20160422.070252accepted/tizen/common/20160422.171901Dongsun Lee1-1/+1
Change-Id: I1f263f5df9256588e0019718874caa03b2ff33c6 Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
2016-04-15change a user from system to security_fwsubmit/tizen/20160419.001742submit/tizen/20160418.074121accepted/tizen/mobile/20160419.050219accepted/tizen/ivi/20160419.050238accepted/tizen/common/20160419.143240Dongsun Lee1-5/+11
Change-Id: I394228947a672e9e6a6c0110bd8fb8cdaae66060 Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
2016-03-22Upgrade version to 0.0.5submit/tizen/20160322.073310accepted/tizen/wearable/20160323.011424accepted/tizen/tv/20160323.011411accepted/tizen/mobile/20160323.011352accepted/tizen/ivi/20160323.011447accepted/tizen/common/20160322.150738accepted/tizen_wearableaccepted/tizen_tvsangwan.kwon1-1/+1
Change-Id: I86b9e09431efafadcc63564b7bacff74d343979b Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-03-22Add BSL-1.0 license file and license boilerplatesangwan.kwon1-1/+2
Change-Id: I795e89fa5135167aabc5599fd4dcf605690198db Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-03-15Set linker flags and delete unuse librarysangwan.kwon1-1/+0
* flag : about as-needed * delete lib : cert-svc Change-Id: Iba79ed9fc6dd5d478ccb871b3f8aeac41a10dedf Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-03-09Fix group tag to Security/Certificate Managementsangwan.kwon1-1/+1
* System/Security -> Security/Certificate Management Change-Id: I1312c5e97e1a0b6b3b3410251d677a1728914026 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-03-04Define macro for updated tz-configsangwan.kwon1-1/+6
Change-Id: I6daeb100a6b9dceb3917a0a337f037999c7451c5 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-03-02Fix hard coded pathsangwan.kwon1-12/+12
Change-Id: Ic47c2b6f4201fc71104077fd93dba2bff09d139c Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-02-24Change building certificate chain APIsubmit/tizen/20160224.080105accepted/tizen/wearable/20160225.080701accepted/tizen/tv/20160225.080643accepted/tizen/mobile/20160225.080627accepted/tizen/ivi/20160225.080714sangwan.kwon1-1/+1
* cert-svc API, key-manager API -> pkgmgr-info API Change-Id: I1c3523dd73041f117fab1c1b0012d25c1535defe Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-02-17Change package event handler APIsangwan.kwon1-1/+3
* Dbus API -> pkgmgrinfo API Change-Id: Ia7a8d84e7eaf35d5be5d077b753ec1915b1b49d0 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2015-11-10Add popupJanusz Kozerski2-8/+7
Since Notification framework doesn't support system daemons, the cert-checker's internal popup should be provided. Add implementation of popup binary - /usr/bin/cert-checker-popup Cert-checker forks(), execs a popup binary, waits for popup termination, and then reads user response from pipe. Change-Id: Ie2e70f661feb1f262841d59a1b4c6a7ec49901f9
2015-09-14Add missing code for logic testsJanusz Kozerski1-0/+1
Change-Id: Iaa411b52647f2348024b1e8d100d678f89a48c5f
2015-08-03Add popup UI (+tests)Janusz Kozerski1-1/+4
Notification framework currently doesn't work properly on tizen.org/common. To test UI run: cert-checker-popup-test, and check if UI is displayed correctly. Change-Id: I0eb9b134c77c82eb77b4834b81a1cd1fa19dd620
2015-07-31Change DB Smack label to "System"Janusz Kozerski1-0/+3
Change-Id: Icce083876df2953434a826c9aa5226cf39d6aa5f
2015-07-17Add systemd configurationJanusz Kozerski1-1/+34
Change-Id: Id0de6e5eb1387e99b8c8bcb0c66ae13151c1a3f7
2015-07-17Add OCSP verification (CKM API is used)Janusz Kozerski1-1/+4
* Add tests for certificates * Remove unnecessary methods in Logic class * Add missing include * Use new cert-checker-vcore API Change-Id: Idfa777d1f1ba6f7142ea78e29bf1bc63415b128e
2015-07-06Add pulling out certificates from apps' signature.Janusz Kozerski1-0/+1
* Move DPL include files from "dpl/*" into "cchecker/dpl/* because of cert-svc-vcore also uses DPL (from wrt-commons), and that was causing build break. * Certificates are stored in buffer and database. * OCSP URLs are pulled out from certificates and stored in database. Change-Id: Ic0601da38619f7c7b784d952abe56888db036673
2015-06-26Replace pkgmgr signal handling with dbus APIJanusz Kozerski1-1/+0
After fix package-manager API using of its API can be restored. [Verication] 1) Build cert-checker with debug and run it on emulator 2) In 2nd console run: journalctl -f | grep cert-checker 3) Install and uninstall app in some random order: install: pkgcmd -i -t wgt -p /usr/share/widget_demo/mancala.wgt -q uninstall: pkgcmd -u -n yKrWwxz1KX -q 4) Check if journal logs are correct Change-Id: I60a77c2862dd9745e1b422fb2eb3afec13b40d14
2015-06-26Add cert-checker database (+tests). Change include files path.Janusz Kozerski2-1/+26
* Add m_buffer in Logic class. * Load database into buffer in Logic::setup() * Move include to separate folder - this solves problem with app.h file from different package. [Verification] Run cert-checker-tests. All should pass. Change-Id: I809951a17fd44d5258ad91e480b6914e92d1058b
2015-05-27Add DPL code (needed for database support)Janusz Kozerski1-0/+4
Changes: * change namespace from DPL to CCHECKER. * change LogPenantic -> LogDebug (journal doesn't support pedantic) * naiveSynchronizationObject() uses STL thread and chrono instead of DPL/thread Change-Id: I553a71dd5befbe4bc4d18f7582955af6ea329db7
2015-05-27Add classes: Logic, App_t. Add journal loging supportJanusz Kozerski1-0/+46
Class Logic has only dbus callbacks implemetation (package-manager, connman), beside it it's empty implementation. Verification: 1) Build cert-checker with debug, and install on emulator. 2) Run cert-checker - do it in emulator UI console (not via ssh). 3) On other console in emulator UI run command: journalctl -f | grep cert-checker - to see the logs. 4) On third console turn on and off offline mode on device: /usr/sbin/connmanctl enable offline /usr/sbin/connmanctl disable offline 5) You should see logs from cert-checker in journal 6) Install any app to check if package-manager signal works in cert-checker: pkgcmd -i -t wgt -p /usr/share/widget_demo/go.wgt -q 7) Check if logs are present. Change-Id: Ic7d6fc4f47ca9ced18744ad8a77f8516b75304e3