Setup using Docker images orchestrated on a programatically created Docker network.
There are two Orions (OrionA and OrionB), with each Orion having a single key pair (privKey, pubKey) and each of their nodeurl
set as 0.0.0.0:8080
.
A payload with OrionA pubKey as the from
and OrionB pubKey is send to OrionA (via /send
endpoint) for propagation and returns success, with a receipt, however OrionB cannot find the receipt.
Node StateOrionA /receive
with the OrionA pubKey returns 200 & the payload.OrionA /receive
with the OrionB pubKey returns 404.OrionB /receive
with the OrionA pubKey returns 404.OrionB /receive
with the OrionB pubKey returns 404.
HypothesisThe recipients are identified only by nodeUrl
, ignoring the publicKey
.i.e. when both keys have the same nodeUrl
a single positive response is sufficient for the transaction to succeed, despite the fact that node cannot decrypt the second payload (the one encrypted with OrionB's pubKey),