Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate that to/from DIDs are the expected values across an exchange #126

Open
phoebe-lew opened this issue Jan 10, 2024 · 0 comments
Open
Labels
good first issue Good for newcomers

Comments

@phoebe-lew
Copy link
Contributor

When Alice submits an Order or Close, the from DID value should be the same as the initial Rfq from value. An error should be returned if it is different as the DIDs don't match.

This could be a utility function in http-server or generalized in protocol, where the function also checks that all messages sent by the PFI have a consistent DID.

@phoebe-lew phoebe-lew added the good first issue Good for newcomers label Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: No status
Development

No branches or pull requests

1 participant