Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To generate a valid signature you can use GnuPG software. After successful installation, type in console:

Code Block
languagebash
titleConsole
gpg --gen-key

Use the default values when you’ll be asked for the type, the size, and the time of validity for the key. After that, you'll need to type your name, email, and comment for the key. Finally, you'll need to provide a passphase to protect your secret key. The passphrase'll be required during the next steps.

If you generate your key pair correctly, you'll be able to list them to console, e.g.:

Code Block
languagebash
titleConsole
gpg --list-keys
C:/Users/kamil.ciecierski/AppData/Roaming/gnupg/pubring.gpg
-----------------------------------------------------------
pub   2048R/80512E13 2013 - 03 - 04
uid                  Kamil Ciecierski (Klucz do Slice) <kamil.ciecierski@cognifide.com>
sub   2048R/D5B6A98C 2013 - 03 - 04

For the above example 80512E13 is id of the key. You need this idkey to distribute your public key to a key server by typing:

Code Block
languagebash
titleConsole
gpg --keyserver hkp://pool.sks-keyservers.net --send-keys 80512E13

It will take some time to propagate your public key on the all server, so don't panic if it won't be available at once. After that other people can import your public key from the key server to their local machines. You can check this by typing in console:

Code Block
languagebash
titleConsole
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 80512E13

...