I want gpg to use my existing active OpenPGP key from Launchpad without having to generate and import a new key.

$ gpg --list-keys returns nothing.

Btw I'm trying to sign the Code of Conduct

$ gpg --clearsign UbuntuCodeofConduct-2.0.txt 
gpg: no default secret key: secret key not available
gpg: UbuntuCodeofConduct-2.0.txt: clearsign failed: secret key not available
  • You somehow need to export your keys from launchpad and then import them into your keyrings... – Jan May 6 '15 at 11:49

To sign the code of conduct, you need to have the secret key of the key you're signing it with. Launchpad (and other key servers) only store the public key. Therefore, if you don't have the secret key of the key that's registered with your account on Launchpad, you'll need to generate a new key.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.