Overview
| Comment: | ChromeOS: Fixed name of hashing algorithms we do support | 
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive | 
| Timelines: | family | ancestors | descendants | both | trunk | 
| Files: | files | file ages | folders | 
| SHA1: | 3956295cf110905568d2c424b8165962 | 
| User & Date: | rkeene on 2016-02-26 20:30:30 | 
| Other Links: | manifest | tags | 
Context
| 2016-02-26 | ||
| 20:51 | ChromeOS: Declare additional permissions check-in: 79a26e5dbf user: rkeene tags: trunk | |
| 20:30 | ChromeOS: Fixed name of hashing algorithms we do support check-in: 3956295cf1 user: rkeene tags: trunk | |
| 20:24 | ChromeOS: Updated PIN entry prompt to accept "Escape" to close it check-in: b297c8220e user: rkeene tags: trunk | |
Changes
Modified build/chrome/cackey.js from [f87cf78128] to [20b2fe6d64].
| ︙ | ︙ | |||
| 327 328 329 330 331 332 333 | 
	var certificateId;
	var digest, digestHeader;
	/*
	 * Prefix the digest with the ASN.1 header required of it
	 */
	switch (signRequest.hash) {
 | | | | 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 | 
	var certificateId;
	var digest, digestHeader;
	/*
	 * Prefix the digest with the ASN.1 header required of it
	 */
	switch (signRequest.hash) {
		case "SHA1":
			digestHeader = new Uint8Array([0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2b, 0x0e, 0x03, 0x02, 0x1a, 0x05, 0x00, 0x04, 0x14]);
			break;
		case "SHA256":
			digestHeader = new Uint8Array([0x30, 0x31, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20]);
			break;
		case "MD5_SHA1":
			digestHeader = new Uint8Array();
			break;
		default:
			console.error("[cackey] Asked to sign a message with a hash we do not support: " + signRequest.hash);
 | 
| ︙ | ︙ |