I am unable to get GPG signing keys. Please any one tell me. Thanks How to generate gps signing keys in windows for jcenter
For Linux/Mac you can use gpg
. I learned how to do this here. I needed to prefix the following commands with sudo
.
Generate the keys
gpg --gen-key
Follow the defaults but enter your name and email and optionally a password.
List the keys.
gpg --list-keys
which should show something like this:
pub 2038R/91E83BF2 2017-05-13
uid Bob <[email protected]>
sub 2038R/E3872671 2017-05-13
Upload the public key to a keyserver
gpg --keyserver hkp://pool.sks-keyservers.net --send-keys PUBLIC_KEY_ID
replacing PUBLIC_KEY_ID
with your id (91E83BF2
in the example above).
Export your public and private keys to a text file
gpg -a --export [email protected] > public_key_sender.asc
gpg -a --export-secret-key [email protected] > private_key_sender.asc
Copy the contents of these files to Bintray at Edit Profile > GPG signing.
Windows users can generate GPG keys using GPG4Win.
There are many tutorials available, for example this one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With