Check-in [ae9cfddbd2]
Overview
SHA1:ae9cfddbd2ddc3cf3f51a7be675740ff48d3ddd9
Date: 2016-02-15 06:17:41
User: rkeene
Comment:ChromeOS: Add new PIN to requests to sign once we gathered a new PIN
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-02-15
06:20
[b97c4963e4] ChromeOS: Pass PIN prompt back to the user (unused for now) (user: rkeene, tags: trunk)
06:17
[ae9cfddbd2] ChromeOS: Add new PIN to requests to sign once we gathered a new PIN (user: rkeene, tags: trunk)
06:16
[a90efdf98f] ChromeOS: Start trying to sign data or send it back as needing a PIN or unsignable (user: rkeene, tags: trunk)
Changes

Modified build/chrome/cackey.js from [dece8c3884] to [f054a4b4b3].

175
176
177
178
179
180
181


182
183
184
185
186
187
188
							console.log("[cackey] The PIN dialog was closed without gathering a PIN, treating it as a failure.");

							tmpMessageEvent.data.status = "error";
							tmpMessageEvent.data.error = "PIN window closed without a PIN being provided";

							cackeyMessageIncoming(tmpMessageEvent);
						} else {


							cackeyHandle.postMessage(tmpMessageEvent.data.originalrequest);
						}

						delete cackeyMessagesToRetry[messageIdx];
					}

					return;







>
>







175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
							console.log("[cackey] The PIN dialog was closed without gathering a PIN, treating it as a failure.");

							tmpMessageEvent.data.status = "error";
							tmpMessageEvent.data.error = "PIN window closed without a PIN being provided";

							cackeyMessageIncoming(tmpMessageEvent);
						} else {
							tmpMessageEvent.data.originalrequest.pin = pinWindowPINValue;

							cackeyHandle.postMessage(tmpMessageEvent.data.originalrequest);
						}

						delete cackeyMessagesToRetry[messageIdx];
					}

					return;