Skip to content

Refactor verify to expect a named signature label and do single signa…#14

Merged
leelynne merged 2 commits into
mainfrom
leef-single-sig
May 5, 2025
Merged

Refactor verify to expect a named signature label and do single signa…#14
leelynne merged 2 commits into
mainfrom
leef-single-sig

Conversation

@leelynne

@leelynne leelynne commented Apr 22, 2025

Copy link
Copy Markdown
Collaborator

Refactor verify to expect a named signature label and do single signature verification.

Part of verification I missed was needing to know which signature to verify. This should be statically known ahead of time.
One example from Amazon is here - https://developer-docs.amazon.com/sp-api/docs/tpp-registration-signature-guidance

This ends up simplifying the verify code quite a bit.

@leelynne leelynne self-assigned this Apr 22, 2025
@leelynne leelynne closed this Apr 22, 2025
@leelynne leelynne reopened this Apr 22, 2025
@leelynne
leelynne marked this pull request as ready for review April 22, 2025 23:07
@leelynne
leelynne merged commit 35078dc into main May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants