1. 26 Oct, 2017 2 commits
    • Dan Mihai's avatar
      CT1.7.4.5: Avoid DER key parse error · 150b2de8
      Dan Mihai authored
      mbedtls_pk_parse_key was not able to parse the key converted to DER
      by GetDerKey(). It encountered in the DER an unexpected key format
      However, mbedtls_pk_parse_key is able to parse correctly the original
      PEM format of the same key.
      This patch allows CT1.7.4.5 to establish a connection to an IoTivity
      server. This test case still fails later on - to be investigated.
      Change-Id: I933ea9d3b761ed159faa2c4f371890e477caf23f
      Signed-off-by: default avatarDan Mihai <Daniel.Mihai@microsoft.com>
    • Nathan Heldt-Sheller's avatar
      [IOT-2843] remove SVR restore behavior · c4025294
      Nathan Heldt-Sheller authored
      These functions were applied at incorrect times (e.g. if a normal
      Update was rejected due to read-only properties during OTM, the entire
      system would "restore" to a wrong state).  They were also wrong,
      in that they restored some values, left others unchanged, and set
      others to wrong values (e.g. presumed JustWorks OTM).
      Also, the duplicate message logic was not being used to any consistent
      effect and causing warnings.  It's also completely optional and so was
      Change-Id: I23d23f946fbafe02cdc2d2ac6ac46abcedd1f149
      Signed-off-by: Nathan Heldt-Sheller's avatarNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
  2. 25 Oct, 2017 1 commit
  3. 19 Oct, 2017 1 commit
  4. 17 Oct, 2017 1 commit
  5. 16 Oct, 2017 1 commit
  6. 12 Oct, 2017 1 commit
    • George Nash's avatar
      IOT-2539 Clean unused code warnnings · a855c499
      George Nash authored
      Removed the [-Wunused-const-variable=] warning
      The CRED_EMPTY_ROOT_MAP_SIZE was used in the past but is no longer
      referenced anywhere in the code.
      Removed the [-Wunused-const-variable=] warning
      The SUPPORTED_PRMS array was used in the past but is no longer
      referenced anywhere in the code.
      Removed the [-Wunused-variable] warning
      Looking at the logs a instance that gDeviceUUID was used could not
      be found at any point in time.
      Removed the [-Wunused-variable] warnings
      Variables peer, pinNumber, and pmSel were only used in Direct Pairing
      related unit tests which were removed as part of IOT-2306.
      Removed the [-Wunused-function] warning
      The InputPdACL function was only used by the Direct Pairing code
      that was removed as part of IOT-2306.
      Bug: https://jira.iotivity.org/browse/IOT-2539
      Bug: https://jira.iotivity.org/browse/IOT-2306
      Change-Id: I80f52619a04ee7eafc83b79b886c1121f61a6ba1
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
  7. 11 Oct, 2017 1 commit
  8. 04 Oct, 2017 2 commits
    • Aleksey's avatar
      [IOT-2726] /cred fix for CT1.7.8.11 · 366409bf
      Aleksey authored
      This patch fixes `4.00 Bad Request` error on
      /oic/sec/cred CON UPDATE request in CT1.7.8.11
      This adds an additional check of the incoming credential
      subjectid for OwnerPSK generation. Before, credresource
      tried to generate owner psk for any subjectid in case if
      doxm->owner value already saved, but doxm->owned flag
      not yet set in true.
      This led to an error at the POST handler return.
      Change-Id: If2b683ee417bb058f954734ff0c1b64e145c9a6b
      Signed-off-by: Aleksey's avatarAleksey Volkov <a.volkov@samsung.com>
    • Aleksey's avatar
      [IOT-2726] Add pstat.dos check in AddCredential · add093b1
      Aleksey authored
      This change adds /pstat.dos state check to protect credentials modifications in read-only states.
      Change-Id: I9a3402e458db8c5fa62a5a0fa0e08c1dd432ceaf
      Signed-off-by: Aleksey's avatarAleksey Volkov <a.volkov@samsung.com>
  9. 27 Sep, 2017 1 commit
  10. 14 Sep, 2017 1 commit
  11. 08 Sep, 2017 1 commit
    • Alex Kelley's avatar
      [IOT-2696] Allow chain of certs in public data · 9f4d7e00
      Alex Kelley authored
      Previously we expected the leaf certificate to be present in public data
      and the chain of intermediate CAs to be present in optional data. After
      discussion it was agreed to update IoTivity to expect the entire chain
      of certificates to be present in public data.
      Change-Id: Ib4a53b31451205da4b06c41404b5088568844825
      Signed-off-by: default avatarAlex Kelley <alexke@microsoft.com>
  12. 07 Sep, 2017 1 commit
    • Aleksey's avatar
      [IOT-2641] /cred resource rownerid fix · 4589605d
      Aleksey authored
      This changes includes some refactoring of credential resource design:
       each credential structure instance has own rowner id value
       and it was changed to common rowner value.
      IOT-2641 depends on it.
      Tested with CT1.7.9.3 and,
      json2cbor and svrdbeditor sources should be fixed accordingly by their owners
      Change-Id: I50afae10ac9f702c86d321dcf758525968f7bc31
      Signed-off-by: Aleksey's avatarAleksey Volkov <a.volkov@samsung.com>
  13. 28 Aug, 2017 1 commit
  14. 22 Aug, 2017 1 commit
  15. 18 Aug, 2017 3 commits
  16. 15 Aug, 2017 1 commit
  17. 28 Jul, 2017 1 commit
  18. 20 Jul, 2017 1 commit
  19. 19 Jul, 2017 1 commit
  20. 15 Jun, 2017 1 commit
  21. 21 May, 2017 1 commit
  22. 20 May, 2017 3 commits
  23. 18 May, 2017 2 commits
  24. 15 May, 2017 2 commits
  25. 09 May, 2017 1 commit
  26. 04 May, 2017 1 commit
  27. 25 Apr, 2017 1 commit
  28. 18 Apr, 2017 2 commits
  29. 07 Apr, 2017 2 commits
  30. 04 Apr, 2017 1 commit