core-lightning/plugins
Rusty Russell 5becfa6ee1 onion_message: don't use general secret, use per-message secret.
We had a scheme where lightningd itself would put a per-node secret in
the blinded path, then we'd tell the caller when it was used.  Then it
simply checks the alias to determine if the correct path was used.

But this doesn't work when we start to offer multiple blinded paths.
So go for a far simpler scheme, where the secret is generated (and
stored) by the caller, and hand it back to them.

We keep the split "with secret" or "without secret" API, since I'm
sure callers who don't care about the secret won't check that it
doesn't exist!  And without that, someone can use a blinded path for a
different message and get a response which may reveal the node.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-11-09 15:08:03 +01:00
..
bkpr common/json_stream: support filtering don't print fields not allowed. 2022-11-09 20:25:58 +10:30
examples pytest: Add test for optional options in cln-plugin 2022-11-03 11:28:22 +01:00
grpc-plugin cln-plugin: Defer binding the plugin state until after configuring 2022-09-25 15:13:12 +02:00
spender openingd: Add reserve to fundchannel and multifundchannel 2022-09-21 11:25:47 +02:00
src Plugin config options with no defaults 2022-11-03 11:28:22 +01:00
test plugins/libplugin-pay: hack in blinded path support. 2022-11-09 15:08:03 +01:00
.gitignore bookkeep: first commit, stub of new plugin 2022-07-28 12:08:18 +09:30
autoclean.c delforward: allow deletion of "unknown in_htlc_id" and fix autoclean to use it. 2022-09-27 14:42:03 +09:30
bcli.c libplugin: mark the cmd notleak() whenever command_still_pending() called. 2022-09-19 11:34:42 +09:30
Cargo.toml cln-plugin: Add log filtering support 2022-09-25 15:13:12 +02:00
chanbackup.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
commando.c libplugin: mark the cmd notleak() whenever command_still_pending() called. 2022-09-19 11:34:42 +09:30
fetchinvoice.c onion_message: don't use general secret, use per-message secret. 2022-11-09 15:08:03 +01:00
funder.c funder: cleanup datastore on state-change/channel failure 2022-10-20 13:42:41 +02:00
funder_policy.c df: pass lease data back to funder for rbfs 2022-10-20 13:42:41 +02:00
funder_policy.h df: pass lease data back to funder for rbfs 2022-10-20 13:42:41 +02:00
keysend.c plugins/libplugin-pay: hack in blinded path support. 2022-11-09 15:08:03 +01:00
libplugin-pay.c plugins/libplugin-pay: hack in blinded path support. 2022-11-09 15:08:03 +01:00
libplugin-pay.h plugins/libplugin-pay: hack in blinded path support. 2022-11-09 15:08:03 +01:00
libplugin.c libplugin: support filters. 2022-11-09 20:25:58 +10:30
libplugin.h libplugin: support filters. 2022-11-09 20:25:58 +10:30
Makefile plugins/libplugin-pay: hack in blinded path support. 2022-11-09 15:08:03 +01:00
offers.c onion_message: don't use general secret, use per-message secret. 2022-11-09 15:08:03 +01:00
offers.h common: update to latest onion message spec. 2022-10-26 11:29:06 +10:30
offers_inv_hook.c common: update to latest onion message spec. 2022-10-26 11:29:06 +10:30
offers_inv_hook.h common: update to latest onion message spec. 2022-10-26 11:29:06 +10:30
offers_invreq_hook.c common: update to latest onion message spec. 2022-10-26 11:29:06 +10:30
offers_invreq_hook.h common: update to latest onion message spec. 2022-10-26 11:29:06 +10:30
offers_offer.c BOLTs: update to more recent bolt12 spec. 2022-10-26 11:29:06 +10:30
offers_offer.h BOLTs: update to more recent bolt12 spec. 2022-10-26 11:29:06 +10:30
pay.c plugins/libplugin-pay: hack in blinded path support. 2022-11-09 15:08:03 +01:00
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00
topology.c common: assume htlc_maximum_msat, don't check bit any more. 2022-09-24 15:22:27 +09:30
txprepare.c memleak: simplify API. 2022-09-19 11:34:42 +09:30

Plugin Directory

Any file in this directory which is executable and whose name only consists of alphanumeric characters, space, '.', '-' or '_' will be automatically loaded when lightningd starts (unless suppressed with commandline options).