Age | Commit message (Collapse) | Author | Files | Lines |
|
The module already used the preferred GDBus API which replaces it.
Change-Id: Ie0c220fdf689a12ca6fb1f2249e2ae85799cb6cf
|
|
Change-Id: I4475dfd91a8ae0ffb734307c201927bd5d0cd2df
Signed-off-by: Tomasz Swierczek <t.swierczek@samsung.com>
|
|
Change-Id: I43229948197b009ebf4b34b41bb7e24ba0211098
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
|
|
* Whole class member should be initialized.
Change-Id: I3ed409d84e44f0f4cb90f89842d5b70334171fd2
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
(cherry picked from commit f5b7ddbd5f06f2169edaad53ca70e4107d387d53)
|
|
Popup cannot be redrawn during waiting timeout time after elm exit
called.
Refer https://review.tizen.org/gerrit/#/c/107312/
Change-Id: I9114c452971051d74a9978556a8a102eeccd6e8c
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
|
|
[Problem]
* DSO missing from command line.
[Solution]
* Add -pthread flag.
Change-Id: I600050bf865420572e9cd7188284b9a016c43ce9
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
* Since c++11, non-throwing functions are all others
* (those with noexcept specifier whose expression
* evaluates to true as well as destructors,
* defaulted special member functions,
* and deallocation functions).
See, http://en.cppreference.com/w/cpp/language/noexcept_spec
Change-Id: I0d7b2a55db49533fe63729e15aeaaf2c8c976569
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
* pkgmgrinfo_client api will be deprecated.
Change-Id: Ibb109a644f436c641257cba5ec3f36b6cb164241
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
* libtzplatform-config
Change-Id: I8ba6e4a98e7ad6ed35951bc74c17599606d30798
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
* Before popup call app-control for launching setting-manager,
* Check package info first.
Change-Id: If0f607694b7fb18f2ddff556f3fc0726cb591d61
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
[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>
|
|
* About taint checking, variable should be checked boundary.
* About exception handling, should handle whole possible exception.
Change-Id: I6e85bc12cdeea550f7ea1c6dd06b7d9cbb91b3d7
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
* It depends on cpp rule checker(version 160520)
Change-Id: Ica308e1296be4f3567725fdb004f3bae8a456a0c
|
|
[problem]
* In 64bit arch, time_t and int64_t has problem when overloading
[solve]
* Delete time_t in serialization.h
Change-Id: I20dc01022487dadd4119ee318ef2bf4de478a984
|
|
Change-Id: Ie618a4248445c1b4bebf3bb47b13486463a4b67f
|
|
Change-Id: If175379bebd20eeb60d091284f754857f59d34a7
|
|
Change-Id: I8424f68e23f32cc8104c9c3987bc2054c6c034ad
|
|
* If no event since cchecker launched, cchecker should exit
* timeout = 10 miniute
Change-Id: Ie472171c597e6dc4ffda1674bc859e26a066d9ca
|
|
Change-Id: I569965b36bb8ab7d505fabaccb270eaec016f853
|
|
Change-Id: I6881cfaa24adb1e58e4d4c5d8da886b7dd79e27a
|
|
* Timer's interval is 1 hour.
* It works periodically until buffer is empty.
Change-Id: I719c9addcedeb6f276d969a849c8374813857589
|
|
* If process return OCSP_CHECK_AGAIN, don't exit.
Change-Id: I3ddeed639cc854a22f3e88b6ab5f1f29935c7c30
|
|
[AS-IS]
* running g_main_loop is in setup
* so, it can hard to test
[TO-BE]
* seperate setup and looping
Change-Id: I591da58b93895e46adbd1262b11e0d7dd545c7c6
|
|
Change-Id: I313b4b4d6019cca575996f7f3fd3f3254f4ce11a
|
|
[AS-IS]
* cert-checker was daemon.
[TO-BE]
* Change to on-demand style.
* Add client library.
Change-Id: Ia318bc8a724db1f50a50bd42aa4c8c94b078e287
|
|
[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: I394228947a672e9e6a6c0110bd8fb8cdaae66060
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
|
|
* use GetErrnoString() instead of it
Change-Id: I0d767d423be26987d387ad1b1c5899d7f36a27b3
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>
|
|
Change-Id: Ief109eac6c859e4a158473611d63a5de134fc369
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
Change-Id: Ic47c2b6f4201fc71104077fd93dba2bff09d139c
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
|
|
* key-manager uses only a chain for OCSP Check
* url is no longer needed
Change-Id: I8fb1e8baa6834c79a487ff865c0c6452b34078f1
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>
|
|
Vcore SignatureValidator API has been changed. This commit introduces
usage of the new API.
Change-Id: I074e0ca0660b980b4defa9d95ae5869099822eb0
|
|
Verification: Build, run tests.
Change-Id: I91e4dea095cc427576e0e4d75eb335e65ee4ae5d
|
|
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
|
|
[Problem] Production code mixed with test code. Poor readability.
Synchronisation issues.
[Solution] Synchronisation reimplemented. Test code separated from production
code.
[Verification] Run all test
Change-Id: Iea5ed2ce9f10a4cdac8994acf91809cd12050d69
|
|
This change includes adding cert_order in DB.
Chain of certificates should be created while reading/parsing signature.
Certificates should be put into DB in right order - first should go
end entity certificate. DB ensures that certificates will be loaded into the
buffer in exactly same order (end entity will be the first element on the list).
Verification: Run tests, all should pass.
Change-Id: I09571bab7862bdb539dd3a957330fe23d687b48f
|
|
Change-Id: I7405977c655032e4d520dcd064979302105b820c
|
|
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
|
|
* Fix DBus proxy pointer
Change-Id: Iad1cfe8e6a02136e5a899b50560a586265c5a322
|
|
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
|
|
New version of DB is needed to keep separately certificates from
each signatrue. Because application can be signed by more than one
signature we need to keep all certificates from all signatures in
separate lists to make building certificates' chains easier.
* Add operators (==, !=, <) for app_t structre
* Add operators (==, !=) for event_t structure
* Add tests for operators
* Remove check_id from app_t structure
Change-Id: I966dd81420618325d1afa55bcbc656291ccb4238
|
|
* 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
|
|
Thread is waiting on conditional for events. When event will be add to queue
the callback will send signal to thread (connman callback sends signal without
adding event to queue).
The thread:
* Process the queue first:
Moves all events from queue into the buffer.
* Then process buffer (checks OCSP, shows popup, etc.) - to be implemented.
Change-Id: I8cadc43b8d2c704bf07f0aec63b909ec4d52d5a7
|
|
* Add m_queue member to Logic class
Change-Id: I31574fccd48cddc8bbb467568cf72c4d80d94803
|
|
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
|