Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Comments

feat(*): Enforce signatures on server#300

Merged
thomastaylor312 merged 1 commit intodeislabs:mainfrom
thomastaylor312:feat/enforce_signatures
Feb 9, 2022
Merged

feat(*): Enforce signatures on server#300
thomastaylor312 merged 1 commit intodeislabs:mainfrom
thomastaylor312:feat/enforce_signatures

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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