cannot import gpg key

Bug #2013440 reported by OnionYST Astraea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
New
Undecided
Unassigned

Bug Description

Page: https://launchpad.net/~onionyst/+editpgpkeys

Key already exists: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x92822AA4E2894602&fingerprint=on

When I click the 'Import Key' button, it keeps showing the following information.

======

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.

If you report this as a bug, please include the error ID below, preferably by copying and pasting it rather than by taking a screenshot.

(Error ID: OOPS-e15e52ec9319c71439b7e4d7a963daa4)

Revision history for this message
Jürgen Gmach (jugmac00) wrote :

```
  Module lp.services.gpg.handler, line 675, in _buildFromFingerprint
    self._buildFromGpgmeKey(key)
  Module lp.services.gpg.handler, line 685, in _buildFromGpgmeKey
    self.algorithm = GPGKeyAlgorithm.items[subkey.pubkey_algo]
  Module lazr.enum._enum, line 290, in __getitem__
    raise KeyError(key)
KeyError: 0
```

That looks like that your key uses an algorithm we do not support yet.

Which algorithm are you using?

As a workaround, until we are able to implement support for this algorithm, would you be able to use a different key?

Revision history for this message
OnionYST Astraea (onionyst) wrote :

I assume its ed25519, default for macOS gpg v2.4.0.

I was trying to use an exported subkey to do the signing, so I transfered the key.asc to Ubuntu and followed the subsequent instructions.

Okay I will try a different key. Thanks for pointing out the cause.

Revision history for this message
Jürgen Gmach (jugmac00) wrote :

Please let us know how it went.

Revision history for this message
Jürgen Gmach (jugmac00) wrote :

This is a duplicate of https://bugs.launchpad.net/launchpad/+bug/1827369

tl/dr - we have to wait for our infrastructure team to upgrade our systems

Revision history for this message
OnionYST Astraea (onionyst) wrote :

Apologies for duplicates.

For workaround, I recreated an RSA and RSA primary key and it succeeded.

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.