우분투 apt-key

GNU_Linux | 2008/10/30 23:38 | dvvb

Ubuntu apt-key

apt-key 키 사용법
Usage: apt-key [command] [arguments]

Manage apt's list of trusted keys

  apt-key add <file>          - add the key contained in <file> ('-' for stdin)
  apt-key del <keyid>        - remove the key <keyid>
  apt-key export <keyid>    - output the key <keyid>
  apt-key exportall             - output all trusted keys
  apt-key update                - update keys using the keyring package
  apt-key net-update          - update keys using the network
  apt-key list                     - list keys



cat sample_key

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.6 (GNU/Linux)
bal~bal~bal~bal~bal~bal~bal~bal~bal~
bal~bal~bal~bal~bal~bal~bal~bal~bal~
bal~bal~bal~bal~bal~bal~bal~bal~bal~
-----END PGP PUBLIC KEY BLOCK-----

키 추가
sudo apt-key add sample_key

sudo apt-key list
/etc/apt/trusted.gpg
--------------------
pub   1024D/437D05B5 2004-09-12
uid                  Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
sub   2048g/79164387 2004-09-12

pub   1024D/FBB75451 2004-12-30
uid                  Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>

pub   1024D/023DDE46 2007-10-21
uid                  Sample (sample key for signing repositories) <info@localhost>
sub   2048g/B5D4F05E 2007-10-21

키 지우기
sudo apt-key del 023DDE46
OK

 sudo apt-key list
/etc/apt/trusted.gpg
--------------------
pub   1024D/437D05B5 2004-09-12
uid                  Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
sub   2048g/79164387 2004-09-12

pub   1024D/FBB75451 2004-12-30
uid                  Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>



트랙백 주소 :: http://dvvb.org/23/trackback/
이전 1 2 3 4 5 6 7 8 ... 19 다음