iotivity-lite icon indicating copy to clipboard operation
iotivity-lite copied to clipboard

Build option to remove JW OTM

Open WAvdBeek opened this issue 3 years ago • 1 comments

[Improvement] Build option to remove JW OTM Open

[Improvement] Build option to remove JW OTM

JW is optional OTM in Core Security, and some OCF verticals do not have plans to use/support it due to low security guarantees. Since IoTivity Lite should be a common codebase, an easy option is needed to remove JW OTM support.

JIRA migration meta data

JIRA Issue ID: LITE-101 Reporter: oleksandr Assignee: avolkov Creator: oleksandr Created at: 2019-11-14T14:48:29.000-0800 Found in Version: latest Fix in Version: None Issue Severity: Normal Reproducibility: Always (100%) Operating System: None Hardware/ OEM Platform: None External URL: None Bugzilla ID: None Product: None Status: Done Components: security Priority: Undecided Due Date: None Issue Type: Task END of JIRA migration meta data Edited 1 year ago by Oleksandr Andrieiev

Drop or upload designs to attach

Linked issues 0

Rami Alshafi Rami Alshafi @rami · 1 year ago Owner Patch is ready for review in 29880 and 29895

Oleksandr Andrieiev @Oleksandr assigned to @Oleksandr 1 year ago Oleksandr Andrieiev @Oleksandr changed title from Build option to remove JW OTM to [Improvement] Build option to remove JW OTM 1 year ago Oleksandr Andrieiev @Oleksandr assigned to @Kishen and unassigned @Oleksandr 9 months ago

WAvdBeek avatar May 12 '21 10:05 WAvdBeek

in file oc_doxm.c :

evaluate_supported_oxms(size_t device) { doxm[device].oxms[0] = OC_OXMTYPE_JW; doxm[device].oxms[1] = -1; doxm[device].oxms[2] = -1; doxm[device].num_oxms = 1;

e.g. add compile option to remove OC_OXMTYPE_JW

WAvdBeek avatar Jun 14 '21 09:06 WAvdBeek