000021125 - Error: 'CryptImportKey() generates error 0x80090020' in RSA SecurID Passage 3.5.1

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000021125
Applies ToRSA SecurID Passage 3.5.1 Client
Microsoft Windows 2000 Professional SP4
IssueError: "CryptImportKey() generates error 0x80090020" in RSA SecurID Passage 3.5.1
CauseWhile running a custom application using the Microsoft C-API, failures due to internal error in RSA SecurID Passage CSP mechanism can sometimes cause this error to be generated
ResolutionThis issue has been resolved in a patch for RSA SecurID Passage 3.5.1 (build 131). An example of the code used at the point where the error was previously occurring might look like the following:

        if(CryptImportKey(handle, userBlob, userBlobLength, userKey, CRYPT_EXPORTABLE, &dummyKey))
        {
                result = TRUE;
                CryptDestroyKey(dummyKey);
                printf("Successfully authenticated and verified the key pairs !!!\n");
        }
        else
                PrintError();

Contact RSA Security Customer Support to obtain this updated version of RSA SecurID Passage 3.5.1 - reference tst00039486.
Legacy Article IDa21027

Attachments

    Outcomes