Age | Commit message (Collapse) | Author | Files | Lines |
|
[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>
|
|
Change-Id: I1f263f5df9256588e0019718874caa03b2ff33c6
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
|
|
Change-Id: I394228947a672e9e6a6c0110bd8fb8cdaae66060
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
|
|
Change-Id: I86b9e09431efafadcc63564b7bacff74d343979b
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: I795e89fa5135167aabc5599fd4dcf605690198db
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
* flag : about as-needed
* delete lib : cert-svc
Change-Id: Iba79ed9fc6dd5d478ccb871b3f8aeac41a10dedf
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
* System/Security -> Security/Certificate Management
Change-Id: I1312c5e97e1a0b6b3b3410251d677a1728914026
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: I6daeb100a6b9dceb3917a0a337f037999c7451c5
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: Ic47c2b6f4201fc71104077fd93dba2bff09d139c
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
* cert-svc API, key-manager API -> pkgmgr-info API
Change-Id: I1c3523dd73041f117fab1c1b0012d25c1535defe
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
* Dbus API -> pkgmgrinfo API
Change-Id: Ia7a8d84e7eaf35d5be5d077b753ec1915b1b49d0
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
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
|
|
Change-Id: Iaa411b52647f2348024b1e8d100d678f89a48c5f
|
|
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
|
|
Change-Id: Id0de6e5eb1387e99b8c8bcb0c66ae13151c1a3f7
|
|
* Add tests for certificates
* Remove unnecessary methods in Logic class
* Add missing include
* Use new cert-checker-vcore API
Change-Id: Idfa777d1f1ba6f7142ea78e29bf1bc63415b128e
|
|
* 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
|
|
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
|
|
* 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
|
|
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
|
|
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
|