Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349027 - [client] "Clone Git Repository" should ask for password OR key+passphrase, not both
Summary: [client] "Clone Git Repository" should ask for password OR key+passphrase, no...
Status: CLOSED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Git (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 349034
Blocks:
  Show dependency tree
 
Reported: 2011-06-10 09:30 EDT by Tomasz Zarna CLA
Modified: 2017-01-10 15:37 EST (History)
3 users (show)

See Also:


Attachments
Oct 3 git push ui (10.71 KB, image/png)
2011-10-04 14:10 EDT, John J. Barton CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2011-06-10 09:30:47 EDT
The dialog to collect SSH creds required by git clone operation should ask for for password OR key (and passphrase when needed), not both. The user may be confused when he is asked for providing password and the key at the same time.
Comment 1 John J. Barton CLA 2011-08-17 15:25:03 EDT
and please remember the password as long as my session is good...
Comment 2 Szymon Brandys CLA 2011-09-12 04:39:24 EDT
We are blocked by bug 349034 which is blocked by a JSch issue. Tomek was asked to find out when JSch guys are fixing it, but most likely it is not by Orion 0.3.

What we can do here is:
- tweak the dialog a bit, so it is clear that either the password OR the key (and passphrase) is needed
- store the credentials in the session storage so JJ (and others) can work with Orion without that annoying credential dialog showing up again and again
Comment 3 Malgorzata Janczarska CLA 2011-09-29 11:23:55 EDT
(In reply to comment #2)
> What we can do here is:
> - tweak the dialog a bit, so it is clear that either the password OR the key
> (and passphrase) is needed

done

> - store the credentials in the session storage so JJ (and others) can work with
> Orion without that annoying credential dialog showing up again and again

But do we really want to store credentials? There were ideas like this before and then we were against storing credentials. Generally I don't know a good way to store credentials from javascript level without requiring any browser plugins, because all would require a symmetrical encryption of passwords. The safest thing I can think of is to store passwords in session storage that is cleared whenever the browser window is closed, but it doesn't solve the problem completely, because JJB wouldn't like to re-enter his password on every new Orion window.
Comment 4 Szymon Brandys CLA 2011-10-04 07:23:16 EDT
(In reply to comment #3)

> But do we really want to store credentials? There were ideas like this before
> and then we were against storing credentials. 

These were discussions about storing credentials on the server side.

> The safest thing I can think of is to store passwords in session storage that is
> cleared whenever the browser window is closed, but it doesn't solve the problem
> completely, because JJB wouldn't like to re-enter his password on every new
> Orion window.

Right. We were already chatting about using the session storage, that's why I wrote "store the credentials in the session storage". I would raise a separate bug for remembering credentials, unless there is one already. We could use it for further investigation.

BTW the issue from the summary i.e. "Clone Git Repository should ask for password OR key+passphrase, not both" is actually fixed. If JJ agrees we can close this bug and raise another one for consuming changes described in bug 349034.
Comment 5 John J. Barton CLA 2011-10-04 14:10:50 EDT
Created attachment 204537 [details]
Oct 3 git push ui
Comment 6 John J. Barton CLA 2011-10-04 14:13:47 EDT
The new pop up is an improvement. I think it would be even better with a small change: Add a blank line between the two areas. That will make the brain fuse the rows of the table as units rather than the columns.  Currently the rows of text entry touch, making the user think they form a unit.  Borders around the rows would also work, but a blank is good enough.
Comment 7 Malgorzata Janczarska CLA 2011-10-05 05:15:14 EDT
I rised another bug for saving credentials: Bug 359952.
Comment 8 Malgorzata Janczarska CLA 2011-10-21 06:06:40 EDT
We are still blocked with no clear views for the future, so I'm taking off the target. I'll set it when we have any clear declaration from JSCh.
Comment 9 Michael Rennie CLA 2017-01-10 15:37:58 EST
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg04002.html