AnsweredAssumed Answered

Failed to initialize AndroidSecurIDLib

Question asked by David Olascoaga on Sep 10, 2019



We are having some problems with the RSA SecurID Access for Android version 2.6.0.
Specifically, the error we are getting is while trying to initialize the AndroidSecurIDLib class.


The RSA SecurID SDK 2.8.0 for Android Developer’s Guide says that one must pass the application context to the constructor of the AndroidSecurIDLib class. Also, the following permissions must be declared in the AndroidManifest.xml file:


Every permission is declared in our AndroidManifest.xml.


However, we are having some problems only on 2 devices:

  1. Samsung Galaxy S9 SM-G9600 (Android 9)
  2. Xiaomi Redmi Note 4 (Android 7)

The AndroidSecurIDLib is throwing an exception which name is: DecryptFailException and only with a message which says "1024".


This is the stack trace: Source:177) Source:4) Source:10) Source:38)<init>(Unknown Source:58)<init>(Unknown Source:5)


As I mentioned before, this only happens with the 2 devices above. We have tested our application with many other devices and we have not been able to replicate this issue.


We are not sure why this exception is being thrown as the message "1024" does not describe the exception too much, so we hope you can give us some advice about all of this.


Thank you.