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: allow specifying COSE header when signing #30

Merged
merged 1 commit into from
Nov 6, 2024
Merged

Conversation

setrofim
Copy link
Contributor

@setrofim setrofim commented Nov 6, 2024

  • Add alternative versions of signing methods that take a cose::headers::CoseHeader instead of an algorithm.
  • Add new_cose_header helper function that creates a new jwt::Header from an Algorithm.

- Add alternative versions of signing methods that take a
  cose::headers::CoseHeader instead of an algorithm.
- Add new_cose_header helper function that creates a new jwt::Header
  from an Algorithm.

Signed-off-by: Sergei Trofimov <[email protected]>
Copy link
Contributor

@thomas-fossati thomas-fossati left a comment

Choose a reason for hiding this comment

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

That was very fast :-)

Thanks!

@setrofim setrofim merged commit 4034ae0 into main Nov 6, 2024
4 checks passed
@setrofim setrofim deleted the cwt-header branch November 6, 2024 15:25
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