Check-in [b97c4963e4]
Overview
SHA1:b97c4963e4a117e989f02574ccf893a28872e7f2
Date: 2016-02-15 06:20:31
User: rkeene
Comment:ChromeOS: Pass PIN prompt back to the user (unused for now)
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:39
[16b40cb47e] ChromeOS: Restructured initialization so that the Google PCSC Smartcard Manager App ID can be found at runtime (user: rkeene, tags: trunk)
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)
Changes

Modified build/chrome/cackey-chrome-init.cc from [039bbe7def] to [7e38a33c28].

132
133
134
135
136
137
138

139
140
141
142
143




144
145
146
147
148
149
150
							break;
						case CACKEY_CHROME_NEEDLOGIN:
						case CACKEY_CHROME_NEEDPROTECTEDLOGIN:
							messageAsVar = new pp::Var(message->pp_var());

							reply->Set("status", "retry");
							reply->Set("originalrequest", messageAsVar);


							delete messageAsVar;

							break;
					}




				}
			} else {
				reply->Set("status", "error");
				reply->Set("error", "Invalid command");
			}

			/*







>





>
>
>
>







132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
							break;
						case CACKEY_CHROME_NEEDLOGIN:
						case CACKEY_CHROME_NEEDPROTECTEDLOGIN:
							messageAsVar = new pp::Var(message->pp_var());

							reply->Set("status", "retry");
							reply->Set("originalrequest", messageAsVar);
							reply->Set("pinprompt", pinPrompt);

							delete messageAsVar;

							break;
					}

					if (pinPrompt != NULL) {
						free(pinPrompt);
					}
				}
			} else {
				reply->Set("status", "error");
				reply->Set("error", "Invalid command");
			}

			/*