iotauth/iotauth
Tentang
A main repository for Secure Swarm Toolkit (SST), including Auth, an authentication/authorization entity software, for distributed systems
Keamanan dan privasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- +1
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliThe badges show the status of the continuous integration (CI) workflows on main.
See CI workflows for what each workflow tests and how to run the tests locally.
Overview
This is a repository for the open-source project SST (Secure Swarm Toolkit) and its local authentication and authorization entity, Auth, for the security of distributed systems and the Internet of Things (IoT). Auth is a local point of authorization, and Auth's main roles are 1) providing authentication/authorization for its locally registered entities or devices and 2) working as a bridge of authorization between its local entities and the Internet.
Our conference papers [IoTDI '17] (winner of ACM/IEEE Best Paper Award at CPSWeek '17), [FiCloud '16] describe a secure network architecture with key distribution mechanisms using Auth (local, automated authorization entity). The architecture provides security guarantees while addressing IoT-related issues, including resource constraints and intermittent connectivity. The architectural concept of locally centralized, globally distributed authentication and authorization is illustrated in our magazine article [IT Professional '17]. Our ACM journal article [ACM TIOT '20] presents a secure migration technique as a recovery mechanism from Denial-of-Service (DoS) attacks or failures. In 2023, we released the C API for SST, which was introduced in an open-source software journal [SoftwareX '23]. We also applied SST for securing large-scale key-value storage [SIGMOD '25] and for access control of decentralized and distributed file systems [Mid4CC '23]. Furthermore, we built SST Testbed [ICIT '26], a testbed for experimenting with attacks and defenses for distributed embedded systems and IoT using SST, which also won the 1st place in the Embedded System Software Competition (ESSC) at ESWEEK '25 ([YouTube Video of SST Testbed]). More recently, we have been applying SST to access control for agentic AI, including AI agents with delegated critical tasks [WWW '26], [CARS '25] and embodied agents based on vision-language-action models [LAMPS '26].
More publications on SST or using SST include [SmartSP '24], [FDL '23], [SenSys '23 - Poster Abstract], and [IEEE Computer '19]. See the Publications page of the SST website for the full list with BibTeX entries.
For the most in-depth technical document of SST, please refer to this Ph.D. dissertation [UC Berkeley '17].
This repository includes 1) an open-source Java implementation of Auth and 2) sample code for local entities to use Auth (authentication/authorization) services provided by Auth in various programming languages for different platforms.
Please visit the SST website for more information.
Prerequisites
- OpenSSL command-line tools for creating certificates and keystores for Auth and example entities
- Java 11 or above
- IntelliJ IDEA for managing Java project of Auth
- Maven CLI (command line interface) for building Auth from the command line
- Node.js for running example server and client entities
Directory structure
- android: Directory for SST's Auth and entities for the Android platform (currently under development)
- auth: Directory for the Java implementation of Auth (local authentication/authorization entity), IntelliJ IDEA project
- entity: Directory for SST's APIs in C, C++, Python, and JavaScript and example IoT entities using SST to be authenticated/authorized by Auth. This directory also includes a sub-directory for Secure Communication Accessors as software building blocks for writing IoT applications.
- examples: Directory for scripts and descriptions to run example Auths and entities. The
examples/scripts/subdirectory contains automated end-to-end integration test scripts for C, C++, Node.js, and Python clients and servers, with a single Auth or with two Auths; seeexamples/scripts/README.md. - .github/workflows: GitHub Actions workflows for continuous integration (CI): the Auth build, example generation, entity integration tests with one Auth and with two Auths, sst-c-api tests, Python formatting, and CodeQL; see
.github/workflows/README.md.
Quick start for SST
Please check QUICKSTART.md for a quick start of SST.
Detailed examples with Auths and entities
See "How to run examples" in README.md under examples/ for a fully working example.
For runtime changes to access, the delegation, revocation, and context guide shows the Node.js privilege calls, Python key requests, and example graph configurations.
Continuous integration (CI) tests
Every push and pull request to main runs the GitHub Actions workflows below.
.github/workflows/README.md describes each workflow in detail, including how the tests are structured and how to run them locally.
| Workflow | What it checks |
|---|---|
| Auth Server Build | Auth builds with Maven. |
| Example Tests | examples/generateAll.sh generates the credentials, configurations, and Auth databases of the example Auths and entities. |
| Entity Integration Tests | Python unit tests, the C/Node.js/Python client-server matrix, six mixed C++ pairings against one Auth, and a Python credential-mode check (details). |
| Multi-Auth Integration Tests | Node.js, C, C++, and Python client-server pairs across two Auths, where the server's Auth fetches the session key from the client's Auth (details). |
| sst-c-api Tests, sst-c-api C++ Tests | The C and C++ API unit tests and examples of sst-c-api against this version of Auth. |
| Python Formatting | Ruff lint and format checks for entity/python on pull requests. |
| CodeQL | Static analysis for Java, JavaScript, and Python. |
Contributors
Active Contributors
- Hokeun Kim (Assistant Professor at Arizona State University)
- Salomon Lee (Senior Scientific Programmer, Polaris Wireless)
- Dongha Kim (Ph.D. Student at Arizona State University)
- Carlos Beltran Quinonez (M.S. Student at Arizona State University)
- Sunyoung Kim (Ph.D. Student at Arizona State University)
- Jose Felix (M.S. Student at Arizona State University)
- Deeparghya Dutta Barua (Ph.D. Student at Arizona State University)
- Divyansh Tare (Undergraduate Student at Arizona State University)
Former Contributors
- Eunsuk Kang (Associate Professor at Carnegie Mellon University)
- Marten Lohstroh (CEO at Xronos Inc.)
- Taekyung Kim (Commissioned Officer in the Republic of Korea Army)
- Yeongbin Jo (Embedded Software Engineer at Hyundai Rotem)
- Kushal Paliwal (Software Engineer at Globus Medical)
- Krutyanjay Shinde (Hardware Validation Engineer at WattEV, Inc)
External libraries
- bluecove-2.1.2.jar: For Bluetooth APIs, exists under auth/library/jars
Disclaimer
This project is currently intended for academic and research purposes, although the ultimate goal of this project is to build a secure and robust network architecture for the Internet of Things. Therefore, users must use the provided source code with caution at their own risk when the tools provided in this project are used for commercial or safety-critical purposes.
Acknowledgement
This work was supported in part by the TerraSwarm Research Center, one of six centers supported by the STARnet phase of the Focus Center Research Program (FCRP), a Semiconductor Research Corporation program sponsored by MARCO and DARPA. This work was supported in part by the National Research Foundation of Korea (NRF) grants funded by the Korea government (MSIT).
Last updated on November 30, 2026
Jelajahi proyek terkait
Memuat…