Generating GPG keys
First, we need to install GPG on the BBB. It is mostly likely already installed, but you can check and install it with the following command:
sudo apt-get install gnupg gnupg-curl
Next, we need to add a secret key. For those that already have a secret key, you can import your secret key ring, secring.gpg
, to your ~/.gnupg
folder. For those that want to create a new key, on the BBB, proceed to the upcoming section.
Note
This project assumes some familiarity with GPG. If GPG is new to you, the Free Software Foundation maintains the Email Self-Defense guide which is a very approachable introduction to the software and can be found at https://emailselfdefense.fsf.org/en/index.html.
Generating entropy
If you decided to create a new key on the BBB, there are a few technicalities we must consider. First of all, GPG will need a lot of random data to generate the keys. The amount of random data available in the kernel is proportional to the amount of entropy that is available. You...