Diff

Differences From Artifact [94fd0f8405]:

To Artifact [3d7abfb5db]:


   714    714   
   715    715   	/*
   716    716   	 * Initialize CACKey with the correct handle to talk to the Google Smartcard Manager App
   717    717   	 */
   718    718   	cackeyHandle.postMessage(
   719    719   		{
   720    720   			"target": "cackey",
   721         -			"command": "init",
   722         -			"smartcardManagerAppId": "khpfeaanjngmcnplbdlpegiifgpfgdco"
          721  +			"command": "init"
   723    722   		}
   724    723   	);
   725    724   
   726    725   	/*
   727    726   	 * Initialize the PCSC NaCl interface
   728    727   	 */
   729         -	new GoogleSmartCard.NaclModule(cackeyHandle);
   730         -	cackeyPCSCHandle = new GoogleSmartCard.PcscLiteClient.NaclClientBackend(cackeyHandle.messageChannel, "CACKey", "khpfeaanjngmcnplbdlpegiifgpfgdco"); 
          728  +	cackeyPCSCHandle = new GoogleSmartCard.PcscLiteClient.NaclClientBackend(
          729  +		null,
          730  +		"CACKey",
          731  +		"khpfeaanjngmcnplbdlpegiifgpfgdco",
          732  +		cackeyHandle
          733  +	); 
   731    734   
   732    735   	console.log("[cackey] cackeyInitPCSC() complete");
   733    736   
   734    737   	return;
   735    738   }
   736    739   
   737    740   /*