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

feat(*): Enforce signatures on server #300

Merged

Conversation

thomastaylor312
Copy link
Contributor

This completes the change to full enforcement of signing and verification on
both client and server. This PR specifically is for the server. It will no
longer accept bindles that do not have a signature. All signature rules
are enforced according to the verification strategy. Please note that most
of the changes in this PR were to update the tests, which was a good exercise.

This is a breaking behavior change that should be well-documented at the next release.

Closes #106

This completes the change to full enforcement of signing and verification on
both client and server. This PR specifically is for the server. It will no
longer accept bindles that do not have a signature. All signature rules
are enforced according to the verification strategy. Please note that most
of the changes in this PR were to update the tests, which was a good exercise.

This is a breaking behavior change that should be well-documented at the next release.

Closes deislabs#106
@thomastaylor312 thomastaylor312 added the breaking For breaking API or behavior changes label Feb 4, 2022
Copy link
Member

@vdice vdice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this via a local bindle server instance; verification of signed invoices (and rejection of un-signed invoices)
seemed to work as expected. I'll leave the code review details up to the resident Rustaceans 🦀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking For breaking API or behavior changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Server needs to validate creator signature on invoice receipt
3 participants