the latest update to Byzantium does not allow me to use apt-key to add a key for a 3rd party repo source, instead requiring to manually create a pgp file. I found the following solution found in this article to work. I needed to install the Atom.io editor,
first I downloaded the key, convert it to binary and store it in the folder
/usr/local/share/keyring which I had to create, in the file
wget -O- https://packagecloud.io/AtomEditor/atom/gpgkey | gpg --dearmor | sudo tee /usr/local/share/keyrings/atom-archive-keyring.gpg
Initially I tried donwloading the key without converting it (
gpg -dearmor), but
apt complained it could not find any public key.
Next I created a new source list file,
echo ‘deb [arch=amd64 signed-by=/usr/local/share/keyrings/atom-archive-keyring.gpg] https://packagecloud.io/AtomEditor/atom/any/ any main’ | sudo tee /etc/apt/sources.list.d/atom.list`
note the configuration attribute
[signed-by=...] pointing to the pgp file created in the previous step.
I hope this helps some other linux-noob like myself!