New issue
Advanced search Search tips

Issue 747054 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Aug 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

nassh: imported SSH identity key pair(s) do not persist after restoring

Reported by m.e.p...@gmail.com, Jul 20 2017

Issue description

Chrome Version       : 59.0.3071.91 (Official Build) (64-bit)
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari:
    Firefox:
         IE:

What steps will reproduce the problem?
(1) Install Secure Shell (dev) 0.8.36.8
(2) Options > Restore backup 
(3) Import SSH identity key pair(s)
(4) Connect to server, then disconnect
(4) Close Secure Shell
(5) Re-open Secure Shell

What is the expected result?
SSH identity key pairs should be remembered

What happens instead?
SSH identity key pairs are missing, not just hidden. The keys must be reimported to connect to the SSH server.

Please provide any additional information below. Attach a screenshot if
possible.
If I do *not* restore a backup and manually recreate the SSH session then import the SSH identity key pair(s) the application works as expected.

Secure Shell (dev) version 0.8.36.8
Google Chrome: 59.0.3071.91 (Official Build) (64-bit)
Revision: 0
Platform: 9460.60.0 (Official Build) stable-channel link
Firmware Version: Google_Link.2695.1.169

 

Comment 1 Deleted

Comment 2 Deleted

Comment 3 by vapier@chromium.org, Jul 24 2017

hmm, i can't reproduce this.  i did:
- uninstall & install Secure Shell
- import preferences
- import new keys
- connect
- close Secure Shell
- open Secure Shell
- selected profile has Identity listed using the previous key

the preferences file lists the identify file by file name only.
the storage for the preferences (chrome.storage.sync) is independent of /.ssh/ (window.webkitRequestFileSystem).  so messing with the former shouldn't impact the latter.

try running this code in your javascript console:
  window.webkitRequestFileSystem(window.PERSISTENT, 16*1024*1024, (root) => window.root = root)
  lib.fs.readDirectory(root.root, '/.ssh/', (x)=>console.log(x))
it should log an object with all the files in the /.ssh/ dir.
Labels: Needs-Feedback
Project Member

Comment 5 by sheriffbot@chromium.org, Aug 23 2017

Status: Archived (was: Unconfirmed)
No feedback was received in the last 30 days from reporter "m.e.page@gmail.com", so archiving this. Please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment