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

Fix JWK Layer. #124

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

Fix JWK Layer. #124

wants to merge 8 commits into from

Conversation

symorton
Copy link
Contributor

@symorton symorton commented Nov 8, 2024

Problem:
We need to fix the JWK layer to ensure that the flow works end-to-end and that the tests pass.

Solution:
Rename PublicJWK.
Fix some small nits bugs.

Validation:
All tests updated and passing.

Type of change:

  • Feature work
  • Bug fix
  • Documentation
  • Engineering change
  • Test
  • Logging/Telemetry

Risk:

  • High – Errors could cause MAJOR regression of many scenarios. (Example: new large features or high level infrastructure changes)
  • Medium – Errors could cause regression of 1 or more scenarios. (Example: somewhat complex bug fixes, small new features)
  • Small – No issues are expected. (Example: Very small bug fixes, string changes, or configuration settings changes)

Work Item links:
Please include here links for this work item, or deferred work, or related work. E.g. if the refactoring is too big to fit in this PR, or the localized strings need to be updated later, please link the TODO work items here.

Documentation Links:
Please include here links to any related background documentation for this PR.

@symorton symorton marked this pull request as ready for review November 15, 2024 20:28
@@ -3,8 +3,8 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/

/// TODO: deprecate entity for JWK
public struct ECPublicJwk: Codable, Equatable {
public struct PublicJWK: Codable, Equatable
Copy link
Contributor

Choose a reason for hiding this comment

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

This is still an ECPublicKey. x and y are only on keytype EC.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can we just keep the name EcPublicJwk for now and resolve this in a different PR?

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