- 20 Sep, 2018 1 commit
-
-
Oleksandr Andrieiev authored
For secure connections that use certificates the SubjectUUID is retrieved from leaf certificate's CN. However, there is no binding mechanism between Root CA and Device Id that it can generate certificates for. Root CAs can issue certificates with arbitrary UUIDs, which can be used to impersonate another Device. The fix adds callback to the certificate chain validation function. This callback collects single-linked list of all UUIDs associated with the certificate in cred entries. When leaf certificate is reached, UUID of Device is retrieved and matched against static list. If no matching UUID is found, connection should be rejected. Bug: https://jira.iotivity.org/browse/IOT-3087 Change-Id: Ic766fa2256d548c99ed4a5dd76f6f3c53b5250a9 Signed-off-by:
Oleksandr Andrieiev <o.andrieiev@samsung.com>
-
- 14 Aug, 2018 1 commit
-
-
Rami Alshafi authored
The DOXM resource in the RFOTM state needs to provide write permissions to the onboarding tool. Fixed code indentation formats and improved README Change-Id: I8909f4b5182488bc01e69b2889cdf3ddeb8f42ab Signed-off-by:
Rami Alshafi <ralshafi@vprime.com>
-
- 23 Jul, 2018 1 commit
-
-
Vitalii Irkha authored
PM app doesn't clear owned list Change SQL requests for WHERE statements with blob params. (Support sqlite3 ver. 3.11, OS specific - Ubuntu 16.04.3 LTS). Change-Id: Icf7f7e562da27df180a9b30c436db98d051869de Signed-off-by:
Vitalii Irkha <v.irkha@samsung.com>
-
- 04 Jul, 2018 1 commit
-
-
Philippe Coval authored
This will be useful for creating snapshot versions ie: 1.3.0+99+1.3.1+RC5~B4DC0DE Bug: https://jira.iotivity.org/browse/IOT-1745 Change-Id: Ib95ee7c53cc226e411bacc03313ffd6829b7e7d1 Origin: https://gerrit.iotivity.org/gerrit/#/c/23241/Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit 96d00530)
-
- 12 Apr, 2018 1 commit
-
-
Rami Alshafi authored
Added OCF secure server sample application in C++. Added OCF secure client sample application in C. Added supporting json and dat files putting the applications in RFNOP state. Added README file descriping how to use the sample applications. Added utilities file containing utility functions used by the server and client applications. Added SConscript to build the secure samples and modified the SConscipt in the root directory to include the new SConscript. Change-Id: I9e1cd4647b55b3e95d1455d7939f13bf3451fd1b Signed-off-by:
Rami Alshafi <ralshafi@vprime.com>
-
- 23 Mar, 2018 1 commit
-
-
Philippe Coval authored
Bug: https://jira.iotivity.org/browse/IOT-1745 Change-Id: I14190ffe2f857d48e062f3f78e9b7b52123efe1b Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 09 Mar, 2018 1 commit
-
-
Oleksandr Dmytrenko authored
old version servers support Change-Id: I2f7d54c0ff6b4a372b82c4e99263af4df2c98a4e Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
- 02 Mar, 2018 1 commit
-
-
Ibrahim Esmat authored
Add support for building iotivity UWP with Visual Studio 2017 Change-Id: Ic10d427cc2f5b8fea19905de6c647e40e4f24384 Signed-off-by:
Ibrahim Esmat <iesmat@microsoft.com>
-
- 14 Feb, 2018 1 commit
-
-
Philippe Coval authored
Tests are run from toplevel's dir and some .dat files are created from them, and should not be commited, while those along json files (not in project dir) should be on changes, and they won't be ignored by this change. Bug: https://jira.iotivity.org/browse/IOT-2599 Change-Id: I6c0cdde527889390661c14d0dc98dcced702c73d Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/21995Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
George Nash <george.nash@intel.com> Reviewed-by:
Mats Wichmann <mats@linux.com> Reviewed-by:
Randeep Singh <randeep.s@samsung.com> (cherry picked from commit c6bbeaca)
-
- 12 Feb, 2018 1 commit
-
-
Philippe Coval authored
To track versions config options (SCONSFLAGS) are shared into dev package. Also introduce EXTRA_RPM_SCONSFLAGS that could be used outside (ie: rpmbuild) It will be helpful for ARTIK7 support on fedora-24 Bug: https://jira.iotivity.org/browse/IOT-524 Change-Id: I15a3dcc3d3f74078e561143804562c750d9c4660 Origin: https://github.com/TizenTeam/iotivity/tree/sandbox/pcoval/on/master/fedora Forwarded: https://gerrit.iotivity.org/gerrit/#/c/23393/Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 09 Feb, 2018 2 commits
-
-
Yogisha Poojary authored
Bug: https://jira.iotivity.org/browse/IOT-1897 https://jira.iotivity.org/browse/IOT-2570 Change-Id: If8eb4fd34191da7144f39b9e6d1870209d17c9ca Signed-off-by:
Yogisha Poojary <yogisha.poojary@lnttechservices.com>
-
Oleksandr Dmytrenko authored
add json2cbor save doxm section Change-Id: I2578ebd8162978b489833edc7e6159b30cb851ec Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com> (cherry picked from commit 2a46516c) Origin: https://gerrit.iotivity.org/gerrit/#/c/23903/
-
- 08 Feb, 2018 1 commit
-
-
Mats Wichmann authored
In case user is not pointing to correct JAVA_HOME, the java version check will error out without being very descriptive. Catch the error and print a message. Change-Id: Ie78bc0882d8f1f1436352c8c1e26307ce2cad731 Signed-off-by:
Mats Wichmann <mats@linux.com> (cherry picked from commit 954bec4b)
-
- 07 Feb, 2018 1 commit
-
-
Mats Wichmann authored
Per the header ocstackconfig.h, two defines are deprecated with replacement. Change the single file which still uses the old names. The header comment: /** * Maximum length of the Manufacturer name supported by the server * for manufacturer name. * @deprecated use MAX_PLATFORM_NAME_LENGTH instead. */ /** * Maximum length of the URL to the Manufacturer details supported by * the server. * @deprecated use MAX_PLATFORM_URL_LENGTH instead. */ Change-Id: I40ae198120de175750447996ebd43bed9ec25fa8 Signed-off-by:
Mats Wichmann <mats@linux.com>
-
- 06 Feb, 2018 2 commits
-
-
Philippe Coval authored
Bug: https://jira.iotivity.org/browse/IOT-524 Change-Id: Idb2b2da72104f91d4a1257f571abdea4ca10d88a Origin: https://github.com/TizenTeam/iotivity/tree/sandbox/pcoval/on/master/fedoraSigned-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
Thiago Macieira authored
Since we're doing err |=, the correct way to check for OOM is with &. TinyCBOR 0.5 is capable of reporting if you added too many or too few elements to a container. So don't skip adding one: always add them all, so we can get the actual size you need. Change-Id: I56b444f9d6274221a3b7fffd150d4c8e2cb6618a Signed-off-by:
Thiago Macieira <thiago.macieira@intel.com>
-
- 02 Feb, 2018 1 commit
-
-
Philippe Coval authored
Bug: https://jira.iotivity.org/browse/IOT-2541 Bug-Tizen: https://bugs.tizen.org/jira/browse/TINF-861 Change-Id: Ia37aade9f23db37bb7e86a81e8639d2b6e0300cd Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit b5d0182d)
-
- 01 Feb, 2018 2 commits
-
-
George Nash authored
This cleans new build warnings discovered when building iotivity with GCC 7.2.1 -Werror=format-truncation Fixed in json2cbor that was a result of incorrect buffer size in snprintf -Werror=implicit-fallthrough With the addition of the [[fallthrough]] keyword in C++17 GCC now detects fallthrough locations. The fallthrough error can be hidden by adding the comment "fall through" to the case that is falling though. -Werror=pragmas and -Werror=attributes are from the external tinyCbor code. We Ignore build warnings from extern libraries. We may fix the warnings by working witht he external project but it should not block any work in IoTivity. Change-Id: I86c9fb42b987858c66698fe48e4c2a405769b004 Signed-off-by:
George Nash <george.nash@intel.com>
-
Philippe Coval authored
This was needed for ARTIK7 on fedora-24 Change-Id: Ice95627b6afdf19f16c1e9277015f63938d2c132 Bug: https://jira.iotivity.org/browse/IOT-524 Origin: https://gerrit.iotivity.org/gerrit/#/c/23373/Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit 5bf81a0c)
-
- 29 Jan, 2018 4 commits
-
-
Philippe Coval authored
Could be done in scons install too Bug: https://jira.iotivity.org/browse/IOT-524 Change-Id: I60f4684d17d260e1917fe5840b4eda626c196056 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit df6ca6d5) Origin: https://gerrit.iotivity.org/gerrit/#/c/23301/
-
Philippe Coval authored
Bug: https://jira.iotivity.org/browse/IOT-1745 Change-Id: Ie7196851c3e623f383e6727b5cbd1c29cf1ae6ac Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
Philippe Coval authored
Working tests will be sorted out in later changes, for now hierarchy is kept. libcoap is installed as static lib used by com-oic-es-sample. This was needed for ARTIK7 on Fedora-24 Bug: https://jira.iotivity.org/browse/IOT-524 Change-Id: Idca20f1ddd00fbaf8c980e959a041397887f123b Forwarded: https://gerrit.iotivity.org/gerrit/#/c/23471/ Origin: https://github.com/TizenTeam/iotivity/tree/sandbox/pcoval/on/master/fedoraSigned-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
Philippe Coval authored
This was needed for ARTIK7 on fedora-24 Change-Id: I9a5081fe78299ca57dd2fbfa4efb70b051e4ad28 Bug: https://jira.iotivity.org/browse/IOT-524Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit 924f632d) Origin: https://gerrit.iotivity.org/gerrit/#/c/23371/3
-
- 25 Jan, 2018 2 commits
-
-
Mats Wichmann authored
Currently, when the run_tests function is called twice from the the same scons script (that is, the script has more than one unit test binary to register), the GTEST_OUTPUT environment variable becomes malformed. This is because the string to add is added to a list instead of just being appended as a string. The result is that while all the test output binaries are expected to go to BUILD_DIR/test_out, in these cases they go deep down underneath that directory. Here are the unexpected paths in an unmodified testing run: out/linux/x86_64/debug/test_out/:xml: out/linux/x86_64/debug/test_out/:xml:/home out/linux/x86_64/debug/test_out/:xml:/home/mats out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux/x86_64 out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux/x86_64/debug out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux/x86_64/debug/test_out out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux/x86_64/debug/test_out/unittest.xml out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux/x86_64/debug/test_out/stacktests.xml out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux/x86_64/debug/test_out/cbortests.xml out/linux/x86_64/debug/test_out/:xml:/home/mats/iotivity.work/out/linux/x86_64/debug/test_out/provisiontests.xml The :xml: is intended as a tag used to signal gtest, it is never supposed to be part of the real filesystem path. Note fix was already proposed as part of https://gerrit.iotivity.org/gerrit/#/c/22275/ but since it's a distinct error with a very simple fix, wanted to get it pushed through by itself while that one is under consideration. Change-Id: I05c57d54034686a7c77c783eab758e7f501e86ea Signed-off-by:
Mats Wichmann <mats@linux.com> (cherry picked from commit 0d010e4b)
-
Sushil Yadav authored
The following change has been merged in the master. https://gerrit.iotivity.org/gerrit/20689 Pushing the change one the 1.3-rel branch as suggested by Phil. Change-Id: I8d4b8b97d93521174273e08aa9202e6008e6abfe Signed-off-by:
Sushil Yadav <sushil.ky@samsung.com> Reviewed-by:
Jooseok Park <jooseok.park@samsung.com> Reviewed-by:
Phil Coval <philippe.coval@osg.samsung.com> Reviewed-by:
Uze Choi <uzchoi@samsung.com> Reviewed-by:
Ashok Babu Channa <ashok.channa@samsung.com> Origin: https://gerrit.iotivity.org/gerrit/#/c/23347/
-
- 24 Jan, 2018 1 commit
-
-
Philippe Coval authored
Functions in payload_logging.h can be used in examples, so it's installed in "experimental" sub namespace along dependencies. Bug: https://jira.iotivity.org/browse/IOT-1745 Change-Id: If3a9e4309601c356ab9a2faaa9fbe26283408633 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/21195Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
George Nash <george.nash@intel.com> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
- 19 Jan, 2018 2 commits
-
-
George Nash authored
Turning on the ERROR_ON_WARN has caused issues for developers building the code on untested compilers. We still want the build system to reject new warnings but we don't want to preven developers from building on their own system. Bug: https://jira.iotivity.org/browse/IOT-2966 Change-Id: I69e9d52185db37d283645ee2fb41e39f288a38ef Signed-off-by:
George Nash <george.nash@intel.com>
-
Way Vadhanasin authored
Windows needs run.bat to have line ending as CRLF and this change ensures that. Change-Id: I3f879424b72e101281c2bfe4a03784886332742e Signed-off-by:
Way Vadhanasin <wayvad@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/20599Reviewed-by:
Kevin Kane <kkane@microsoft.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-by:
Phil Coval <philippe.coval@osg.samsung.com> (cherry picked from commit 88a4786c)
-
- 18 Jan, 2018 1 commit
-
-
Larry Sachs authored
Some Android phones (LG, HTC) crashed on removing listeners when compiled WITH_CLOUD=1. By reversing the order in which the listeners were removed, the crash does not occur. Bug: https://jira.iotivity.org/browse/IOT-2957 Change-Id: I32facaaf9a93ad6d0c7125e791c11618aa527587 Signed-off-by:
Larry Sachs <larry.j.sachs@intel.com>
-
- 17 Jan, 2018 1 commit
-
-
Philippe Coval authored
While working on "scons install", static lib were not resolved. So I found this could be changed separately Observed issue was: Linking shared .../libhueplugin.so g++: error: .../out/.../libmpmcommon.a: No such file or directory scons: *** [out/.../libhueplugin.so] Error 1 This was needed for ARTIK7 on fedora-24 Bug: https://jira.iotivity.org/browse/IOT-524 Change-Id: Ibadd174bd84bcaf48d972fdb3071ba3b03ff1373 Origin: https://github.com/TizenTeam/iotivity/tree/sandbox/pcoval/on/master/fedora Forwarded: https://gerrit.iotivity.org/gerrit/#/c/23409Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 15 Jan, 2018 1 commit
-
-
Philippe Coval authored
To support fedora-24 for ARTIK7 Change-Id: I8d40700b8f19fcbc71cb3ad3235cda990290792d Origin: https://gerrit.iotivity.org/gerrit/#/c/23299/Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit 56ce7b64)
-
- 12 Jan, 2018 1 commit
-
-
Philippe Coval authored
This was needed for fedora-24 for ARTIK7 Bug: https://jira.iotivity.org/browse/IOT-1745 Change-Id: I177a277a07a0684e58f5935b5785de50b3d78af1 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 11 Jan, 2018 2 commits
-
-
Mats Wichmann authored
github evaluates the maturity of a project in part by whether it has certain things set up: a readme, a license, a contributions document and a code of conduct. There's no cost to adding the CONTRIBUTING.md which the github mirror will pick up - it's the content from a web page (and points to that page as well). Change-Id: Idb77d3b822482ddc430cf500eca0a6bae5ccc955 Signed-off-by:
Mats Wichmann <mats@linux.com> (cherry picked from commit 140f1b9f)
-
Philippe Coval authored
This was needed for fedora-24 for ARTIK7 Bug: https://jira.iotivity.org/browse/IOT-1745 Change-Id: I1dab992c31013170d2ec068e8ac05ef9c4d9c84a Origin: https://gerrit.iotivity.org/gerrit/#/c/23271/Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit c56974d4)
-
- 08 Jan, 2018 1 commit
-
-
Philippe Coval authored
Fixed some Install rules and where they were missued, InstalTarget and UserInstall* were somehow overlapping. If prefix is not used, then install to separate folder in tree. See python comments for more details. Maybe this could be refactored later, but this change tried to keep the difference minimal. Other related fixes are separated in obvious patches. Instalation of supported examples to come later This was needed for ARTIK7 on fedora-24 Bug: https://jira.iotivity.org/browse/IOT-524 Change-Id: I2143f41c6dba7356617186f2d9cb68ef82323f5e Forwarded: https://gerrit.iotivity.org/gerrit/#/c/23403/ Origin: https://github.com/TizenTeam/iotivity/tree/sandbox/pcoval/on/master/fedoraSigned-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 02 Jan, 2018 5 commits
-
-
Oleksandr Dmytrenko authored
sample randompin server refactoring Bug: https://jira.iotivity.org/browse/IOT-2912 Change-Id: I4aa744a34d706a995fb8d4d7d2927ff29a2ec39a Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Oleksandr Dmytrenko authored
svr db editor refactoring Bug: https://jira.iotivity.org/browse/IOT-2912 Change-Id: Id08cb65a06c296619bf81814bf4ca9490688e2c8 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Oleksandr Dmytrenko authored
cloud sample refactoring Bug: https://jira.iotivity.org/browse/IOT-2912 Change-Id: I5b229f56dcd21efb823e2663e418cfaee99f6ab5 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Oleksandr Dmytrenko authored
cpp provisioning refactoing Bug: https://jira.iotivity.org/browse/IOT-2912 Change-Id: Ic80a6a9df54d1f6930ea779ad0a95dcd5b843c1c Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Aleksey authored
possible NULL derefence fix Change-Id: Ib1cb32a746555ae66bc89b26bb35fbcb52223c18 Signed-off-by:
Oleksii Beketov <ol.beketov@samsung.com> Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-