78 Commits

Author SHA1 Message Date
irriden
f54cedf716 pull security updates on dependencies 2024-02-16 00:55:41 +00:00
irriden
d10a10e6f6 broker, signer: hsmd negotation, more speedups from vls 2024-02-15 01:47:12 +00:00
irriden
d2df1783da broker: pull vls-frontend bugfix, correct ready method on MqttSignerPort 2024-01-08 22:07:06 +00:00
irriden
540ea2564c sphinx-key: collect mqtt bytes into a chunked buffer, pull vls chunked filter work 2023-12-14 19:43:01 +00:00
irriden
1a4d955f74 bump vls, remove unused deps, cargo update 2023-11-30 16:57:45 +00:00
irriden
1bce903224 bump sphinx-rs 2023-11-25 03:29:42 +00:00
irriden
7ae668b981 bump sphinx-rs 2023-11-24 20:19:18 +00:00
irriden
2df5d4dc82 pull security patches in dependencies 2023-11-24 19:08:15 +00:00
irriden
ef70fe8c59 sphinx-key: use bitcoin::sign_message for ota sig checks 2023-11-22 21:36:15 +00:00
irriden
66e4a11759 sphinx-key: secure boot
adds two layers of signature checks
one done by sphinx-key in ota.rs via secp256k1
another done by esp-idf via espsecure.py

see docs below:
https://docs.espressif.com/projects/esptool/en/latest/esp32c3/espsecure/index.html#remote-signing-using-an-external-hsm
https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/security/secure-boot-v2.html#signed-app-verification-without-hardware-secure-boot
https://docs.rs/secp256k1/latest/secp256k1/
2023-11-22 03:05:27 +00:00
irriden
e6c11866bb tester: update example command files 2023-11-18 02:10:05 +00:00
irriden
7102138217 sphinx-key: check integrity of ota bin file 2023-11-18 02:06:01 +00:00
irriden
90d43c4e70 cargo clippy 2023-11-15 23:11:41 +00:00
irriden
3535ec5d62 tester: add env-example 2023-10-30 15:38:02 +00:00
irriden
705caea73e sphinx-key: bump esp-rs deps 2023-10-30 15:36:20 +00:00
irriden
dce2daa3d0 tester: notes on successful ota update 2023-10-16 22:44:33 +00:00
irriden
b6c8b5a7f1 tester: read command from cmd.json file 2023-10-16 22:13:10 +00:00
irriden
fdb207bf6e tester: update ctrl post message route 2023-10-16 21:47:28 +00:00
irriden
6d9e5305a8 tester: update cargo.lock 2023-09-14 22:53:57 +00:00
irriden
03ad37fbc9 bump sphinx-rs: pull vls multi fork 2023-09-14 19:13:48 +00:00
irriden
fd6b1ff67e tester: pin sphinx-rs deps
txoo 0.4.5 breaks the build so it is currently locked at 0.4.4
by the cargo.lock file
2023-08-02 15:38:18 +00:00
irriden
754cfd771b tester: add wifi_reset const in config.rs
this variable sets whether we just reset wifi or do a full config send
delete extraneous wifi.rs binary
2023-08-02 03:14:40 +00:00
irriden
fe2b518a77 sphinx-key: implement wifi reset
additional-author: evan feenstra

this is an access mode that expects just the wifi config params,
without the seed
2023-08-02 02:41:59 +00:00
Evan Feenstra
eed1aa72a5 drop newly attached signer from client list 2023-07-27 11:12:25 -07:00
Evan Feenstra
4320fd1655 back to sphinx-rs master 2023-06-22 12:43:18 -07:00
irriden
289f7ebfbb format toml files 2023-06-17 23:12:53 +00:00
irriden
ff47e6a8f0 create factory, sphinx-key workspace 2023-06-17 23:12:53 +00:00
Evan Feenstra
b8afe22675 broker LSS integration, init, handle vls muts, connect to lss grpc, better chan msgs 2023-05-31 10:44:39 -07:00
Evan Feenstra
d447ea4306 fix tester topics 2023-05-24 16:39:35 -07:00
Evan Feenstra
f96280a222 update deps 2023-02-20 12:19:26 -08:00
Evan Feenstra
80215821ce broker to new rumqttd (not working) 2023-02-20 11:51:32 -08:00
Evan Feenstra
06043fa60d cmd testing 2023-02-10 13:40:25 -08:00
Evan Feenstra
28a9aa8d1b fix rmp_serde to vec named for controller responses 2022-12-18 10:57:34 -08:00
decentclock
a628c388a9 tester: update to latest signer, checkin cargo.lock 2022-10-31 13:34:03 -04:00
Evan Feenstra
736f4f0e8e update all deps to point to sphinx-rs 2022-10-25 16:38:42 -07:00
Evan Feenstra
31abb6f5cc fix log 2022-10-21 13:20:37 -07:00
Evan Feenstra
34d74fc4e7 dont panic on vls handler error 2022-10-20 14:24:08 -07:00
Evan Feenstra
a283734834 doc 2022-10-11 18:06:02 -07:00
Evan Feenstra
e5412e23bd ctrl tester: read json file 2022-10-11 18:03:12 -07:00
Evan Feenstra
105b6c009f config tester 2022-10-11 15:07:56 -07:00
decentclock
a37d7c5074 doc: add sample .env file to tester readme 2022-09-30 16:19:09 -04:00
Evan Feenstra
c180a15c9c merge master 2022-09-27 12:54:04 -07:00
Evan Feenstra
7c886b0f15 refactor tester bin, configurable client id, sdcard root 2022-09-27 12:49:41 -07:00
decentclock
2a4945f44a tester: add ota control message sends to ctrl bin 2022-09-25 21:28:44 -04:00
decentclock
f208a5af5e propagate errors to user in handle_control_response 2022-09-24 16:08:33 -04:00
Evan Feenstra
aeb48e36c3 tester and esp32 create signed timestamp for auth 2022-09-16 12:30:33 -07:00
Evan Feenstra
708003ca4d policy stored in flash, more FlashPersister impls, handle_control_response util, ControlResponse::Error, simple policy 2022-09-12 15:13:48 -07:00
Evan Feenstra
51659c74ac central topics consts shared between modules 2022-09-12 10:37:04 -07:00
Evan Feenstra
8c48ebda07 update tester main, Nonce message is the only one with nonce unchecked 2022-09-09 11:40:23 -07:00
Evan Feenstra
13f23f7111 tester ctrl configurable nonce and url 2022-09-09 10:33:09 -07:00