The help.ubuntu.com pages are editable, wiki-style, but lack talk pages, which means problems with the contents have to be brought elsewhere. No clear indications exist, so I ended up here. No forum dedicated to this category that I could find.
Onward to specifics:
On the "Repositories/Ubuntu" page (help.ubuntu.com/community/Repositories/Ubuntu), the "Authentication Tab" section is opaque to the point of unhelpfulness. It reads simply:
"Authentication keys" are usually obtained from the maintainer of the software repository. The maintainer will often place a copy of the authentication key on a public key server such as www.keyserver.net
. The key can then be retrieved using the command:
- gpg --keyserver [name of keyserver] --recv-keys [keyhash]
- In our example above, you would import the maintainer's authentication key as follows:
- gpg --keyserver subkeys.pgp.net --recv-keys 1135D466
- Then, add the key to Ubuntu's apt trusted keys database with the following command
- gpg --export --armor 1135D466 | sudo apt-key add -
First, the "example above" appears non-existent. A jump to an anchor would be needed once the apparently missing example is re-inserted into the text. Second, and foremost, the authentication key hash 1135D466 was obtained how? It is not mentioned anywhere else on the page, and does not appear in any image either. I came to this page precisely to find out how to obtain a repository's key (when it isn't clearly supplied a s a root file). gpg clearly requires a key hash, but how is said key hash obtained? This is not explained at all.