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

JWS init error localAuthenticationFailed #329

Open
raphaelguye opened this issue Jul 18, 2024 · 1 comment
Open

JWS init error localAuthenticationFailed #329

raphaelguye opened this issue Jul 18, 2024 · 1 comment
Labels
waiting for response Waiting for the author to provide more information or respond to feedback

Comments

@raphaelguye
Copy link

From time to time, we get an JOSESwiftError of type localAuthenticationFailed when trying to initialize a JWS object.
The Signer we use is an ECSigner with an algorith ES256.

After some investigations the error seems to be thrown by:

The errorCode is always -1

Do you have any idea why such errors happens and how we should investigate the problem more in details?

@daniel-moh
Copy link
Member

Hi @raphaelguye, do you have a reproducible scenario for us to have a look at? In the meantime you can also look at #173 which was the PR that added this part of error handling, for more details.

@daniel-moh daniel-moh added the waiting for response Waiting for the author to provide more information or respond to feedback label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for response Waiting for the author to provide more information or respond to feedback
Projects
None yet
Development

No branches or pull requests

2 participants