GnuPG: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
iwu
 
add keyservers
Line 35: Line 35:
</source>
</source>


= Keyservers =
* http://pool.sks-keyservers.net (seems to redirect to somewhere on http protocol)
* http://na.pool.sks-keyservers.net
* https://keyserver.2ndquadrant.com/ (aka http://eu.pool.sks-keyservers.net)
* http://oc.pool.sks-keyservers.net/
* *.pool.sks-keyservers.net: p80, ipv4, ipv6, subset


= Links =
= Links =


* http://irtfweb.ifa.hawaii.edu/~lockhart/gpg/
* http://irtfweb.ifa.hawaii.edu/~lockhart/gpg/

Revision as of 15:19, 12 July 2019

  • Last tested on Ubuntu 16.04.5 LTS + GnuPG 2.1.11 (2018-09-04)

Cookbook

CREATE a new key:

$ gpg --gen-key
gpg (GnuPG) 2.2.4; Copyright (C) 2017 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Note: Use "gpg --full-generate-key" for a full featured key generation dialog.

GnuPG needs to construct a user ID to identify your key.

Real name: Michael Han
Email address: mhan@domain.com
You selected this USER-ID:
    "Michael Han <mhan@domain.com>"

Change (N)ame, (E)mail, or (O)kay/(Q)uit? O
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
...


LIST the keys in the *public key ring*:

$ gpg2 --list-keys


Keyservers

Links