Check-in [ea7a58ef60]
Overview
Comment:ChromeOS: Updated to support raw PKCS#1 message signing using the interface Chrome provides it
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:ea7a58ef60b80f898295776adb9a7d76424e753d
User & Date: rkeene on 2016-02-26 16:23:40
Original Comment: Updated to support raw PKCS#1 message signing using the interface Chrome provides it
Other Links: manifest | tags
Context
2016-02-26
16:35
ChromeOS: Updated to pass original message back correctly check-in: 3783f79015 user: rkeene tags: trunk
16:23
ChromeOS: Updated to support raw PKCS#1 message signing using the interface Chrome provides it check-in: ea7a58ef60 user: rkeene tags: trunk
16:23
ChromeOS: Updated to delete the entire retry queue when we are done with it check-in: 42d0db67a2 user: rkeene tags: trunk
Changes

Modified build/chrome/cackey.js from [fc0c6a8a4f] to [3ee1c2da74].

   323    323   	switch (signRequest.hash) {
   324    324   		case "SHA-1":
   325    325   			digestHeader = new Uint8Array([0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2b, 0x0e, 0x03, 0x02, 0x1a, 0x05, 0x00, 0x04, 0x14]);
   326    326   			break;
   327    327   		case "SHA-256":
   328    328   			digestHeader = new Uint8Array([0x30, 0x31, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20]);
   329    329   			break;
          330  +		case "MD5_SHA1":
          331  +			digestHeader = new Uint8Array();
          332  +			break;
   330    333   		default:
   331    334   			console.error("[cackey] Asked to sign a message with a hash we do not support: " + signRequest.hash);
   332    335   
   333    336   			chromeCallback();
   334    337   
   335    338   			return;
   336    339   	}