Skip to content

sajjanjyothi/secure-update-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firmware update client for secure update

Rust client for secure updater.

This client will send firmware update request to server in encrypted format with it's public key.Service will decrypt it and validate against known devices.Will send out firmware accordingly

If there is an update client will get 200 with firmware
If not it will get either 400/304

How to run the application

RUST_BACKTRACE=1 cargo run http://localhost:8080/api/v1/ota/update test1

Compile application for raspberry pi

https://github.com/cross-rs/cross - using this tool will be easy
cargo install cross --git https://github.com/cross-rs/cross
make build-raspberry-pi

Available software features

debian and openwrt

Test with GCP cloud run, Please close this after testing.This will increase billing

RUST_BACKTRACE=1 cargo run https://secure-updater-217625542343.europe-west2.run.app/api/v1/ota/update test1

How to build the application

cargo build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors