question about lp access to bzr+ssh and empty/wrong password
John Arbash Meinel
john at arbash-meinel.com
Thu Feb 5 19:49:59 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alexander Belchenko wrote:
> Wichmann, Mats D пишет:
>> bazaar-bounces at lists.canonical.com wrote:
>>> Dear bzr devs and Andrew Bennetts in particular,
>>>
>>> Can somebody of you shed some light on this bug (in QBzr):
>>> https://bugs.launchpad.net/qbzr/+bug/307270
>>>
>>> Thank you.
>> well it seems the command-line case is pretty clear,
>> unless you have ssh key installed on the remote end
>> it's not going to let you in, typing a password
>> isn't an accepted way.
>
> Sorry, I don't understand.
>
>
>
At a minimum, launchpad does not allow password access. So you have to
use an ssh key.
Other than that, my guess is that the command-line UI returns either
None/'' for the password prompt, and your GUI is returning the opposite one.
Looking at SilentUIFactory, it always returns "None" as the password,
however the CLIUIFactory uses 'get_non_echoed_password' which in turn
uses 'getpass.getpass()'.
And when I hit <enter> there, I get back the empty string. So my guess
is that qbzr is returning None.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmLQucACgkQJdeBCYSNAAPaRQCg1n83fYMBN5QlEmeB0QcJrqLN
m+IAn3Cmmcs0I5oGAU3q8FSI1qSWrSZ0
=rpSb
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list