Hello! I’m doing some updating of our build confi...
# general
n
Hello! I’m doing some updating of our build configuration steps and noticed that
apt-key
is apparently deprecated as of 1JAN2021 (at least on Debian-based hosts). In looking at the Debian install instructions, it is referencing instructions that rely on that. Does anyone have a pointer to how to import the key into a host if you’re trying to avoid using it?
I’ve been trying things out in a docker container, but I’m not sure if they’re equivalent so it’s been giving me trouble:
Copy code
root@1c1e8d08d8dd:/# gpg --recv-keys --no-default-keyring --keyring /etc/apt/trusted.gpg.d/osquery.kbx --keyserver <http://keys.gnupg.net|keys.gnupg.net> 1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B
gpg: failed to create temporary file '/root/.gnupg/.#lk0x00005647d4e49c80.1c1e8d08d8dd.653': No such file or directory
gpg: connecting dirmngr at '/root/.gnupg/S.dirmngr' failed: No such file or directory
gpg: keyserver receive failed: No dirmngr
root@1c1e8d08d8dd:/# apt-get install -y dirmngr
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dirmngr is already the newest version (2.2.27-3ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.