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

Rework so COSE_Signature implementations are simpler + easier DECODE_ONLY #257

Merged
merged 5 commits into from
Aug 8, 2023

Conversation

laurencelundblade
Copy link
Owner

@laurencelundblade laurencelundblade commented Jul 26, 2023

This is a major change to the way COSE_Sign is processed.

Verifier objects no longer need to decode COSE_Signatures and are half as complex as before. The COSE_SIgnature decoding is centralized. This also allows DECODE_ONLY with no verifiers (as long as COSE_Signatures don't use non-string or integer headers or need buffer size calculations).

Tests for DECODE_ONLY with multiple signatures

@laurencelundblade laurencelundblade changed the title Might fix aux buf size calc for multiple signatures Rework so COSE_Signature implementations are simpler + easier DECODE_ONLY Aug 8, 2023
@laurencelundblade laurencelundblade merged commit 6ebef8d into dev Aug 8, 2023
@laurencelundblade laurencelundblade deleted the eddsa-fix2 branch August 8, 2023 19:35
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.

1 participant