[MERGE][1.2][#185394] Disconnect and reconnect the smart medium after getting "unknown method" error from server if a request body was sent.
John Arbash Meinel
john at arbash-meinel.com
Fri Feb 8 19:05:52 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vincent Ladeuil wrote:
|>>>>> "john" == John Arbash Meinel <john at arbash-meinel.com> writes:
|
| john> We don't store any SSH credentials. We might save them
| john> if they are using paramiko, but if we are spawning
| john> openssh, it is the one that prompts for passwords/key
| john> passphrases not us.
|
| Damn it ! Since I use seahorse which takes care of that as long
| as I don't reboot, I keep forgetting that case.
|
| john> So while you are correct for HTTP requests and maybe if
| john> paramiko is the ssh provider, normal bzr+ssh *will*
| john> prompt multiple times.
|
| You're right.
|
| john> We are both right, just looking at different pieces.
|
| Hehe, yes, we are both right, but Martin may be even more right ;)
|
| Having to enter the password multiple times is a severe usability
| bug IMHO.
|
| It renders bzr unusable. Either because you're become mad
| entering you password repeatedly or because you're not there to
| enter it (batch mode).
|
| But for SSH there are already 4 ways to address the problem:
| - put user:pass in urls (cough),
| - use auth.conf,
| - use a caching agent like seahorse,
| - use host keys.
Right. Also, this only happens when a newer client is connecting to an
older server. Using a newer server will "just work" the way we want it to.
|
| So this may not be *so* severe after all ;)
|
| That beings said, when we use paramiko, *we* prompt for the
| password but I'm afraid that we don't save it in the shared
| credentials...
|
| Vincent
Interesting. I suppose we are prompting at the wrong level?
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHrKgPJdeBCYSNAAMRAnlVAJ4gGoaIWXIC+qDyiLARDDBkdmYy8QCgs5Ht
piSQto4767tAQVjW46jNA+A=
=ClPB
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list