Open raphaelguye opened 3 months ago
Hi @raphaelguye, do you have a reproducible scenario for us to have a look at? In the meantime you can also look at https://github.com/airsidemobile/JOSESwift/pull/173 which was the PR that added this part of error handling, for more details.
From time to time, we get an
JOSESwiftError
of typelocalAuthenticationFailed
when trying to initialize aJWS
object. TheSigner
we use is anECSigner
with an algorithES256
.After some investigations the error seems to be thrown by:
The
errorCode
is always -1Do you have any idea why such errors happens and how we should investigate the problem more in details?