1. 31 Mar, 2017 1 commit
  2. 29 Mar, 2017 1 commit
  3. 10 Mar, 2017 2 commits
  4. 09 Mar, 2017 2 commits
  5. 24 Feb, 2017 1 commit
  6. 23 Feb, 2017 1 commit
  7. 21 Feb, 2017 1 commit
  8. 19 Jan, 2017 1 commit
  9. 23 Dec, 2016 1 commit
  10. 20 Dec, 2016 1 commit
  11. 12 Dec, 2016 1 commit
  12. 09 Dec, 2016 1 commit
  13. 05 Dec, 2016 1 commit
  14. 21 Nov, 2016 1 commit
    • Chul Lee's avatar
      Manufacturer certificate based ownership transfer support. · e904ff29
      Chul Lee authored
      1. Add manufacturer certificate OxM callbacks
         : resource/csdk/security/provisioning/src/oxmmanufacturercert.c
         : resource/csdk/security/provisioning/include/oxm/oxmmanufacturercert.h
      
      2. Apply the manufacturer cert based OxM on the client & server.
         : resource/csdk/security/provisioning/src/ownershiptransfermanager.c
         : resource/csdk/security/src/doxmresource.c
      
      3. Add manufacturer certificate supported sample server
         : resource/csdk/security/provisioning/sample/sampleserver_mfg.cpp
      
      4. Add API to set the allowed/not-allowed OxM which is OCSetOxmAllowStatus()
         : resource/csdk/security/provisioning/src/ocprovisioningmanager.c
         : resource/csdk/security/provisioning/include/ocprovisioningmanager.h
      
      5. Add OCStackResult code to handle not allowed OxM exception.
         : resource/csdk/stack/include/octypes.h
         : resource/src/OCException.cpp
         : resource/include/StringConstants.h
         : resource/unittests/OCExceptionTest.cpp
      
      6. Update the SConscript according to above modifications.
         : resource/csdk/security/provisioning/SConscript
         : resource/csdk/security/provisioning/sample/SConscript
      
      Change-Id: Ibb4b4eec33a1e39234f808e32cc3b96aff4879ad
      Signed-off-by: default avatarChul Lee <chuls.lee@samsung.com>
      Reviewed-on: https://gerrit.iotivity.org/gerrit/14275Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
      Reviewed-by: Randeep's avatarRandeep Singh <randeep.s@samsung.com>
      (cherry picked from commit 7b7e5a97)
      Reviewed-on: https://gerrit.iotivity.org/gerrit/14503
      e904ff29
  15. 11 Nov, 2016 1 commit
  16. 07 Nov, 2016 1 commit
  17. 05 Nov, 2016 1 commit
  18. 28 Oct, 2016 1 commit
  19. 19 Oct, 2016 1 commit
    • Chul Lee's avatar
      Multiple Ownership Transfer support. · 933662a6
      Chul Lee authored
      [NOTE] This patch includes the following patches for MOT :
         https://gerrit.iotivity.org/gerrit/#/c/12063/
         https://gerrit.iotivity.org/gerrit/#/c/13375/
         https://gerrit.iotivity.org/gerrit/#/c/13341/
         https://gerrit.iotivity.org/gerrit/#/c/13343/
      
      [Overview]
      This patch is to support the multiple ownership transfer(MOT).
      We assume the MOT authenticated client is the SubOwner.
      SubOwner can access the ALL resources with full permsion except the DOXM, ACL and CRED.
      
      This patch includes following changes :
      1. Update the doxm resource to include MOT related properties.
         - New Properties
           . x.org.iotivity.mom : Mode of MOT
           . x.org.iotivity.subowneruuid : List of SubOwner
         - SubOwner has READ permission for DOXM.
         - The resource server will be update subowner list of doxm
           when MOT authentication successfully done.
      
      2. Update the cred, acl resource to include MOT related property.
         - New Properties
           . x.org.iotivity.eowneruuid : entry owner uuid for each entry.
         - SubOwner should set the eowner as subowner's UUID
           when provision the ACL and CRED.
         - SubOwner can access only those resources that registered as eowner.
      
      3. Update the PolicyEngine for SubOwner's access control as following :
         - DOXM : READ ONLY
         - CRED/ACL : SubOwner can access only those resources that registerd as eowner.
           . SubOwner can not provision ACL which is include the DOXM, CRED, ACL, PSTAT.
         - PSTAT : FULL permission
         - Application Resources : FULL permission
      
      4. Add Preconfigured-PIN OxM
      
      5. Update the sample codes
         - Test Preconfigured PIN based MOT
           1. Run the sampleserver_justworks
           2. Run the provisioningclient
           [On the provisioningclient]
           3. Perform the UnOwned Device discovery [Menu:11]
           4. Perform the OTM [Menu:20]
           5. Perform the Owned Device Discovery [Menu:12]
           6. Change the server's 'mode of MOT' [Menu:70]
           7. Perform the MOT enabled device discovery [Menu:13]
              - Check the discovered device list.
           8. POST the preconfigured-PIN credential [Menu:71]
               - sample's preconfigured-PIN is '12341234'
           9. Change the server's 'oxmsel' [Menu:72]
               - '3' is preconfigured-PIN OxM
           10. Run the subownerclient
           [On the subownerclient]
           11. Perform the MOT enabled device discovery [Menu:10]
               - Check the discovered device list.
           12. Perform the MOT [Menu:20]
           13. Perform the Multiple Owned device discovery [Menu:11]
               - Check the discovered device list.
           14. Perform the ACL provisioning TEST [Menu:40]
      
         - Test Random PIN based MOT
           1. Run the sampleserver_randompin
           2. Run the provisioningclient
           [On the provisioningclient]
           3. Perform the UnOwned Device discovery [Menu:11]
           4. Perform the OTM [Menu:20]
           5. Perform the Owned Device Discovery [Menu:12]
           6. Change the server's 'mode of MOT' [Menu:70]
           7. Run the subownerclient
           [On the subownerclient]
           8. Perform the MOT enabled device discovery [Menu:10]
               - Check the discovered device list.
           9. Perform the MOT [Menu:20]
               In case of random PIN based MOT, PIN input required.
           [On the sampleserver_randompin]
           10. Press 'G' or 'g' on the sampleserver_randompin.
               server will generate and display the random PIN.
           11. Input the server's PIN number on the subownerclient side.
           12. Perform the Multiple Owned device discovery [Menu:11]
               - Check the discovered device list.
           13. Perform the ACL provisioning TEST [Menu:40]
           14. Press 'E' or 'e' on the sampleserver_randompin to exit server.
      
      Change-Id: I25d029839b3567455743031afafb34d2fc78278c
      Signed-off-by: default avatarChul Lee <chuls.lee@samsung.com>
      Reviewed-on: https://gerrit.iotivity.org/gerrit/13419Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
      Reviewed-by: Randeep's avatarRandeep Singh <randeep.s@samsung.com>
      933662a6
  20. 12 Oct, 2016 1 commit
  21. 10 Oct, 2016 1 commit
  22. 26 Sep, 2016 1 commit
  23. 23 Aug, 2016 1 commit
  24. 19 Aug, 2016 1 commit
  25. 29 Jul, 2016 1 commit
  26. 22 Jun, 2016 1 commit
  27. 16 Jun, 2016 1 commit
  28. 04 Apr, 2016 1 commit
  29. 24 Mar, 2016 1 commit
  30. 11 Mar, 2016 2 commits
  31. 18 Sep, 2015 1 commit
  32. 15 Sep, 2015 1 commit
  33. 14 Sep, 2015 1 commit
  34. 13 Sep, 2015 1 commit
  35. 11 Sep, 2015 1 commit
  36. 07 Sep, 2015 1 commit
  37. 04 Sep, 2015 1 commit