Towards a secure API client generator for IoT devices

01/02/2022
by   Anders Aaen Springborg, et al.
0

Given the success of IoT platforms, more developers and companies want to include the technology in their portfolio. However, in the case of single board microcontrollers, the support for networking operations is not ideal, and different IoT platforms allow access to the networking submodule via different libraries and system calls, leading to a steeper learning curve. Code generators for API clients can enhance productivity, but they tend to generate universal purpose code, and on the other hand the networking primitives of IoT devices are platform specific, especially when security mechanisms such as Transport Layer Security are part of the picture. This paper presents , an API client generator developed as a plugin for the OpenAPI Generator project, which can tailor the generated code based on the IoT platform specified by the user. Our work allows to generate correct code for API clients for IoT devices, and thus can empower a developer with more productivity and a faster time-to-market for its own applications. By combining together mainstream technologies only, offers a gentle learning curve. Moreover, experiments show that the generated code has a reasonable footprint, at least with respect to the IoT devices that were used in the validation of the work. The code related to this work is available through the OpenAPI Generator project <cit.>. This technical report is an extension of <cit.>, and it integrates the information presented at the ACM SAC 2022 conference.

READ FULL TEXT
research
08/20/2019

Memory Forensic Analysis of MQTT Devices

Internet of Things is revolutionizing the current era with its vast usag...
research
10/27/2018

IoT Cloud Platforms: an Application Development Perspective

With the growing number of Internet of Things (IoT) devices, the data ge...
research
02/22/2021

Clustering Algorithm to Detect Adversaries in Federated Learning

In recent times, federated machine learning has been very useful in buil...
research
04/02/2020

IoT-Flock: An Open-source Framework for IoT Traffic Generation

Network traffic generation is one of the primary techniques that is used...
research
09/07/2023

Security assessment of common open source MQTT brokers and clients

Security and dependability of devices are paramount for the IoT ecosyste...
research
08/19/2022

Usable Security for an IoT OS: Integrating the Zoo of Embedded Crypto Components Below a Common API

IoT devices differ widely in crypto-supporting hardware, ranging from no...
research
09/30/2019

Optionality and Convexity in ICT Networks

Networking companies, especially the ones with the biggest market shares...

Please sign up or login with your details

Forgot password? Click here to reset