AnsweredAssumed Answered

Failed to initialize AndroidSecurIDLib

Question asked by David Olascoaga on Sep 10, 2019

Hello,

 

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.6.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:

  • READ_PHONE_STATE
  • ACCESS_WIFI_STATE
  • INTERNET

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:

com.rsa.securidlib.android.x.jj.e.g(Unknown Source:177)
com.rsa.securidlib.android.g.e.m(Unknown Source:4)
com.rsa.securidlib.android.g.e.zz(Unknown Source:10)
com.rsa.securidlib.android.g.e.m(Unknown Source:38)
com.rsa.securidlib.android.AndroidSecurIDLib.<init>(Unknown Source:58)
com.rsa.securidlib.android.AndroidSecurIDLib.<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.

Outcomes