View this PageEdit this PageUploads to this PageVersions of this PageHomeRecent ChangesSearchHelp Guide

Secure-apt en debian etch

Según el wiki de debian:

# gpg --keyserver pgpkeys.mit.edu --recv-key 2D230C5F
# gpg -a --export 2D230C5F | sudo apt-key add -

El ejemplo completo de dicha página es el siguiente:
joey@dragon:~>gpg --keyserver pgpkeys.mit.edu --recv-key 2D230C5F
gpg: requesting key 2D230C5F from hkp server pgpkeys.mit.edu
gpg: key 2D230C5F: public key "Debian Archive Automatic Signing Key (2006) <ftpmaster@debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1

You can then export that key from your own keyring and feed it to apt-key: 
joey@dragon:~>gpg -a --export 2D230C5F | sudo apt-key add -
gpg: no ultimately trusted keys found
OK


Método alternativo (siguiendo el howto>http://wiki.debian.org/SecureApt):


  1. Vas a http://ftp-master.debian.org/ y descargas la clave de 2007/etch (http://ftp-master.debian.org/archive-key-4.0.asc):
    # wget http://ftp-master.debian.org/archive-key-4.0.asc
  2. La añades a la lista de claves válidas:
    # cat archive-key-4.0.asc | apt-key add -
Y eso es todo.