Title
#general
c

Clement

03/26/2020, 2:58 PM
Hi, Just wondering, as I tried the "Install apt repository" method listed on page https://osquery.io/downloads/official/4.2.0, has anyone encountered issues downloading the key for osquery APT repository?
$ sudo apt-key adv --keyserver <http://keyserver.ubuntu.com|keyserver.ubuntu.com> --recv-keys 1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B
Executing: /tmp/apt-key-gpghome.Vw0k9xPaOV/gpg.1.sh --keyserver <http://keyserver.ubuntu.com|keyserver.ubuntu.com> --recv-keys 1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B
gpg: keyserver receive failed: Connection timed out
s

seph

03/26/2020, 3:20 PM
That's a timeout error to the key server, that's not infrastructure we own.
c

Clement

03/26/2020, 4:43 PM
Hi Seph, Thanks for your reply. Found the cause: gpg's dirmngr was trying to connect to the keyserver on port 11371 with HTTP scheme. I changed the command from:
sudo apt-key adv --keyserver <http://keyserver.ubuntu.com|keyserver.ubuntu.com> --recv-keys 1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B
to:
sudo apt-key adv --keyserver "<hkp://keyserver.ubuntu.com:80>" --recv-keys 1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B
The former command seems to work with ancient versions of gpg; the latter works with gpg v2.2.4.
s

seph

03/26/2020, 4:45 PM
So we should updat ethe docs? Want to either submit a PR or issue?
c

Clement

03/26/2020, 4:46 PM
if you direct me to the repo, i can submit a PR
s

seph

03/26/2020, 4:46 PM
Where did you find those instructions?
4:47 PM
in Alternative Install Options
4:47 PM
select "Debian Linux"
4:48 PM
is the source for the website available in a repo?
c

Clement

03/26/2020, 4:50 PM
yes it seems
4:50 PM
thanks