New User? Register here - Existing Users: Username: Password: [Advanced Login]

 

 

Current Poll

Your preferred Interactive shell?









( 1355 votes ~ 14 comments )

 

Weblog entry #3 for mar

Adding secure keys to apt
Posted by mar on Sat 18 Oct 2008 at 18:21

Debian apt repositories use digital keys to sign packages. See http://wiki.debian.org/SecureApt for nasty details, but you may find yourself downloading a software (ie. emacs-snapshot) from semi-official site and you may want to add that repository to sources.list. In that case, a good idea is also to add the distributor's key to apt. Quick guide follows (run as root):

1. See what keys you already trust:

apt-key list

2. Download the key you want to add (keys are stored in files similar to SSL certificates).

3. Add the key to apt:

apt-key add /path/to/downloaded/key_file.pgp

4. Check that the key is now added -- see ad 1.

Of course, you should do this only with keys that you trust, but that is another story.

 

 

 

Flattr