Authorize remote modules with bearer proofs

This commit is contained in:
Eric Wendland 2026-05-19 19:16:30 +02:00
commit 7e39a19c18
8 changed files with 572 additions and 120 deletions

View file

@ -1368,6 +1368,7 @@ fn pubsub_pub_sub_uses_lossy_in_memory_runtime() {
topic: "presence/laptop".to_owned(),
message: "online".to_owned(),
node: None,
bearer_secret: None,
},
)
.expect("publish");
@ -1384,6 +1385,7 @@ fn pubsub_pub_sub_uses_lossy_in_memory_runtime() {
geth_control::ControlRequest::PubsubSub {
topic: "presence/laptop".to_owned(),
node: None,
bearer_secret: None,
},
)
.expect("subscribe snapshot");
@ -1407,6 +1409,7 @@ fn pubsub_pub_sub_uses_lossy_in_memory_runtime() {
geth_control::ControlRequest::PubsubSub {
topic: "presence/laptop".to_owned(),
node: None,
bearer_secret: None,
},
)
.expect("subscribe reopened snapshot");
@ -1424,6 +1427,7 @@ fn pubsub_pub_sub_uses_lossy_in_memory_runtime() {
topic: "presence/laptop".to_owned(),
message: String::new(),
node: None,
bearer_secret: None,
},
)
.is_err()
@ -1457,6 +1461,7 @@ fn pipe_listen_connect_uses_local_runtime_registry() {
geth_control::ControlRequest::PipeConnect {
target: "inbox".to_owned(),
node: None,
bearer_secret: None,
},
)
.expect("connect pipe");
@ -1479,6 +1484,7 @@ fn pipe_listen_connect_uses_local_runtime_registry() {
geth_control::ControlRequest::PipeConnect {
target: "inbox".to_owned(),
node: None,
bearer_secret: None,
},
)
.expect("connect after reopen");