Overview
| Comment: | Use indexOf() instead of includes for backwards compatibility support |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
8b2206f04e5ebb25e7d6a7e894ede3a2 |
| User & Date: | rkeene on 2019-06-08 22:17:33 |
| Other Links: | manifest | tags |
Context
|
2019-06-08
| ||
| 22:18 | Start of Tcl-based SSH agent that uses JavaScript implementation check-in: 7336ecd46a user: rkeene tags: trunk | |
| 22:17 | Use indexOf() instead of includes for backwards compatibility support check-in: 8b2206f04e user: rkeene tags: trunk | |
|
2019-06-05
| ||
| 21:38 | Added a toggle for disabling the Chrome PIN dialog check-in: 2a4f67952b user: rkeene tags: trunk | |
Changes
Modified build/chrome/ssh-agent.js from [f9156a50f9] to [393672b6c1].
| ︙ | ︙ | |||
704 705 706 707 708 709 710 |
if (!socket) {
return;
}
/*
* Only accept connections from approved apps
*/
| | | 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 |
if (!socket) {
return;
}
/*
* Only accept connections from approved apps
*/
if (!socket.sender || !socket.sender.id || cackeySSHAgentApprovedApps.indexOf(socket.sender.id) == -1) {
console.log("[cackeySSH] Ignoring unapproved app: ", socket.sender);
return;
}
console.log("[cackeySSH] Accepted connection from: ", socket.sender.id);
socket.onMessage.addListener(function(request) {
|
| ︙ | ︙ |