FYI. I added answers from Oleksiy Volkov.
----------- Hi Kevin, Yes, this looks like a 'copy-paste' typo for such case, but I can’t definitely say that this is a error. Rowner value doesn't always belong to the device owner, and no one forbids owning a security resource on their own. If the test scenario doesn't provide for provisioning, then this can be an acceptable configuration.. . ( But it still seems to me that this is the wrong configuration. :) ) ----------- Thanks & Regards - Kevin On Wed, Aug 7, 2019 at 12:45 AM Joo-Chul Lee via Lists.Iotivity.Org <cms.rune=gmail....@lists.iotivity.org> wrote: > > I attached related SVR DB jsons. > > Thanks & BR :0 > > - Kevin > > > On Wed, Aug 7, 2019 at 12:11 AM Joo-Chul Lee via Lists.Iotivity.Org > <cms.rune=gmail....@lists.iotivity.org> wrote: > >> >> >> Hi >> >> >> >> I have a question about SVR DB sample in IoTivity classic. >> >> There are sample codes & SVR DB in >> "resource/csdk/stack/samples/linux/secure". >> >> >> >> There are 2 samples (occlientbasicops, ocserverbasicops). >> >> occlientbasicops uses *oic_svr_db_client_devowner.json* or >> *oic_svr_db_client_nondevowner.json* >> >> ocserverbasicops uses *oic_svr_db_server.json*. >> >> >> >> network topology is as follows: >> >> [image: image.png] >> >> >> >> >> according to *oic_svr_db_server.json*, Server has already been onboarded >> by *DevOwnerClient*. >> >> (doxm.devowneruuid is 32323232-3232-3232-3232-323232323232) >> >> >> >> The strange point in oic_svr_db_server.json is *rowneruuid* of >> /oic/sec/doxm, /oic/sec/pstat, /oic/sec/acl2 are Server itself >> (31313131-3131-3131-3131-313131313131). >> >> In my understanding rowneruuid of them should be OBT (in case that DOTS, >> CMS, AMS are implemented in the same device). >> >> >> >> 5.4.2 of Security spec says: >> >> The DOTS shall update the rowneruuid Property of the "/oic/sec/doxm" and >> "/oic/sec/pstat" resources with the DOTS resource owner identifier. >> >> The DOTS shall update the rowneruuid Property of the "/oic/sec/cred" >> resource with the CMS resource owner identifier. >> >> The DOTS shall update the rowneruuid Property of the "/oic/sec/acl2" >> resource with the AMS resource owner identifier >> >> >> >> Is this correct SVR DB or not? >> >> >> >> Thanks & BR 🙂 >> >> >> >> - Kevin >> >> >> -- >> -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ >> Joo-Chul Kevin Lee, ETRI >> 161 Gajeong-dong, Yuseong-gu, daejon, 305-700, KOREA >> E-mail: r...@etri.re.kr/cms.r...@gmail.com Tel: +82-42-860-1021 >> -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ >> >> > > -- > -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > Joo-Chul Kevin Lee, ETRI > 161 Gajeong-dong, Yuseong-gu, daejon, 305-700, KOREA > E-mail: r...@etri.re.kr/cms.r...@gmail.com Tel: +82-42-860-1021 > -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > > > -- -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Joo-Chul Kevin Lee, ETRI 161 Gajeong-dong, Yuseong-gu, daejon, 305-700, KOREA E-mail: r...@etri.re.kr/cms.r...@gmail.com Tel: +82-42-860-1021 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10257): https://lists.iotivity.org/g/iotivity-dev/message/10257 Mute This Topic: https://lists.iotivity.org/mt/32743835/21656 Group Owner: iotivity-dev+ow...@lists.iotivity.org Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-