Index: build/chrome/cackey.js ================================================================== --- build/chrome/cackey.js +++ build/chrome/cackey.js @@ -224,14 +224,20 @@ cackeyCertificateToPINMap[cackeyCertificateToPINID(tmpMessageEvent.data.originalrequest.certificate)] = pinWindowPINValue; cackeyHandle.postMessage(tmpMessageEvent.data.originalrequest); } - - delete cackeyMessagesToRetry[messageIdx]; } + + /* + * Delete the existing handle and create a new one + */ + delete cackeyMessagesToRetry; + + cackeyMessagesToRetry = []; + /* * We are done fetching the user PIN, clear the value */ pinWindowPINValue = "";