fioconfig

command module
v0.0.0-...-efffb57 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL