Of course, the command line should work which demonstrates why a cheat sheet is necessary with current Ubuntu releases. I once forgot the key id and managed to import my entire keyring with apt-key...
gpg --keyserver keyserver.ubuntu.com --recv-key DEADBEEF gpg --armor --export DEADBEEF | sudo apt-key add -
(or a one liner that doesn't leave the key in the users main keyring if a sane one exists).
Of course, the command line should work which demonstrates why a cheat sheet is necessary with current Ubuntu releases. I once forgot the key id and managed to import my entire keyring with apt-key...
gpg --keyserver keyserver. ubuntu. com --recv-key DEADBEEF
gpg --armor --export DEADBEEF | sudo apt-key add -
(or a one liner that doesn't leave the key in the users main keyring if a sane one exists).