Can't figure out how to upload ssh keys

Bug #289148 reported by Skip Montanaro
2
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Martin Pool
Launchpad itself
Fix Released
Low
Unassigned

Bug Description

I was one of the python-mode admins when it was hosted on SF using Subversion. Barry Warsaw moved it to Launchpad+bzr earlier this year. I'm just getting around to getting ahold of the source. I managed to check out a (read only?) copy of the code using "bzr branch lp:python-mode". (I have no idea what that means. That's what the website said to do.) It reported:

   You have not informed bzr of your launchpad login. If you are attempting a
   write operation and it fails, run "bzr launchpad-login YOUR_ID" and try again.

I don't know exactly what my Launchpad login is, but based on a little horsing around on the website it appears my login is "<email address hidden>", which Launchpad didn't like. Somewhere it seemed that gets transmogrified into "skip-pobox", so I tried that but got an error:

   % bzr launchpad-login skip-pobox
   bzr: ERROR: The user skip-pobox has not registered any SSH keys with Launchpad.

Now I'm completely stumped. I am logged in on the website thanks to my Mac's keychain, but I can't tell how in the world I'm supposed to upload ssh keys. I'm not even 100% sure that "skip-pobox" is my actual login. I couldn't find anything that looked like a help page or a page of frequently asked questions on launchpad.net.

Any help appreciated.

Thanks,

Skip Montanaro
<email address hidden>

Tags: lp-registry
Revision history for this message
Martin Albisetti (beuno) wrote :

Your launchpad login is correct, and you can upload your public SSH key in: https://edge.launchpad.net/~skip-pobox/+editsshkeys
(or by going, in your profile page, Change Details > SSH Keys).

Revision history for this message
Andrew Bennetts (spiv) wrote :
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

This is partly a bug in Launchpad: (1) nowhere does it tell you what your Launchpad ID is. It should be shown prominently on your profile page.

But it is mostly a bug in Bazaar: (2) it should not use the ambiguous term "Launchpad login" (it should use "Launchpad ID" instead, as per the RegistrySimplifications spec), and (3) the error message should link you to the page for setting up your SSH key instead of leaving you hanging. (For forwards compatibility, the link should be to your profile page rather than to +editsshkeys in particular, because it is likely that the latter will be merged into the profile page somehow in future).

Changed in launchpad-answers:
status: New → Triaged
Revision history for this message
Martin Pool (mbp) wrote :
Changed in bzr:
assignee: nobody → mbp
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Skip Montanaro (smontanaro) wrote : Re: [Bug 289148] Re: Can't figure out how to upload ssh keys

    Martin> Comments on the text welcome

Looks ok to me. I don't understand how I got the user id "~skip-pobox" (or
something similar to that). How should I have known that was my id?

--
Skip Montanaro - <email address hidden> - http://smontanaro.dyndns.org/

Revision history for this message
Martin Pool (mbp) wrote :

On Fri, Nov 14, 2008 at 2:10 PM, Skip Montanaro <email address hidden> wrote:
>
> Martin> Comments on the text welcome
>
> Looks ok to me. I don't understand how I got the user id "~skip-pobox" (or
> something similar to that). How should I have known that was my id?

I guess that id was created for you by some kind of import process,
possibly from the Python bug tracker(??), based on your email address.
 If people create an account manually they choose their user id so
it's a bit more reasonable to expect them to know it. (But still not
totally reasonable, as Andrew notes.)

It would be better if bzr just worked this out from your email
address, assuming that the one you use with bzr is also one you've
registered with launchpad. We'd also need to check this doesn't run
into any problem with Launchpad email address privacy.

There is a bit of divergence here because eg you use your email
address to log in, but branch and page urls use your Launchpad ID.

--
Martin <http://launchpad.net/~mbp/>

Revision history for this message
Martin Pool (mbp) wrote :

> Looks ok to me. I don't understand how I got the user id "~skip-pobox" (or
> something similar to that). How should I have known that was my id?

https://help.launchpad.net/YourAccount/NewAccount says that your username is automatically set from your email address at first, but you can change it if you wish. Doing so will move every branch and page that uses your name of course.

Curtis Hovey (sinzui)
Changed in launchpad-registry:
importance: Undecided → Low
Jelmer Vernooij (jelmer)
Changed in bzr:
status: In Progress → Fix Released
Revision history for this message
Christian Reis (test account) (kiko-bichodomato) wrote :

This message isn't terribly helpful:

bzr: ERROR: The user xxx has not registered any SSH keys with Launchpad.
See (https://launchpad.net/people/+me)

If you have no registered SSH keys, https://launchpad.net/people/+me doesn't mention SSH keys at all. The message should either point the user to https://edge.launchpad.net/~xxx/+editsshkeys, as we do whenever someone runs into this problem, or the +me page in Launchpad should mention SSH keys. Probably the former, as the latter would clutter up +me.

Revision history for this message
Leonard Richardson (leonardr) wrote :

That was me who left that last comment, not kiko. I forgot I was logged in under a test account.

Curtis Hovey (sinzui)
Changed in launchpad-registry:
assignee: nobody → Curtis Hovey (sinzui)
milestone: none → 2.2.5
status: Triaged → In Progress
Revision history for this message
Vincent Ladeuil (vila) wrote :

    Curtis> ** Changed in: launchpad-registry
    Curtis> Status: Triaged => In Progress

    Curtis> ** Changed in: launchpad-registry
    Curtis> Milestone: None => 2.2.5

    Curtis> ** Changed in: launchpad-registry
    Curtis> Assignee: (unassigned) => Curtis Hovey (sinzui)

Assigning a bug to you means you intend to fix the bug yourself,
I don't think that's your intent so you may want to unassign it.

<snip/>

    Curtis> I was one of the python-mode admins when it was
    Curtis> hosted on SF using Subversion. Barry Warsaw moved it
    Curtis> to Launchpad+bzr earlier this year. I'm just getting
    Curtis> around to getting ahold of the source. I managed to
    Curtis> check out a (read only?) copy of the code using "bzr
    Curtis> branch lp:python-mode". (I have no idea what that
    Curtis> means.

It created a local copy of the branch hosted at launchpad.

    Curtis> That's what the website said to do.) It reported:

    Curtis> You have not informed bzr of your launchpad
    Curtis> login. If you are attempting a write operation and
    Curtis> it fails, run "bzr launchpad-login YOUR_ID" and
    Curtis> try again.

    Curtis> I don't know exactly what my Launchpad login is, but
    Curtis> based on a little horsing around on the website it
    Curtis> appears my login is "<email address hidden>", which Launchpad
    Curtis> didn't like. Somewhere it seemed that gets
    Curtis> transmogrified into "skip-pobox",

Presumably launchpad (lp) found it in some commit an created an
account for it. But since it did that from incomplete
information, it is, well, incomplete.

    Curtis> so I tried that but got an error:

    Curtis> % bzr launchpad-login skip-pobox
    Curtis> bzr: ERROR: The user skip-pobox has not registered any SSH keys with Launchpad.

In particular it miss an ssh key which is the mean used to
authenticate a user when given him *write* access.

    Curtis> Now I'm completely stumped. I am logged in on the
    Curtis> website thanks to my Mac's keychain, but I can't tell
    Curtis> how in the world I'm supposed to upload ssh keys.

See https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair

    Curtis> I'm not even 100% sure that "skip-pobox" is my actual
    Curtis> login. I couldn't find anything that looked like a
    Curtis> help page or a page of frequently asked questions on
    Curtis> launchpad.net.

You don't have to keep that account, you can create a new one and
then merge into your new, shiny, defined as *you* want it to be
:)

Revision history for this message
Robert Collins (lifeless) wrote :

Vincent, I think the point of the bug is the user confusion that the
current UI encourages, not specific answers to Curtis :). That said,
we've made some improvements in bzr to address this already; I think
that lp can improve too, based on Leonard's comments.

-Rob

Revision history for this message
Skip Montanaro (smontanaro) wrote :

Just an FYI... I'm "Skip". I'm the one who was confused, not Curtis, the
assignee. The quoting is wrong in Vincent's comment.

--
Skip Montanaro - <email address hidden> - http://www.smontanaro.net/
    America's vaunted "free press" notwithstanding, story ideas that expose
    the unseemly side of actual or potential advertisers tend to fall by the
    wayside. Not quite sure why. -- Jim Thornton

Revision history for this message
William Grant (wgrant) wrote :

On Sun, 2009-05-10 at 11:43 +0000, Skip Montanaro wrote:
> Just an FYI... I'm "Skip". I'm the one who was confused, not Curtis, the
> assignee. The quoting is wrong in Vincent's comment.

It looks like the confusion arose from the signature of the email. There
is a personal configuration option to have Launchpad send the
description and status in the signature of each email, so it was
probably easy for Vincent to miss the '--' and think that Curtis had
said what you did.

--
William Grant

Revision history for this message
Vincent Ladeuil (vila) wrote :

Yeah, everybody is right (except me :), I've been tricked by the mail, thinking it was the initial bug report and tried to help Curtis damn ^W^W Skip asap since it was Sunday.

Sorry for the noise.

Revision history for this message
Curtis Hovey (sinzui) wrote :

Fixed in launchpad devel 8421.

Changed in launchpad-registry:
status: In Progress → Fix Committed
Revision history for this message
Curtis Hovey (sinzui) wrote : Fix released

Fixed released in Launchpad 2.2.5.

Changed in launchpad-registry:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in launchpad:
assignee: Curtis Hovey (sinzui) → nobody
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.