cannot import gpg key
Bug #2013440 reported by
OnionYST Astraea
This bug report is a duplicate of:
Bug #1827369: Launchpad cannot handle ECC or Ed25519 OpenPGP keys.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
New
|
Undecided
|
Unassigned |
Bug Description
Page: https:/
Key already exists: https:/
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)
To post a comment you must log in.
``` gpg.handler, line 675, in _buildFromFinge rprint _buildFromGpgme Key(key) gpg.handler, line 685, in _buildFromGpgmeKey .items[ subkey. pubkey_ algo]
Module lp.services.
self.
Module lp.services.
self.algorithm = GPGKeyAlgorithm
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?