Skip to main content

Module sender

Module sender 

Source
Expand description

Whether a jekt’s sender name can be shown as an agent’s.

AgentMux’s own senders (cron, loop, github-consumer, …) are reserved agent names. A message that came in over the LAN or the WAN and is not signed by AgentMux’s own relay could carry any of them, so there such a name is shown the way a name that is no agent id is shown: with a leading ? and no reply hint.

Functions§

is_shown_as_agent
True when name may be shown, and replied to, as an agent id. reagent_verified is the relay’s signature check (Some(true) for a message AgentMux’s own consumers signed).