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: add support for multiple signing algorithms #76

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

nanderstabel
Copy link
Collaborator

@nanderstabel nanderstabel commented May 21, 2024

Description of change

Previously all data in all flows where signed using EdDSA by default. This current PR adds support for the configuration of multiple singing algorithms.

Links to any relevant issues

Closes #71

How the change has been tested

Adjusted relevant tests.
The changes made in this PR have also been tested through:

Definition of Done checklist

Add an x to the boxes that are relevant to your changes.

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@nanderstabel nanderstabel self-assigned this May 21, 2024
@nanderstabel nanderstabel added the Breaking change A change to the API that requires a major release. label May 21, 2024
@nanderstabel nanderstabel linked an issue May 21, 2024 that may be closed by this pull request
4 tasks
@nanderstabel nanderstabel marked this pull request as ready for review May 21, 2024 13:22
@nanderstabel nanderstabel changed the title feat: add support for multiple singing algorithms feat: add support for multiple signing algorithms May 21, 2024
pub fn new(
subject: SigningSubject,
default_subject_syntax_type: impl TryInto<SubjectSyntaxType>,
supported_sigining_alogrithms: Vec<Algorithm>,

Choose a reason for hiding this comment

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

2 typos:

supported_sigining_alogrithms
             ^       ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking change A change to the API that requires a major release.
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Add support for configurable signature types
2 participants