Hi Nathan,


I?m sorry I missed you mail. Anyway thank you for your answer.



Beside the discussion which mode will be deployed in real world, 

Let?s think about the SDK binary distribution or embedding into some
platform.



Developer may start the development first with non-secure SDK library.

And after functions are implemented, developer may enable the secure
setting, which requires to replace SDK library by secure SDK library.



Let?s think about the platform.

Some platform such as Tizen, may embed the library by default.

Platform should decide one of them as embedded library. If secure binary is
selected, then non-secure mode testing and so on cannot be executed.



BR, Uze Choi

From: Heldt-Sheller, Nathan [mailto:[email protected]] 
Sent: Thursday, May 26, 2016 4:13 PM
To: uzchoi at samsung.com; RANDEEP SINGH
Cc: iotivity-dev at lists.iotivity.org
Subject: RE: [dev] [feature request] merging secure/non-secure IoTivity
build binaries



Hi Uze,



I may be misinterpreting your below email, but I am concerned there may be
some confusion regarding the ?secure build? vs ?non-secure build?. 


I believe SECURED=0 build should be purely for development and testing, and
should not be expected to function with a SECURED=1 ?real-world? build.
There are basic functions (e.g. Device ID persistent across reboots) that
require SECURED=1 build, regardless of whether there are ?public?
resources on the device (resources which do not need Access Control).



To be clear, resources can be effectively made ?public? using a SECURED=1
build.  If a resource doesn?t need access control at all, then (still
using a SECURED=1 build) the Device will have an Access Control Entry that
allows all requests from any requester (even from anonymous endpoint).
Effectively, the resource is ?non-secure?, even though the *build* is
still SECURED=1, and the resource is hosted on a CoAPS port.


In short, I would not expect a SECURED=0 Client to be able to access any
real-world Server, and a SECURED=0 Server would never be deployed in a real-
world product.  Therefore the SECURED=1 configuration should be expected
for proper functioning, and SECURED=0 just kept for dev/testing/debug use.



Thanks,
Nathan



From: [email protected] [mailto:iotivity-dev-
bounces at lists.iotivity.org] On Behalf Of ???(Uze Choi)
Sent: Wednesday, May 25, 2016 8:46 PM
To: RANDEEP SINGH <randeep.s at samsung.com>
Cc: iotivity-dev at lists.iotivity.org
Subject: [dev] [feature request] merging secure/non-secure IoTivity build
binaries



Hi Randeep,



As a member Developer Ecosystem Build TG, I have the requirement merging
the non-secure binary and secure binary into single one.

Currently, secure mode build does not provide the communication with non-
secure resource.

If this is configurable by API or both support by default, it will be very
easy to distribute iotivity binary.

Moreover, current separate build scheme cannot support the use case that
connects both resources one is secure resource and the other is non-secure
resource.

e.g) An application read the temperature resource (public resource) and
personal information storage resource together.

Please evaluate this requirement from maintainer perspective.

If feasible, I?ll issue the jira ticket for this thing.



BR, Uze Choi

-------------- next part --------------
HTML ?????? ??????????????...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160602/e4cbb5fd/attachment.html>

Reply via email to