January 2018
Intermediate to advanced
456 pages
12h 49m
English
In the Setting up the host system recipe in this same chapter, you installed the gnupg package in your host machine; if you didn't, you can do so now with:
$ sudo apt-get install gnupg
To generate a key, type the following command:
$ gpg --gen-key
Follow the instructions, keeping the default values. You may need to generate random data with mouse movements and disk activity.
You can check your key with:
$ gpg --list-keys /home/alex/.gnupg/pubring.gpg ----------------------------- pub 2048R/4EF0ECE0 2017-08-13 uid Alex Gonzalez <alex@lindusembedded.com> sub 2048R/298446F3 2017-08-13
The GPG key ID in the previous example is 4EF0ECE0.
And export it with the following command:
$ gpg --output rpm-feed.gpg --export ...
Read now
Unlock full access