Check-in [b97c4963e4]
Overview
Comment:ChromeOS: Pass PIN prompt back to the user (unused for now)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b97c4963e4a117e989f02574ccf893a28872e7f2
User & Date: rkeene on 2016-02-15 06:20:31
Other Links: manifest | tags
Context
2016-02-15
06:39
ChromeOS: Restructured initialization so that the Google PCSC Smartcard Manager App ID can be found at runtime check-in: 16b40cb47e user: rkeene tags: trunk
06:20
ChromeOS: Pass PIN prompt back to the user (unused for now) check-in: b97c4963e4 user: rkeene tags: trunk
06:17
ChromeOS: Add new PIN to requests to sign once we gathered a new PIN check-in: ae9cfddbd2 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");
			}

			/*