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

test: x509 chain validation #4

Merged
merged 2 commits into from
Jun 24, 2024
Merged

test: x509 chain validation #4

merged 2 commits into from
Jun 24, 2024

Conversation

berendsliedrecht
Copy link
Member

  • tmp
  • test: more x509 tests for chain validation

tmp
Signed-off-by: Berend Sliedrecht <[email protected]>
@berendsliedrecht berendsliedrecht changed the title x509 tests test: x509 chain validation Jun 24, 2024
Copy link
Member

Choose a reason for hiding this comment

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

I think @credo-ts/core should be a peer dependency, as we will depend on this library in core.

Even better would be to not depend on Credo in this library (as it seems lower level)

default:
throw new core.OperationError("Only format 'jwt' is supported for importing keys")
throw new core.OperationError(`Only format 'jwt' is supported for importing keys. Received: ${format}`)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
throw new core.OperationError(`Only format 'jwt' is supported for importing keys. Received: ${format}`)
throw new core.OperationError(`Only format 'jwk' and 'spki' is supported for importing keys. Received: ${format}`)

@berendsliedrecht berendsliedrecht merged commit 14548bf into main Jun 24, 2024
2 checks passed
@berendsliedrecht berendsliedrecht deleted the x509-tests branch June 24, 2024 11:22
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