- 14 Jun, 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: I20333c980226dc6a0c257dc36aab1502202993d9 Signed-off-by:
Oleksandr Andrieiev <o.andrieiev@samsung.com>
-
- 08 Jun, 2018 1 commit
-
-
Vitalii Irkha authored
SConscript for cloud build Cloud Reset is also was added Change-Id: Ibd33bf931322a58e3efac1ccfebd5ea5cb6a1330 Signed-off-by:
Vitalii Irkha <v.irkha@samsung.com>
-
- 07 Jun, 2018 1 commit
-
-
Vitalii Irkha authored
Fixed minor issues Change-Id: I95ea9ae239336c7b602d55569d2c2f9b5b2976d3 Signed-off-by:
Vitalii Irkha <v.irkha@samsung.com>
-
- 04 Jun, 2018 1 commit
-
-
George Nash authored
Bug: https://jira.iotivity.org/browse/IOT-3056 Change-Id: I85e0b6a1585eac4d0f90154c261103ce58343fd7 Signed-off-by:
George Nash <george.nash@intel.com>
-
- 30 May, 2018 2 commits
-
-
Aleksey authored
Change-Id: I40a9b3c3f89894e92c75c798e918f1713e9e6740 Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-
Aleksey authored
Do not delete session in case if token refresh thread stops Change-Id: I44bd904f13cdd7b44e34e47a69ce403248e550b9 Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-
- 28 May, 2018 1 commit
-
-
Koushik Girijala authored
Add csdk API in ocstack to send COAP ping messages over tcp. Change-Id: Idbe257c1baa90a7cabce6fe6113ab09fb5644eab Signed-off-by:
Veeraj Khokale <veeraj.sk@samsung.com> Signed-off-by:
koushik girijala <g.koushik@samsung.com> (cherry picked from commit bfbac92c)
-
- 24 May, 2018 1 commit
-
-
Veeraj Khokale authored
TCP adapter disconnects the session whenever the data to be sent has an empty payload. Since ping messages and signaling messages need to have an empty payload they are dropped. Fix this by checking if the message is a signaling message before dropping it. Change-Id: I1cfad27fcfd5cf3a42510412e6555b84ea905259 Signed-off-by:
Veeraj Khokale <veeraj.sk@samsung.com> (cherry picked from commit c7dce6b5)
-
- 23 May, 2018 1 commit
-
-
koushik.girijala authored
fixed resource uri for issue [IOT- 3069] removed unsecure enpoints from cloud payload [IOT-3071] adding oic.if.rw interface to cloud resource [IOT-3070] Change-Id: I719d54bd846f77a5cf2905ccc130ab0434005491 Signed-off-by:
koushik.girijala <g.koushik@samsung.com>
-
- 22 May, 2018 1 commit
-
-
Philippe Coval authored
It looks like BLE support has been dropped, while some bits are remaining, check for: CA_BLE_NORMAL_SEGMENT_PAYLOAD_SIZE Bug: https://jira.iotivity.org/browse/IOT-2030 Change-Id: Idb99ebfbd721c6abb5ce6cfcf2c381ece195ffc8 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 18 May, 2018 1 commit
-
-
Vitalii Irkha authored
Fixed some negligible issues. Change-Id: If6ef5b77514a2b4cccea90e609da340c75083ac6 Signed-off-by:
Vitalii Irkha <v.irkha@samsung.com>
-
- 17 May, 2018 1 commit
-
-
Vitalii Irkha authored
Request to /oic/sec/csr creates itself a new credential Get PrimarySertKey for appropriated Primary Certificate. Change-Id: Ie09a186fb03c3cc0006a583fc6ea03c5aa739790 Signed-off-by:
Vitalii Irkha <v.irkha@samsung.com>
-
- 16 May, 2018 2 commits
-
-
Aleksey authored
- fixed clec - disable multiple cloud support - add more logging - fix apn & redirectUri errors - freeCloud fix - cloud refresh fix Change-Id: I7898e2c704320a84d441ffc4a3dae6de03eb8a7e Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-
Aleksey authored
a) sample server justwork: added key press check b) fixed apn check c) signout in delete cloudconfig d) delete cloud e) use redirect uri f) update cloud if not working g) token refresh timeout Change-Id: Iefe5e0d0c37359a5699f021364a0aa82e8799f68 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com> Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-
- 07 May, 2018 1 commit
-
-
Philippe Coval authored
Change-Id: Ia69fc0a9d7b0624a13c7d3ef2ba6a0e921ea4ba3 Bug: https://jira.iotivity.org/browse/IOT-3027Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit cca779a3)
-
- 04 May, 2018 1 commit
-
-
Philippe Coval authored
Bug: https://jira.iotivity.org/browse/IOT-1600 Change-Id: I1f59d7d0dc13e00d041d6feb465a359cd7388282 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> (cherry picked from commit 5c16320f)
-
- 20 Apr, 2018 2 commits
-
-
Philippe Coval authored
Change-Id: I43209c55d6b5a6b7dc8ef8b1de8f49f2f8e7eb9a Bug: https://jira.iotivity.org/browse/IOT-2453Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
Aleksey authored
-- return empty filled response from /oic/cloudconf in case if cloud data is not provisioned -- add rt and if fields to the RETRIEVE response payload Change-Id: I37adc9b039e1ab9377b8024552eee4fb1e3ed1ab Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-
- 19 Apr, 2018 1 commit
-
-
Aleksey authored
a) mandatory fixed b) apn param usage in signup c) clean Change-Id: I615432439a68600f00d7335d3641c7d7499c8955 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com> Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com> (cherry picked from commit 0532f6be)
-
- 18 Apr, 2018 5 commits
-
-
Mats Wichmann authored
fix reported "might leave destination string unterminated" when using strncpy and the size argument is the size of the desitnation buffer. There are several ways to fix, but the IoTivity API OCStrncpy adjusts the size before calling the underlying fuction and so fixes the problem. This is the coding standard recommendation anyway. for instances in examples, oic_string.h is not in the public API, so just fix up the counts. bridging/common/messageHandler.cpp had a third strncpy which was not flagged - but it was using a constant that did not match the size in the destination - MPMResourceList.href is size MPM_MAX_URI_LEN, so this was adjusted. service/notification/src/consumer/NSConsumerCommon.c had this construct: sizeof(char) * NS_DEVICE_ID_LENGTH in several places (one of which was one of these strncpy calls that was changed). the instances were shortened NS_DEVICE_ID_LENGTH for readability. This is not fixing any reported problem and can be dropped if it bothers reviewers. Change-Id: I8f22f7dd704849477dad0dd1f16cd9276ebf1d04 Signed-off-by:
Mats Wichmann <mats@linux.com>
-
Oleksandr Dmytrenko authored
outdated cloud sample removed Change-Id: I8d8991d1e6f5f0879c3a168b7807680710b2e0a2 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Oleksandr Dmytrenko authored
a) cloud resource unittests b) amacl resource make cbor fix Change-Id: Ib4d56f3105e060656d52f5b0b498ae188fe42c03 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
Kush authored
Change-Id: I893246e60d959efa65741635e8e8b286e05a0b4d Signed-off-by:
Kush <kush.agrawal@samsung.com>
-
Aleksey authored
- add coapcloudconf uri to DCR list - start cloud signin on RFNOP, not on RFPRO Change-Id: Id52b650a23c82830a2641d5e0e5b94af79aa0c27 Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-
- 17 Apr, 2018 1 commit
-
-
v.riznyk authored
missing fix for task, changed size of map Change-Id: I8a6cf6fc06058c003da3ec52d695aa0dd303c63f Signed-off-by:
v.riznyk <v.riznyk@samsung.com>
-
- 16 Apr, 2018 2 commits
-
-
Aleksey authored
Change-Id: I9ffd0a80eef1343c28034dfb66edc7d55cb5e8de Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-
Philippe Coval authored
Bug: https://jira.iotivity.org/browse/IOT-2267 Change-Id: I0cc8d19fd693a2f10ac2230f0ca34a4ae4bc31ea Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 13 Apr, 2018 1 commit
-
-
Vitalii Irkha authored
SRPGetSpResourceCB registers any client responce. Change-Id: Ib24479bfd76c8c683998ac4c7187dfc90fb47041 Signed-off-by:
Vitalii Irkha <v.irkha@samsung.com>
-
- 12 Apr, 2018 1 commit
-
-
Jay Sharma authored
Change-Id: I367e12d25e27b904a18bf9c6bb14c87001c3e20b Signed-off-by:
Jay Sharma <jay.sharma@samsung.com>
-
- 11 Apr, 2018 1 commit
-
-
Philippe Coval authored
They were discovered when building for Tizen:RT Bug: https://jira.iotivity.org/browse/IOT-2539 Origin: https://gerrit.iotivity.org/gerrit/#/c/24129/ Change-Id: Idea365f15f5aff38634e05914d9c55afe2d6bd8e Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 10 Apr, 2018 5 commits
-
-
Philippe Coval authored
Change-Id: I3e6ab42060cd082094dd906e36897dc58f152773 Origin: https://gerrit.iotivity.org/gerrit/#/c/24421/Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
v.riznyk authored
The checking pDev2 was added to OCProvisionCredentials. Change-Id: Ic289559c68250a1436fab64bcbd5dfb26d7eb4c8 Signed-off-by:
v.riznyk <v.riznyk@samsung.com>
-
v.riznyk authored
Update Cred recource with adding partial generating CBOR. Change-Id: I25dcf3d020da09c67d0769eee8659d85253b4f5d Signed-off-by:
v.riznyk <v.riznyk@samsung.com>
-
Mats Wichmann authored
The boost script used string.replace() which is no longer supported; problem did not turn up until trying a build on Windows The security - provisioning - unittest script had a Windows stanza for killing running server processes before launching a new one. It printed the process id it was going to kill in a way that caused an AttributError exception - this was a conversion error from when print statement was changed to print function, again the code path had not been hit. At the same time a second exception ocurred because when the first exception took place the script attempted to us the message attribute of the exception for printing, but not all exceptions have such an attribute. Change to just print the string representation of the exception, which is more reliable. Additionally, in the libcoap script, the term 'string' is used which while not broken since the script never imports the string module, is unnecessarily ambiguous. Use the Python recommended disambiguation of adding a trailing underscore on an identifier which might match one used by Python. Change-Id: I635796a6442caacb6988e21dbe46938f860e333f Signed-off-by:
Mats Wichmann <mats@linux.com>
-
Mats Wichmann authored
In TestEncodeDecode, a profile is allocated and filled; it is unwound but not deallocated, leading to valgrind memory leak report like this: 32 bytes in 1 blocks are definitely lost in loss record 130 of 271 The freeing change eliminates nine such reports, one for each call to the function. Change-Id: I8b1223f7b832d4fafac4d7225ea2544fc348a7a4 Signed-off-by:
Mats Wichmann <mats@linux.com>
-
- 09 Apr, 2018 1 commit
-
-
George Nash authored
URI is all caps when used in documentation Fixed instances where param document parameters [in], [out] and [in,out] were used incorrectly. A few other minor documentation issues cleaned up. Change-Id: Ic9db0c22a667d371fd1ca00c60b5bbceba6a3c77 Signed-off-by:
George Nash <george.nash@intel.com>
-
- 07 Apr, 2018 4 commits
-
-
Philippe Coval authored
Bug: https://jira.iotivity.org/browse/IOT-524 Change-Id: I1b88b500f18445ea145c24a8e52ea07c6b11c521 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
George Nash authored
Fixed possible issue that the for loop could be accessing element outside the array. Replaced the variables holding the size of the array with a compile time calculation. Removed separate member varaible use to track the size of the resource type array and the resource interface array. Changed the initialization of m_dimmingLightServer from C++11 initializer list style to C++98 initializer style due to this causing build failure on gcc/g++ v4.8.4. Issue reported by Abhishek Pandey Change-Id: I553e661dbd2e6fa3fe38d8694d88273c5b309c58 Signed-off-by:
George Nash <george.nash@intel.com>
-
Philippe Coval authored
Bug: https://jira.iotivity.org/browse/IOT-524 Change-Id: I9db429a928d6fb5084948a7122c2a4f0151829bd Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
Philippe Coval authored
logger tests are renamed to more meaningful names, note that yocto used different names (logger_test_c/cpp), I aligned to upstream's sources. Bug: https://jira.iotivity.org/browse/IOT-524 Origin: https://gerrit.iotivity.org/gerrit/#/c/24483/ Change-Id: Ib5eabdece4414801cd08d27671bb759d27914174 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-