Post
Topic
Board Beginners & Help
Re: Simplest way to generate a PGP key???
by
Sutters Mill
on 29/09/2020, 08:50:25 UTC
I just tried this on Ubuntu 18.04... At first, nothing seemed to happen after entering the password, but then after a second or two, I see this:



It's possible that you are missing some libraries that are required for generating the GPG key... it might pay to try creating it on the command line, so you can see any errors generated... open a terminal window and type:
Code:
gpg --gen-key

Then follow the instructions... note that it might take quite a while (as in minutes) once it says:
Quote
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.




I tried that but all I got was the "We need to generate a lot of random bytes" and then nothing :


And the key should be automatically added to the list in the "Passwords and Keys" application as well:


I did manage to get this far before but then how do I use those to encrypt/decrypt messages as there doesn't seem to be any way to do this??? Thanks.