Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Mismatch between Route Coordination and Forward RFC #965

Open
rolsonquadras opened this issue Dec 12, 2019 · 7 comments
Open

Mismatch between Route Coordination and Forward RFC #965

rolsonquadras opened this issue Dec 12, 2019 · 7 comments

Comments

@rolsonquadras
Copy link
Contributor

The recKeys are registered on the router as per the Route Coordination RFC, for which the edge agents expect redirection/forward from the router. But the to field in the Forward message takes a destination DID with/without key references. The Router won't be able to figure out the recKey from DID.

@rolsonquadras
Copy link
Contributor Author

@llorllale @troyronda created this to track our earlier discussion.

@troyronda
Copy link
Contributor

This issue seems like it could be an aries-rfcs discussion (issue)?

@llorllale
Copy link
Contributor

@rolsonquadras
Copy link
Contributor Author

rolsonquadras commented Jan 28, 2020

To bridge the gap between the Route Coordination RFC and Forward message RFC, the Aries Framework Go uses Recipient key in the to field of forward message instead of DID.

Forward RFC:
"to" : "did:sov:1234abcd#4",

Aries Framework Go Implementation:
"to" : "<recKey of the destination agent>",

@troyronda
Copy link
Contributor

To bridge the gap

(as a temporary workaround pending further discussions).

@rolsonquadras
Copy link
Contributor Author

To bridge the gap

(as a temporary workaround pending further discussions).

Yes, @llorllale had raised this question in Aries RFC issue hyperledger/aries-rfcs#274 (comment).

@TelegramSam
Copy link

I'm realizing that this RFC missed an update to reflect an early decision. We ended up only using keys for routing because it was the simplest thing that would work. On that note, the decision in Aries Framework Go follows that method.

On the plus side, now is a really good time to revisit this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants