211 Commits

Author SHA1 Message Date
irriden
f54cedf716 pull security updates on dependencies 2024-02-16 00:55:41 +00:00
irriden
493fb5c118 broker: watch tasks, shutdown if any finish 2024-02-15 04:49:41 +00:00
irriden
d10a10e6f6 broker, signer: hsmd negotation, more speedups from vls 2024-02-15 01:47:12 +00:00
irriden
6f51641eb8 broker: pull security patches 2024-01-08 22:11:56 +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
be2917b045 broker: cache preapproves
largely copied from
https://gitlab.com/lightning-signer/validating-lightning-signer/-/merge_requests/564
2023-11-29 20:25:29 +00:00
irriden
4651966b63 broker: pull tungstenite security patches 2023-11-26 00:47:39 +00:00
irriden
01fe20c2e0 broker: use bitcoin and secp256k1 from vls re-exports 2023-11-25 19:34:56 +00:00
irriden
af7e5eca08 broker: switch rumqttd branch to asdf 2023-11-25 19:21:33 +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
7102138217 sphinx-key: check integrity of ota bin file 2023-11-18 02:06:01 +00:00
irriden
ac1a61f03b broker: pull rumqttd https fix 2023-11-15 23:31:20 +00:00
irriden
90d43c4e70 cargo clippy 2023-11-15 23:11:41 +00:00
irriden
4b85a85f0e broker: increase mqtt timeout from 4s to 10s 2023-10-31 23:46:37 +00:00
irriden
73d2c76be1 update txoo to 812000 checkpoint 2023-10-30 15:35:49 +00:00
irriden
52ea111ea6 sphinx-key: tune configs to solve OOM on mainnet addblock msgs
also pulls vls memory optimizations on these addblock msgs
2023-10-19 23:12:18 +00:00
irriden
7caaf5ae36 more concise logging 2023-10-13 17:44:02 +00:00
irriden
9ab7fa1b73 broker: launch the frontend
bumps sphinx-rs to include tracker_size_workaround feature from vls
otherwise the frontend eats up too much memory on esp32
uses the blocking handle::handle_message fn for impl SignerPort via
tokio::task::spawn_blocking
removes hard coded heartbeats, as these are now sent by the frontend
2023-10-12 18:57:28 +00:00
irriden
9d8031d962 bump sphinx-rs: nits 2023-10-03 14:47:36 +00:00
irriden
2761acb464 bump sphinx-rs: don't store invoices issued for keysend receives 2023-10-03 10:19:35 +00:00
Evan Feenstra
80a23cb5f0 conns refactor 2023-09-23 00:28:28 +00:00
Evan Feenstra
21915faf5a bump sphinx-rs 2023-09-19 11:27:35 -07:00
Evan Feenstra
bf4113d990 bump vls, writer-based multisigner, new id format, conflict topics and restarts 2023-09-18 14:26:17 -07:00
Evan Feenstra
ad2f63d898 bump 2023-09-15 17:11:16 -07:00
Evan Feenstra
258ecbe3f8 put conflict topics 2023-09-15 14:27:49 -07:00
Evan Feenstra
c7f44bb856 multisigner broker 2023-09-15 12:05:47 -07:00
irriden
8bc042d1a4 broker: fix counter overflows 2023-09-14 22:53:27 +00:00
irriden
03ad37fbc9 bump sphinx-rs: pull vls multi fork 2023-09-14 19:13:48 +00:00
irriden
1b00559424 broker: fix LSS getting out of step when new signer connects 2023-09-08 17:27:43 +00:00
irriden
128a29f298 broker: send a heartbeat message every ten messages in the root loop
prunes extraneous data on the hardware signer
2023-09-07 19:03:33 +00:00
Evan Feenstra
2578792872 Ordering::SeqCst 2023-09-06 09:29:39 -07:00
Evan Feenstra
f5fa7fbe71 add ticketlock to chain_tracker too 2023-09-06 09:25:28 -07:00
Evan Feenstra
452a255c39 fix 2023-09-06 00:33:02 -07:00
Evan Feenstra
d4dc1455f9 ticket lock 2023-09-06 00:31:30 -07:00
Evan Feenstra
7562fc3cfa bump sphinx rs, vls, rust-glithning 2023-08-24 10:03:21 -07:00
Evan Feenstra
9eabc7750f bump signer c5ee97c0 2023-08-23 22:15:43 -07:00
Evan Feenstra
188445f1be msg log broker 2023-08-23 10:03:10 -07:00
irriden
a86640904e Update vls 2023-08-22 18:05:02 +00:00
irriden
fd921955d3 reformat 2023-08-17 16:02:33 +00:00
irriden
7daf11481a broker: add picture 2023-08-17 15:59:58 +00:00
irriden
6cb2a35252 remove unnecessary clone in looper 2023-08-15 20:50:20 +00:00
irriden
5a0b064659 broker: first connection triggers signerloop start
and rocket launch
2023-08-09 16:25:05 +00:00
irriden
564a7534ff broker: rework lss init logic
now the logic for the first connection and subsequent connections is
nearly the same
2023-08-09 16:25:05 +00:00
irriden
46838ad00c broker: cleanup code, remove clones 2023-08-07 21:52:08 +00:00