You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of the force unwrapping of the rsaPublicKey if any field in the JWK is invalid, the func verify( of the JWTAlgorithm crashes the app because of this line
return SecKeyVerifySignature(
jwk.rsaPublicKey!, .rsaSignatureMessagePKCS1v15SHA256, data as CFData, signature as CFData, nil
)
Would it be possible to just have an early exit and return false?
Reproduction
Try to login with a wrong configuration, app crashes every time
Additional context
No response
Auth0.swift version
2.10.0
Platform
iOS
Platform version(s)
iOS 18.0
Xcode version
16.0
Package manager
Swift Package Manager
The text was updated successfully, but these errors were encountered:
Checklist
Description
Because of the force unwrapping of the
rsaPublicKey
if any field in theJWK
is invalid, thefunc verify(
of theJWTAlgorithm
crashes the app because of this lineWould it be possible to just have an early exit and return false?
Reproduction
Try to login with a wrong configuration, app crashes every time
Additional context
No response
Auth0.swift version
2.10.0
Platform
iOS
Platform version(s)
iOS 18.0
Xcode version
16.0
Package manager
Swift Package Manager
The text was updated successfully, but these errors were encountered: