Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

  • By providing complete access control with granular permissions, deployment flexibility, mapped drive support, and ability to transfer large files, Egnyte...
    Download

  • According to Morgan Stanley Research, the smart phone became the dominant computing platform by the end of 2013, with more units being sold than desktop...
    Download

More on LinuxToday


Basic apt key management

Sep 30, 2009, 12:33 (0 Talkback[s])
(Other stories by jhansonxi)

[ Thanks to jhansonxi for this link. ]

"The "--no-default-keyring" and "--keyring" tells gpg to use only the specified apt trusted keyring. Next, find the key you want to export from the list and specify either the key ID or user ID with the following command:
 gpg --no-default-keyring --keyring /etc/apt
/trusted.gpg --armor --export A1F196A8>pidgin.gpg

"The "--armor" tells gpg to output an encoded text key instead of binary one. The Pidgin package signing key ID is A1F196A8 and it is captured to a "pidgin.gpg" file in the current directory. Then you copy the key file to your other systems and add it to their apt keyrings using either Synaptic (Settings > Repositories > Authentication > Import Key File) or the apt-key command in a terminal:"

Complete Story

Related Stories: