- 10 Jul, 2019 1 commit
-
-
Oleksii Beketov authored
Prevent treating reciprocal close_notify alert as an error after TSL connection closure. Change-Id: I22bc91a2f3c3e9bc13438588ca17b5944fcdc48f Signed-off-by:
Oleksii Beketov <ol.beketov@samsung.com>
-
- 09 Jul, 2019 1 commit
-
-
Oleksii Beketov authored
Added mutual close_notify alert respond on receiving close_notify alert according to RFC5246 p. 7.2.1. Change-Id: I984db86939fc575e02e964a849cf5f7b9e7265c9 Signed-off-by:
Oleksii Beketov <ol.beketov@samsung.com>
-
- 24 May, 2019 1 commit
-
-
Vitalii Irkha authored
Added input data check for verifyIdentity() API Change-Id: Ic4fca882dacf5f9d5eccfde9e94c16ee7fe74df5 Signed-off-by:
Vitalii Irkha <v.irkha@samsung.com>
-
- 27 Feb, 2019 1 commit
-
-
Aleksey authored
Delete all role credentials at the TLS session closure Change-Id: Ie51722647d31cc0be9650b1cb2586274519cbe00 Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-
- 26 Feb, 2019 1 commit
-
-
Oleksii Beketov authored
Added callback to return peer's UUID on SSL connection closure Change-Id: Ib31250c639b9c2633e1459f0d555424ca429fb26 Signed-off-by:
Oleksii Beketov <ol.beketov@samsung.com>
-
- 07 Feb, 2019 1 commit
-
-
Oleksii Beketov authored
If CN has no "uuid:" or "userid:" prefix, treat whole CN as uuid Change-Id: I3e90f2a65f3a82c861c28284ca32fd95e9a4cd23 Signed-off-by:
Oleksii Beketov <ol.beketov@samsung.com> Bug: https://jira.iotivity.org/browse/IOT-3256
-
- 21 Jan, 2019 1 commit
-
-
Oleksii Beketov authored
CA root cert check added to OCF profile chain validation Change-Id: I4b33d8487f2064cb019dbd25df922b835098a4fc Signed-off-by:
Oleksii Beketov <ol.beketov@samsung.com> Bug: https://jira.iotivity.org/browse/IOT-3255
-
- 16 Jan, 2019 1 commit
-
-
Jeremy Rover authored
Change-Id: Ib032c9b2b35b2ef3c23bb9a9cedba46e5aacd4da Signed-off-by:
Jeremy Rover <jeremy.rover@intel.com> Bug: https://jira.iotivity.org/browse/IOT-3245
-
- 20 Nov, 2018 1 commit
-
-
Aleksey authored
Reset X509 verify callback in the global mbedtls context in case if the identity callback isn't set. Change-Id: Ib1abfa00753b971d4eda85cfc18ebcc3a7b0707d Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-
- 13 Nov, 2018 1 commit
-
-
Yi-Soo An authored
To avoid unused parameter warning at compile-time, cast the parameter to void type. Change-Id: I4559b6ad06dc6ccfd304561015d9a184108dea11 Signed-off-by:
Yi-Soo An <yisooan@gmail.com>
-
- 06 Nov, 2018 1 commit
-
-
Oleksii Beketov authored
PEM/DER casting removed, allowing mbedtls to manage certificate conversion by itself. Credresource loads certificates that could be either PEM or DER encoded to a linked list instead of pushing them to a buffer. Change-Id: I200f9ef8798b20bf894b8ef2cf85e42e13749f38 Signed-off-by:
Oleksii Beketov <ol.beketov@samsung.com>
-
- 05 Nov, 2018 1 commit
-
-
Aleksey authored
Change-Id: Ia3436b8ea9da299084b770c4cd048f626a5d7d5a Signed-off-by:
Aleksey Volkov <a.volkov@samsung.com>
-
- 17 Oct, 2018 1 commit
-
-
Nathan Heldt-Sheller authored
Per CR 2611, CA and SubCA Certificates may (or may not) include the keyUsage "digitalSignature" bit. This change removes that bit from the list of disallowed bits. Change-Id: Ib70b838518bf2375be7b4ade9b5ab9d98cb397e9 Signed-off-by:
Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
-
- 11 Jul, 2018 1 commit
-
-
Oleksandr Andrieiev authored
Bug: https://jira.iotivity.org/browse/IOT-3108 Change-Id: I1bca35ab9c516f7a0850dd209e043048d9194007 Signed-off-by:
Oleksandr Andrieiev <o.andrieiev@samsung.com>
-
- 15 Jun, 2018 1 commit
-
-
sungmok.shin authored
- TARGET_OS "webos" is added - IP adapter for network monitoring is implemented - Introduce PmLog for IoTivity over webos - Provisioning library is included - Crash with iotivity-node application is fixed - Build error due to RD_MODE=all is fixed - ACG (Access Control Group) configuration file for sample application is added - Procedure for registering/Unregistering luna service is implemented - Internal function for getting LSHandle is implemented - ocserverbasicops & occlientbasicops for webos is implemented (built from separate folder) - IoTivity sampler(iotivity-node) for webOS is implemented - Set native application path to /usr/palm/services Bug: https://jira.iotivity.org/browse/IOT-2967 Change-Id: I3f4f143e7f528e873e5758410e226d98b2679151 Signed-off-by:
sungmok.shin <sungmok.shin@lge.com>
-
- 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>
-
- 04 Apr, 2018 1 commit
-
-
Philippe Coval authored
Declare void functions as strict prototype If built along -Wstrict-prototypes it will raise and error, this is the case on TizenRT. More patches to come to enable this flag by default. Bug: https://jira.iotivity.org/browse/IOT-2539 Change-Id: I71c37805b5fb60b4d8e1c78845194979fb18f9af Origin: https://gerrit.iotivity.org/gerrit/#/c/23969/Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com>
-
- 27 Mar, 2018 1 commit
-
-
Oleksandr Dmytrenko authored
Print ca ssl adapter messages Change-Id: I8f044e368caf75dc0212fad4edffd6c8c5c14ca2 Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
-
- 23 Mar, 2018 1 commit
-
-
George Nash authored
If a function was already marked as deprecated using the @derecated doxygen annotation the OC_DEPRECATED_MSG macro was added to generate compiler warnings when a deprecated function was used. The date the function was deprecated was obtained by using git blame to find when the @deprecated tag was added to the function documentation. The date the tag was added was used in the macro. Three instances of the function registerDeviceInfo are marked as deprecated but the macro was not added due to inheritance and mock objects implementing their own version of the registerDeviceInfo. Caused difficulty adding the macro to them without breaking the build. An attempt was made to clean up any remaining usages of deprecated functions that were not part of unit tests. It is possible that one or more instances of the 'registerDeviceInfo' function was missed. Java is still using deprecated functions: IOT-3011 and IOT-3012 to address the fact that Java is still using deprecated functions. Change-Id: I39b1af690b99d52f2e0d026e4c27b908e2f6c052 Signed-off-by:
George Nash <george.nash@intel.com>
-
- 07 Mar, 2018 1 commit
-
-
Steven Saunders authored
Change-Id: I0b55256c48fac998018a4a9089630d8b03e03482 Signed-off-by:
Steven Saunders <s.saunders-contractor@cablelabs.com>
-
- 02 Mar, 2018 1 commit
-
-
Steven Saunders authored
Change-Id: I3ee0fb005c6c9ce91a0e4c16454b6856c508616f Signed-off-by:
Steven Saunders <s.saunders-contractor@cablelabs.com>
-
- 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>
-
- 02 Jan, 2018 1 commit
-
-
Mats Wichmann authored
Arduino is now supported only in iotivity-constrained, but all the support in the iotivity build remains. Remove in three phases (just to make shorter commits to review). This patch removes conditional Arduino code in source files, as well as updates more text files with instructions, etc. The following files are *not* completely cleaned of arduino mentions: a) release notes: don't rewrite history on past releases resource/releaseNotes/Dec20th2014.txt resource/releaseNotes/Dec6th2014.txt resource/releaseNotes/Feb1st2015.txt resource/releaseNotes/Jan17th2015.txt resource/releaseNotes/Nov15th2014.txt resource/releaseNotes/Oct14th2014.txt resource/releaseNotes/Oct31st2014.txt resource/releaseNotes/Sept17th2014.txt resource/releaseNotes/Sept30th2014.txt resource/csdk/connectivity/RELEASE_v0.7 the last file was moved to resource/releaseNotes b) obsolete, leave alone: resource/csdk/connectivity/lib/libcoap-4.1.1/* c) diagram source contains arduino mention: resource/docs/c-doc/devdox/dot/ca_overview.gv - diagrams resource/docs/cpp-doc/devdox/dot/ca_overview.gv - diagrams d) some comment mentions Arduino. Might refer to something done to accomodate Arduino that does not need to be done any longer, but there was no direct conditional code involved. take another look at these. resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c resource/csdk/include/octypes resource/csdk/resource-directory/src/rd_server.c resource/csdk/security/include/experimental/securevirtualresourcetypes.h resource/csdk/stack/include/experimental/payload_logging.h resource/csdk/stack/src/ocendpoint.c resource/csdk/stack/src/ocstack.c Change-Id: Ia557e16c2e7890609ca7cf14bd0e5386b23261dc Signed-off-by:
Mats Wichmann <mats@linux.com>
-
- 15 Nov, 2017 1 commit
-
-
Nathan Heldt-Sheller authored
This reverts commit 7f9d8c71. 22967 caused a regression in the CTT; we'll fix and re-submit after regression testing. Change-Id: Ie06cf59b6463072c54b23c61d322bdb7f09cc22f Signed-off-by:
Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
-
- 14 Nov, 2017 1 commit
-
-
Oleksii Beketov authored
Allow to parse all CA certificates when SVR DB contains more than one root CA. Change-Id: Ie82632b459a9a064a90ff14e100e4db9ab60492d Signed-off-by:
Oleksii Beketov <ol.beketov@samsung.com>
-
- 16 Oct, 2017 1 commit
-
-
George Nash authored
The -Wformat= warning is given when the conversion specifier in a printf or scanf command does not match the value actually passed in. In this commit all of the issues are found in LOG functions. If type passed in was a variable size parameter like a pointer or size_t. The the PRIuPTR value from the inttypes.h header is used. For ssize_t variables the PRIdPTR was used. Bug: https://jira.iotivity.org/browse/IOT-2539 Change-Id: I4977253ac7ee68d2e80a26a0963b770b2ce87032 Signed-off-by:
George Nash <george.nash@intel.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/21771Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com> (cherry picked from commit 60d89aa8 )
-
- 13 Oct, 2017 1 commit
-
-
Oleksii Beketov authored
Added callback to check peer's certificate Common Name field. Change-Id: Idb316438a76d70fcc7a91a2e119aadd0c771bde6 Signed-off-by:
akk0rd <v.riznyk@samsung.com> Signed-off-by:
Oleksii Beketov <ol.beketov@samsung.com>
-
- 14 Sep, 2017 1 commit
-
-
saurabh.s9 authored
Purpose: Errors happens during OCDoResource calls should be returned to app layer Previously, session errors (handshake failed) didn't returned properly to app layer and this cause side effects (CA retransmission works in cases when it should not) Current state: 1. Source code builds ok 2. Secure stack samples (UDP/TCP) works well (both positive/negative cases) 3. Provisioning (OTM, 20th menu item) works well for following: a. justworks positive UDP/TCP, negative UDP case b. mfg positive UDP/TCP, negative UDP case c. mv_justworks positive UDP/TCP, negative UDP case d. randompin positive UDP/TCP, negative UDP case 4. OTM in provisioning via TCP - negative case - should work properly after fix IOT-2454 How to test: 1. Positive case - just test samples (f.e secure stack samples) & provisioning with all servers 2. Negative case - add following code which artificially breaks handshake (to ca_adapter_net_ssl.c) if (peer->ssl.state == MBEDTLS_SSL_CERTIFICATE_REQUEST) { ret = MBEDTLS_SSL_ALERT_MSG_INTERNAL_ERROR; } And again test all samples and provisioning with all servers. As result - you should see an error returned to app immidiately (without timeouts, etc) and there should be no CA retransmission attempts (UDP case) Change-Id: Ia1fe1c7c58f9e40040a0be5e7e83abbc66f80bfe Signed-off-by:
Andrii Shtompel <a.shtompel@samsung.com> Signed-off-by:
saurabh.s9 <saurabh.s9@samsung.com>
-
- 14 Aug, 2017 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>
-
- 11 Aug, 2017 1 commit
-
-
George Nash authored
The -Wformat= warning is given when the conversion specifier in a printf or scanf command does not match the value actually passed in. In this commit all of the issues are found in LOG functions. If type passed in was a variable size parameter like a pointer or size_t. The the PRIuPTR value from the inttypes.h header is used. For ssize_t variables the PRIdPTR was used. Bug: https://jira.iotivity.org/browse/IOT-2539 Change-Id: I4977253ac7ee68d2e80a26a0963b770b2ce87032 Signed-off-by:
George Nash <george.nash@intel.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/21771Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
- 02 Aug, 2017 1 commit
-
-
Philippe Coval authored
Designate securevirtualresourcetypes.h as a "Public Experimental" header. Those headers are needed for C applications in secured mode (using OCRepPayloadCreate from ocpayload.h) Observed error is: .../resource/stack/ocpayload.h:42:40: \ fatal error: securevirtualresourcetypes.h: \ No such file or directory For C++ app there is no such requierements Bug: https://jira.iotivity.org/browse/IOT-1745 Change-Id: I6a37fa82e3a1065541dba8be541ff4ac90e3294a Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> Signed-off-by:
Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/21549Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Ziran Sun <ziran.sun@samsung.com> Reviewed-by:
Mats Wichmann <mats@linux.com> Reviewed-by:
George Nash <george.nash@intel.com> Reviewed-by:
Martin Rösch <martin.roesch@kistler.com> Reviewed-by:
Randeep Singh <randeep.s@samsung.com>
-
- 05 Jul, 2017 1 commit
-
-
George Nash authored
Changed the name of the iotivity-linux folder to iotivity-java. Update the build scripts to account for the name change of the folder. The name of the output jar file is no longer iotivity-linux.jar it is now iotivity.jar. The JNI code links against the static librarys not the shared librarys for oc, oc_logger, octbstack, and connectivity_abstraction. Not all libraries are have a dll built for windows, they must be statically linked. This insures the Java code is identical for all platforms. This also greatly reduces the number of dependencies for the java code on native libraries. The code now only needs to import ocstack-jni for the IoTivity stack and ca-interface for security. Other small updates to address compiler warnings. Bug: https://jira.iotivity.org/browse/IOT-2405 Change-Id: I98392a6d0c2a5299746fa7dd6540724b0f5a4bc8 Signed-off-by:
George Nash <george.nash@intel.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/21061Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Rick Bell <richard.s.bell@intel.com>
-
- 27 Jun, 2017 1 commit
-
-
Oleksandr Dmytrenko authored
Fix memory leak: cert/key/CRL information returned by cred resource https://jira.iotivity.org/browse/IOT-1917 Change-Id: Ic563b5e5b79ccac8855ebb5b215e475d1b4e57be Signed-off-by:
Oleksandr Dmytrenko <o.dmytrenko@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18057Reviewed-by:
Andrii Shtompel <a.shtompel@samsung.com> Reviewed-by:
Kevin Kane <kkane@microsoft.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Greg Zaverucha <gregz@microsoft.com> (cherry picked from commit dba44fd8) Reviewed-on: https://gerrit.iotivity.org/gerrit/20933Reviewed-by:
Phil Coval <philippe.coval@osg.samsung.com>
-
- 08 Jun, 2017 2 commits
-
-
Greg Zaverucha authored
Since "f7e8c4ba PSK check before ciphersuite selection" PSK ciphersuites will only be negotiated if the local peer has a credential with the remote peer's UUID. Make sure the UUID is present in the endpoint information used when calling OCDoRequest. In the SSL adapter, when setting up a connection, if no ciphersuites are usable based on the credentials available, fail. Change-Id: I64db80379e8055e35e051dd5b90191625f1d5033 Signed-off-by:
Greg Zaverucha <gregz@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/19123Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
Dan Mihai authored
Change-Id: I55802664860aec4a02da209d3597d68ad405a4a9 Signed-off-by:
Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/19859Reviewed-by:
Kevin Kane <kkane@microsoft.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org>
-
- 26 May, 2017 1 commit
-
-
Dave Thaler authored
This is a pre-requisite for other changes such as multiple devices per process. Change-Id: I8ce459520bb163901d9bccd39d1cbbe03cf1a2b3 Signed-off-by:
Dave Thaler <dthaler@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/19763Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Phil Coval <philippe.coval@osg.samsung.com> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
- 22 May, 2017 1 commit
-
-
Dan Mihai authored
Change-Id: Ib5e6df4e02da583e086a07591ef1e35f367ae4f0 Signed-off-by:
Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/19633Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Kevin Kane <kkane@microsoft.com> Reviewed-by:
Dmitriy Zhuravlev <d.zhuravlev@samsung.com> Reviewed-by:
Oleksii Beketov <ol.beketov@samsung.com> Reviewed-by:
Randeep Singh <randeep.s@samsung.com>
-
- 20 May, 2017 1 commit
-
-
Jaewook Jung authored
- fix implicit declaration of function - remove unused codes - remove unused parameter warnings Change-Id: I830f9ada169e334a566bb696dee6cf9b46c87459 Signed-off-by:
Jaewook Jung <jw0213.jung@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/20093Reviewed-by:
Phil Coval <philippe.coval@osg.samsung.com> Reviewed-by:
Uze Choi <uzchoi@samsung.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-by:
Ashok Babu Channa <ashok.channa@samsung.com>
-
- 19 May, 2017 1 commit
-
-
Dan Mihai authored
Fixing: resource\csdk\connectivity\src\adapter_util\ca_adapter_net_ssl.c(1345): error C2220: warning treated as error - no 'object' file generated resource\csdk\connectivity\src\adapter_util\ca_adapter_net_ssl.c(1345): warning C4389: '!=': signed/unsigned mismatch Change-Id: I42fb71ff8dd39e5db600068daf8ab2b41c6336ce Signed-off-by:
Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/20055Reviewed-by:
Kevin Kane <kkane@microsoft.com>
-
- 18 May, 2017 1 commit
-
-
Jaewook Jung authored
Change-Id: Ib22fda47f5e843bc753966c085942014d70d4922 Signed-off-by:
Jaewook Jung <jw0213.jung@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/19949Reviewed-by:
Phil Coval <philippe.coval@osg.samsung.com> Reviewed-by:
Glen Youngjin Kim <glen.kim@samsung.com> Reviewed-by:
Hyuna Jo <hyuna0213.jo@samsung.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-by:
Todd Malsbary <todd.malsbary@intel.com> Reviewed-by:
Dave Thaler <dthaler@microsoft.com> Reviewed-by:
Uze Choi <uzchoi@samsung.com> Reviewed-by:
Ashok Babu Channa <ashok.channa@samsung.com>
-