Skip to content

Repositories

apt

Security

Readings:

To configure a GPG public key to be trusted by apt:

  1. Download public key from web
  2. Import to GPG
    Text Only
    gpg --import /tmp/key.pub
    
  3. Export the key in binary format:
    Text Only
    gpg --export $KEY_ID > /etc/apt/trusted.gpg.d/key_name.gpg