Unable to add gpg key to new account

Bug #1100977 reported by PherricOxide
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
William Grant

Bug Description

I created a new account, PherricOxide, and am trying to upload my OpenPGP key. I've tried two different keys, and both times I get an error,

    Oops!
    Sorry, something just went wrong in Launchpad.

    We’ve recorded what happened, and we’ll fix it as soon as possible. Apologies for the inconvenience.

    (Error ID: OOPS-47661cd7d3aacc12957aac6ff3649c26)

I did rename the account a couple of times, which may be relevant to the problem. For a bit it was called "Datasoft" (name of company), but then I changed it to PherricOxide and created a Datasoft team once I realized the team functionality existed. I already created a PPA datasoft/nova and tried adding a package, which I deleted before renaming the account back to PherricOxide, and then I created a datasoft/nova PPA under the Datasoft team. I tried uploading the package again with dput, and it said it already existed (even though it never showed up in PherricOxide or the Datasoft team, and I never got any emails).

Long story short, I think renaming the account a couple of times may have put it into a broken state.

Tags: qa-ok

Related branches

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

There was a problem with adding OpenPGP keys for a couple of hours this morning, due to a keyserver outage. It's been fixed for a few hours now.

As for the upload issue, what's the error message you are getting? It sounds like it might be dput's local check; try 'dput -f' instead.

Changed in launchpad:
status: New → Invalid
Revision history for this message
PherricOxide (pherricoxide) wrote :

I'm still unable to add a key to the account. Attempts using the key fingerprint F7F7 27DF 465F 9F0B A881 6A82 ADC6 7444 7F9F 2E1F,

     Oops!
     Sorry, something just went wrong in Launchpad.
     We’ve recorded what happened, and we’ll fix it as soon as possible. Apologies for the inconvenience.
     (Error ID: OOPS-4baf373c783a9daf21b847a2c1bec5bc)

    Oops!
    Sorry, something just went wrong in Launchpad.
    We’ve recorded what happened, and we’ll fix it as soon as possible. Apologies for the inconvenience.
    (Error ID: OOPS-5ba59a9b911188fed31a6b347a6a76b5)

Revision history for this message
PherricOxide (pherricoxide) wrote :

    Oops!
    Sorry, something just went wrong in Launchpad.
    We’ve recorded what happened, and we’ll fix it as soon as possible. Apologies for the inconvenience.
    (Error ID: OOPS-2fd2aee7e0b3a001d704f783537af3f2)

Still getting this several days later.

Changed in launchpad:
status: Invalid → New
Revision history for this message
rickyrockrat (rickyrockrat) wrote :

Same issue here. I've had this issue for several days now.

I did not rename anything.
Duplicate bug report I generated here:

https://bugs.launchpad.net/launchpad/+bug/1102609

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

If you're seeing this bug it means you haven't uploaded your key to the keyserver yet. The new server has different behaviour when the key does not exist, so you get an OOPS instead of a more helpful error message.

Make sure you've followed the "Publishing your key to a keyserver" instructions on https://help.launchpad.net/YourAccount/ImportingYourPGPKey and try again.

Changed in launchpad:
importance: Undecided → Critical
status: New → Triaged
assignee: nobody → William Grant (wgrant)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
Revision history for this message
rickyrockrat (rickyrockrat) wrote :

The reason we ever got here is that there is NO documentation link that implies that a key needs to be published to
hkp://keyserver.ubuntu.com

Here is the documentation trail I followed:
From my ppa page, the link 'read about uploading'->https://help.launchpad.net/Packaging/PPA/Uploading
Nowhere on this page does it say anything about having a pgp key, only dput

I had to click every link on that page to finally find
'possible upload errors.'->https://help.launchpad.net/Packaging/UploadErrors

Which is STILL not useful, but I see a clue - unfortunately, it takes me back home:
'you need to add it to your account'->https://launchpad.net/~rickyrockrat/+editpgpkeys
There I find:
'Learn more about OpenPGP keys'->https://launchpad.net/+help-registry/import-pgp-key.html
Where I neglected to click the link at the very bottom that says:
Importing Your PGP Key ->https://help.launchpad.net/YourAccount/ImportingYourPGPKey

I missed that link because right above it is a link called:
'import your new key into Launchpad'-> https://launchpad.net/+help-registry/import-pgp-key.html
Which is a circular reference.

What time, frustration, and enery could have been saved if this page
https://help.launchpad.net/Packaging/PPA/Uploading
Gives you the FIIRST requirement, and that is your key must be in hkp://keyserver.ubuntu.com

Where do I post/add a bug against documentation?

Revision history for this message
rickyrockrat (rickyrockrat) wrote :

Thank you, William, for finally pointing me to the correct documentation. I will provide that info to answer my own question.

Revision history for this message
rickyrockrat (rickyrockrat) wrote :

Oh, and I found This statement ambiguous:

Note: You must ensure your key is in the Ubuntu keyserver before you try to add it to Launchpad.
From this page:
https://launchpad.net/+help-registry/import-pgp-key.html

WHICH Ubuntu key server? I assumed it was one running locally, since I do have several servers running on my Ubuntu desktop, one of which is a keyring.

Revision history for this message
PherricOxide (pherricoxide) wrote :

Uploading the key to the keyserver first fixed my problem as well.

Revision history for this message
rickyrockrat (rickyrockrat) wrote :

Also, it would be useful for command line folks to document this:
gpg --send-keys --keyserver keyserver.ubuntu.com KEYID
And the verification of same:
gpg --search-keys --keyserver keyserver.ubuntu.com KEYID

To this page
https://help.launchpad.net/YourAccount/ImportingYourPGPKey

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

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