Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to get gpg keys on email while uploading lib to bintray.com

I am using this tutorial to upload my android lib to bintray.com

I am following below steps to upload lib:

  1. gpg --gen-key
  2. gpg --list-keys
  3. gpg --keyserver hkp://pool.sks-keyservers.net --send-keys PUBLIC_KEY_ID
  4. gpg -a --export [email protected] > public_key_sender.asc
  5. gpg -a --export-secret-key [email protected] > private_key_sender.asc

I have replaced PUBLIC_KEY_ID with my key id, same for email as well.

I am not getting why I am not receiving emails?.

like image 693
Jitesh Mohite Avatar asked Aug 22 '18 03:08

Jitesh Mohite


1 Answers

You should not expect to receive an e-mail at the address you used for the key. None of the steps you did there are supposed to result in any sort of e-mail confirmation being sent by anybody.

During gpg --gen-key you should have entered an e-mail address to associate with the key, and during the export you should have used the same e-mail address in order to tell GPG which key you wanted it to export for you. The e-mail just functions as a name for the key.

If all the GPG stuff completed without error, you should be able to go to http://pool.sks-keyservers.net/ and search the e-mail address you used, and have the key show up in the results list. If that works, you can continue with the next step of the tutorial:

Open Bintray's Edit Profile page and click at GPG Signing. Fill in both Public Key and Private Key using content in public_key_sender.asc and private_key_sender.asc files exported in previous step respectively.

like image 158
interfect Avatar answered Oct 18 '22 17:10

interfect