Hi Ravee,

The simplest way would be to use the Old Phone to set up the Device to be owned 
by the New Phone (not going through OTM, just changing appropriate values in 
the Security Resources).  If the original Owner device (as well as any other 
device which was granted similar “admin” access via /acl2 entries) is lost and 
not recoverable, then the Device must be reset (back to “Mfr Defaults”) and 
re-onboarded by New Phone, just as if it were new/not-onboarded.

Thanks,
Nathan

From: iotivity-dev-boun...@lists.iotivity.org 
[mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of Raveendranath 
Kondrakunta
Sent: Thursday, March 1, 2018 12:49 AM
To: a.vol...@samsung.com
Cc: iotivity-dev@lists.iotivity.org
Subject: Re: [dev] Ownership Transfer

Thanks Aleksey.

As per spec, "sct" of doxm captures the list of Credential types supported by 
the Device. But, Looks like during ownership transfer, we will always install 
"PSK" as default Owner Credential(OC), instead of checking of the supported 
credential types of the device. What if the device is not supportING "PSK".

Is it possible to do Ownership re-transfer?? Let's say, using Mobile(as OBT), a 
new device is onboarded and owned. After a while, if the user changes to a new 
Mobile, how can the ownership of the device be transferred from the old Mobile 
to new Mobile.

-Ravee

On Wed, Feb 28, 2018 at 7:15 PM, Oleksiy Volkov 
<a.vol...@samsung.com<mailto:a.vol...@samsung.com>> wrote:

Hi Ravee,



By default, Client #2 can only discover resources after otm, but doesn't have 
access to them.

But Client #1 can provision additional credential and acl records regarding 
Client #2 to device, and Client #2 will have access to certain resources on 
this device after onboarding.

This method should work, but I've never tested it before...



Best regards,

Aleksey Volkov



--------- Original Message ---------

Sender : Raveendranath Kondrakunta 
<raveendranath.kondraku...@gmail.com<mailto:raveendranath.kondraku...@gmail.com>>

Date : 2018-02-27 16:37 (GMT+2)

Title : [dev] Ownership Transfer
Hi,

During the onboarding process, the Device ownership is established using an 
Onboarding Tool(say a Mobile App). Once, the new device is onboarded, the new 
Device /oic/sec/doxm devowneruuid is set to the uuid of the Client#1(on 
Mobile#1).

Assuming, default Credential and ACL Provisioning by the stack. Can a different 
Client#2(on Mobile #2) discover and access the resources of this new Device?

How can a particular Mobile app, running on different phones, have equal access 
and ownership to the resources of the new Device?

I'm planning to use Just Works as OTM and no Cloud support in the Mobile App.

-Ravee

_______________________________________________

iotivity-dev mailing list

iotivity-dev@lists.iotivity.org<mailto:iotivity-dev@lists.iotivity.org>

https://lists.iotivity.org/mailman/listinfo/iotivity-dev











 [cid:image001.gif@01D3B137.C0709E40]

[http://ext.w1.samsung.net/mail/ext/v1/external/status/update?userid=a.volkov&do=bWFpbElEPTIwMTgwMjI4MTM0NTQ2ZXVjbXMxcDMzMjI5ZjMzNzA0MGQwNGUyMzVkYWQ4NTdkNzIyNDdhYyZyZWNpcGllbnRBZGRyZXNzPXJhdmVlbmRyYW5hdGgua29uZHJha3VudGFAZ21haWwuY29t]

_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to