Skip to content

Allow specification of signing algo#423

Merged
james-gould merged 6 commits into
james-gould:masterfrom
maxs-rose:master
Feb 22, 2026
Merged

Allow specification of signing algo#423
james-gould merged 6 commits into
james-gould:masterfrom
maxs-rose:master

Conversation

@maxs-rose
Copy link
Copy Markdown
Contributor

Describe your changes

The /sign and /verify endpoint properly respect the signing algorithm passed in from the request.

Issue ticket number and link

  • Fixes: N/A

Checklist before requesting a review

  • I have performed a self-review of my code.
  • I have ran the test suite locally to ensure no breaking changes have been added.
  • I have not removed or changed Azure Key Vault endpoints which break SDK functionality.
  • I have added new tests, if applicable.

@maxs-rose
Copy link
Copy Markdown
Contributor Author

FYI tests in CI are failing due to this dotnet/aspnetcore#65391 :)

Copy link
Copy Markdown
Owner

@james-gould james-gould left a comment

Choose a reason for hiding this comment

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

Hello! Thank you very much for this, really appreciate the contribution. Couple of small ammendments but overall good to go. If you could add some appropriate tests (ideally 1 per algo) that would be great too.

Noticed the issue for dotnet dev-certs as well, the workflows releasing the API change also use dotnet dev-certs which will block releasing so I'll await a fix for the bug before merging 😃

Comment thread src/AzureKeyVaultEmulator/Keys/Controllers/KeysController.cs Outdated
Comment thread src/AzureKeyVaultEmulator/Emulator/Services/EncryptionService.cs Outdated
Added tests for the new signing/verification algs. Since we dont support non-rsa keys at the moment negative tests for those were also added
@james-gould
Copy link
Copy Markdown
Owner

Thank you mate, appreciate your time on this! Will try the workaround listed on the issue for dotnet dev-certs in a little bit to see if that'll bypass the error being thrown ❤️

@maxs-rose
Copy link
Copy Markdown
Contributor Author

No problem :)

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