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
{{ message }}
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.
When trying to load an identity with an invalid password, the error description is showing more information than needed of how the method is working internally - "Error unlocking babyjub key from keystore: Invalid encrypted data". I would suggest to return an error description more specific to this use case.
Result -> "Error unlocking babyjub key from keystore: Invalid encrypted data" Expected -> "The password introduced to load the identity is not valid. Please, try again"
The text was updated successfully, but these errors were encountered:
When trying to load an identity with an invalid password, the error description is showing more information than needed of how the method is working internally - "Error unlocking babyjub key from keystore: Invalid encrypted data". I would suggest to return an error description more specific to this use case.
val identity = Iden3mobile.newIdentity(
"$storePath/alias",
"password",
web3Url,
1000,
null
) { event -> print(event) }
identity.stop()
Iden3mobile.newIdentityLoad(
"$storePath/alias",
"wrongPassword",
web3Url,
1000
) { event -> print(event) }
Result -> "Error unlocking babyjub key from keystore: Invalid encrypted data"
Expected -> "The password introduced to load the identity is not valid. Please, try again"
The text was updated successfully, but these errors were encountered: