summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Load plugins in app manager, init plugin with paramsIra Lytvynenko2018-06-26729-3581/+4867
| | | | | | | | | | | | cory library to install dir Fix build Fix header guards Fix namespaces Fix build
* move commands factory to rpc pluginIra Lytvynenko2018-06-26608-1007/+1022
| | | | | | | | | | | | | | Replace include path of the commands Fix some things Fixing compile of applicaiton manager Move Commands interface part back to application_manager Use unique ptr for plugin manager Fix style in RPC services and factories Remove redunsant includes of factories in application manager Remove include of functional module
* Remove all remote controllAlexander Kutsan2018-06-26451-39495/+81
| | | | | | Remove commands includes Remove commands includes
* SDL RPC plugin CMAKElistAlexander Kutsan2018-06-26361-280/+73
|
* Move commands to sdl rpc pluginAlexander Kutsan2018-06-26707-0/+28153
|
* Plugin manager and plugin interface creationAlexander Kutsan2018-06-2641-143/+391
| | | | | | | | | | | | | | | | | | | add Optional type Fix compile warnings and use optional for returning plugin Add descriptions to optional Fix review issues Fix header guards Fix build with unit tests after commands factory refactoring - Change enum name from command origin to command source - Create Mock for command factory class - Fix mock_app_manager after refactoring - Fix failed unit test
* Refactor CommandFactoryIra Lytvynenko2018-06-2662-782/+967
| | | | | | Fix SendAudioPassThroughNotification Rename Command Origin to Command Source
* RPCHandler implementationIra Lytvynenko2018-06-2628-509/+846
| | | | | | | | | | | | | | | | Fix tests Fix due to rebase Fix unit tests in mobile commands Fixed unit tests in next commands: - delete_command_request_test.cc - delete_sub_menu_test.cc - perform_audio_pass_thru_test.cc - reset_global_properties_test.cc - send_location_request_test.cc - set_global_properties_test.cc
* RPCService implementationIra Lytvynenko2018-06-26169-1349/+2086
| | | | Fix commands UTs
* Merge pull request #2280 from XevoInc/bugfix/build_breaks_security_offJacob Keeler2018-06-252-0/+4
|\ | | | | fix: build breaks when ENABLE_SECURITY is OFF
| * fix: build breaks when ENABLE_SECURITY is OFFSho Amano2018-06-192-0/+4
| |
* | Merge pull request #2288 from mrapitis/fix/issue_2137feature/low_voltage_on_unix_signalsJacob Keeler2018-06-224-55/+0
|\ \ | | | | | | Fix Issue #2137
| * | fix for issue 2137Markos2018-06-204-55/+0
| |/
* | Check for hmi level instead of statusfix/check_onhmistatus_invalidConlain Kelly2018-06-211-5/+4
| |
* | add validity check to OnHMIStatusNotification::Run() to avoid passing bad ↵Conlain Kelly2018-06-201-0/+10
|/ | | | default hmi level
* Merge pull request #2235 from ↵feature/new_vehicle_data_turn_signalJackLivio2018-06-184-31/+82
|\ | | | | | | | | smartdevicelink/fix/fix_v5_protocol_messages_bson_params Fix V5 protocol message bson params
| * Fix failed unit test after updated implementationfix/fix_v5_protocol_messages_bson_paramsAKalinich-Luxoft2018-06-181-0/+12
| |
| * V5 Protocol Messages do not encrypt payload of Control Frame Message TypesAKalinich-Luxoft2018-06-183-31/+70
| | | | | | | | | | Updated encrypt/decrypt frame conditions Fixed bson object double allocation
* | Merge pull request #2218 from ↵JackLivio2018-06-1810-194/+121
|\ \ | |/ | | | | | | smartdevicelink/fix/fix_certificate_saving_after_ptu Fix certificate saving after policy table update
| * Added logic related to certificate savingfix/fix_certificate_saving_after_ptuAKalinich-Luxoft2018-06-1810-166/+11
| | | | | | | | Also was removed redundant logic
| * Fix leaked objects and add constAndrii Kalinich2018-06-182-11/+25
| | | | | | | | | | Conflicts: src/components/security_manager/src/crypto_manager_impl.cc
| * Fixed affected mocks and UT'sAKalinich-Luxoft2018-06-181-18/+13
| | | | | | | | | | Added new expectations for a security tests due to some changes in the security flow
| * Fix cert processing and module saving after policy table updateAKalinich-Luxoft2018-06-182-31/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SDL Core should update the module certificate in the local file system when a policy table update occurs. Currently SDL core is retrieving its certificate directly out of the policy table. This fix provides functionality for saving module certificate to the file system. Following changes were done: - Added getters for CertificatePath and KeyPath parameters in SecurityManagerSettings class to provide another components an access to these properties - Added methods for saving certificate and private key data to the files specified by CertificatePath and KeyPath keywords - CryptoManager component implementation was updated. Now this component also saves certificate data to files (if write permission allowed) after PTU
| * Fix nonfunctional CertificatePath and KeyPath parameters in INIAKalinich-Luxoft2018-06-181-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, SDL Core ignores both the CertificatePath and KeyPath keywords that would allow the system integrator to specify certificates for their environment, instead SDL Core only processes the certificate provided via the policy table. This fix makes these keywords functional. Following changes were done: - Added getters for CertificatePath and KeyPath parameters in SecurityManagerSettings class to provide another components an access to these properties - Added methods for loading certificate and private key data from the files specified by CertificatePath and KeyPath keywords - CryptoManager component implementation was updated. Now this component also read certificate data from files (if they are present and accessible) on its own initialization
* | removed TLS handshake app name string compare and updated UTMarkos Rapitis2018-06-182-18/+0
|/
* Fixed leaked objectsAndrii Kalinich2018-06-181-6/+20
|
* Fixed affected mocks and UT'sAKalinich-Luxoft2018-06-184-0/+41
| | | | | Added new expectations for a security tests due to some changes in the security flow
* Fix nonfunctional CertificatePath and KeyPath parameters in INIAKalinich-Luxoft2018-06-184-1/+128
| | | | | | | | | | | | | | | | | Currently, SDL Core ignores both the CertificatePath and KeyPath keywords that would allow the system integrator to specify certificates for their environment, instead SDL Core only processes the certificate provided via the policy table. This fix makes these keywords functional. Following changes were done: - Added getters for CertificatePath and KeyPath parameters in SecurityManagerSettings class to provide another components an access to these properties - Added methods for loading certificate and private key data from the files specified by CertificatePath and KeyPath keywords - CryptoManager component implementation was updated. Now this component also read certificate data from files (if they are present and accessible) on its own initialization
* Moved out unrelated to feature codeAKalinich-Luxoft2018-06-181-4/+0
|
* Add correct certificate expiration handlingAndriy Byzhynar2018-06-183-9/+7
|
* Add UT for DTLSValerii2018-06-184-63/+91
| | | | | | | | | | | | | | | - Correct initialization crypto manager with different protocols - Handshake without protocol verification - Handshake with CA verification only server side - Handshake with CA verification only client side - Handshake with CA verification both sides - Handshake client side fail with certificate not signed error - Handshake client side fail with certificate is expired error - Handshake fail with application name and application ID are not valid - Reset connection without verification - Reset connection with verification both sides - Test with correct protocol - Test with uncorrect protocol
* Fix security manager UTValerii2018-06-186-268/+320
| | | | | | | | | | | Fixed UT which failed due to code changes provided by dtls encryption support by SDL The following UT were fixed: - src/components/security_manager/test/crypto_manager_impl_test.cc - src/components/security_manager/test/security_manager_test.cc - src/components/security_manager/test/ssl_certificate_handshake_test.cc - src/components/security_manager/test/ssl_context_test.cc
* Fix decrypted multiframe message handlingAndriy Byzhynar2018-06-187-13/+44
| | | | | Fixed SDL behavior in case when FIRST_FRAME received from mobile was encrypted
* Add handling of wrong force protection settings in ini fileAndriy Byzhynar2018-06-186-2/+48
|
* Add support for DTLS encryption protocolAndriy Byzhynar2018-06-184-2/+25
| | | | Added initial implementation
* Merge pull request #2105 from smartdevicelink/feature/get_system_timeJacob Keeler2018-06-1855-249/+1978
|\ | | | | Feature/get system time
| * Removed unused code in regular policiesfeature/get_system_timeAKalinich-Luxoft2018-06-158-37/+0
| |
| * Fixed time zones issue while checking certificate exp dateAndrii Kalinich2018-06-131-1/+11
| |
| * Updates after Livio reviewAndrii Kalinich2018-06-1312-37/+41
| |
| * Merge branch 'develop' into feature/get_system_timeAndrii Kalinich (GitHub)2018-06-05127-268/+1678
| |\
| * | Move out unrelated to feature changesAKalinich-Luxoft2018-06-046-15/+123
| | | | | | | | | | | | | | | | | | There was included some changes related to certificate processing. They will be included into related pull request
| * | Fix affected UT and mocksAKalinich-Luxoft2018-05-313-11/+2
| | |
| * | Additional fixes after ATF testingAKalinich-Luxoft2018-05-3116-161/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed OnCertificateUpdated notification callback for empty certificate Fixed GetSystemTime triggering Fixed handshake resuming on system time arrived Fixed wrong logic in case system time is not ready Removed redundant logic for non-navi applications Removed PTU triggerring for navi on empty certificate in DB
| * | Add Unit Tests: GetSystemTime Request/Response, OnSystemTimeReadyKVGrygoriev2018-04-066-3/+231
| | |
| * | Implement fully functional GetSystemTime featureAndriy Byzhynar2018-04-0657-227/+1737
| | | | | | | | | | | | | | | | | | Implemented fully working GetSystemTime feature Fixed UT in the security manager due to code changes Disable randomly failed test
* | | Style FixJackLivio2018-06-151-6/+6
| | |
* | | Merge pull request #2243 from smartdevicelink/feature/working_travis_buildJacob Keeler2018-06-152-3/+2
|\ \ \ | | | | | | | | Feature/working travis build
| * | | Reduce boost install verbosityfeature/working_travis_buildConlain Kelly2018-06-151-1/+1
| | | |
| * | | Add in working travis build that runs unit tests, apply style check fixConlain Kelly2018-06-061-2/+1
| | |/ | |/|
* | | Merge pull request #2266 from ↵JackLivio2018-06-151-2/+5
|\ \ \ | | | | | | | | | | | | | | | | LitvinenkoIra/fix/external_proprietary_policy_build Fix build with EXTERNAL PROPRIETARY policy flag