Importing PGP keys into APT

Two methods of importing PGP keys into APT. One, for keys as a text file downloaded from vendor server, the second for keys distributed trough kes servers.

Valid for Debian, Ubuntu and any other Linux distribution based on apt packaging system.

One method (e.g. Google Picasa):

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Another method (e.g. DAViCal):

sudo apt-key advanced --keyserver subkeys.pgp.net --recv-keys CCA377BD77494424B0DB674F8C90347F8F068012

No comments: