Coder Social home page Coder Social logo

detsch / fioconfig Goto Github PK

View Code? Open in Web Editor NEW

This project forked from foundriesio/fioconfig

0.0 0.0 0.0 215 KB

A daemon to handle configuration management for devices in a Foundries Factory

License: BSD 3-Clause "New" or "Revised" License

Shell 5.09% Go 93.85% Makefile 1.06%

fioconfig's Introduction

This is a simple daemon designed to manage configurartion data for an embedded device. Its based on a customized OTA Community Edition device-gateway endpoint, but the idea used could be generic to any system wanting to employ secure configuration management.

How It Works

OTA devices communicate with a device-gateway using SSL client authentication. This means the public key of each device is known. By default, devices will have Ellipitcal Curve keys. Using a technique known as ECIES a the configuration values can be encrypted client-side and sent to the device-gateway so that it has no knowledge of a device's configuration values. The device can then pull down the encrypted configuration and use its private key to decrypt.

The encrypted file is stored to a persistent location on disk. At boot, a fioconfig can extract this data to tmpfs (/var/run/secrets) so that they are only available at runtime.

How to build

make bin/fioconfig-linux-amd64 make test

fioconfig's People

Contributors

doanac avatar vkhoroz avatar ricardosalveti avatar detsch avatar stealthycoder avatar caiotpereira avatar matthewcroughan avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.