bzr switch prompts to decrypt ssh-key 4 times

Bug #223720 reported by TimeHorse
2
Affects Status Importance Assigned to Milestone
Bazaar
Expired
Medium
Unassigned

Bug Description

If the user's ssh private key is encrypted, bazaar needs to prompt the user to decrypt it for use in establishing the SSL. Most commands only request this decryption once, which is fine since I see no way to establish the equivalent of a session-key that persists across invocations, though that would be a WONDERFUL feature as my hand is getting tired from typing my password constantly.

What is, however, in my opinion excessive is that "bzr switch" requests decryption no less than FOUR (4) times before completion. Surely this can be cut down to 1, can't it?

Tags: ssh
Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 223720] [NEW] bzr switch prompts to decrypt ssh-key 4 times

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

TimeHorse wrote:
> Public bug reported:
>
> If the user's ssh private key is encrypted, bazaar needs to prompt the
> user to decrypt it for use in establishing the SSL. Most commands only
> request this decryption once, which is fine since I see no way to
> establish the equivalent of a session-key that persists across
> invocations, though that would be a WONDERFUL feature as my hand is
> getting tired from typing my password constantly.

You can use an SSH agent for this.

> What is, however, in my opinion excessive is that "bzr switch" requests
> decryption no less than FOUR (4) times before completion. Surely this
> can be cut down to 1, can't it?

Most likely yes.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIFfmF0F+nu1YWqI0RAu7yAJ9wmEiBvg6NlXVaVmBjIfCYdsrp4ACfYsNO
MWbZAq9cYjkY8b1XLdZPm7I=
=R15L
-----END PGP SIGNATURE-----

Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Robert Collins (lifeless) wrote :

I wonder if this is any better now? @TimeHorse, could you see if it has improved for you, and if it hasn't, provide details about the setup you are using where bzr creates 4 connections to do a switch.

Thanks,
Rob

Changed in bzr:
status: Confirmed → Incomplete
Jelmer Vernooij (jelmer)
tags: added: ssh
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Bazaar because there has been no activity for 60 days.]

Changed in bzr:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.