1 <?xml version=
"1.0" encoding=
"utf-8" standalone=
"no"?>
2 <!DOCTYPE refentry PUBLIC
"-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
5 <!ENTITY % aptent SYSTEM
"apt.ent">
14 <refentrytitle>apt-key
</refentrytitle>
15 <manvolnum>8</manvolnum>
18 <!-- Man page title -->
20 <refname>apt-key
</refname>
21 <refpurpose>APT key management utility
</refpurpose>
27 <command>apt-key
</command>
28 <arg><replaceable>command
</replaceable>/
</arg>
29 <arg rep=
"repeat"><option><replaceable>arguments
</replaceable></option></arg>
33 <refsect1><title>Description
</title>
35 <command>apt-key
</command> is used to manage the list of keys used
36 by apt to authenticate packages. Packages which have been
37 authenticated using these keys will be considered trusted.
41 <refsect1><title>Commands
</title>
43 <varlistentry><term>add
<replaceable>filename
</replaceable></term>
47 Add a new key to the list of trusted keys. The key is read
48 from
<replaceable>filename
</replaceable>, or standard input if
49 <replaceable>filename
</replaceable> is
<literal>-
</literal>.
55 <varlistentry><term>del
<replaceable>keyid
</replaceable></term>
59 Remove a key from the list of trusted keys.
66 <varlistentry><term>export
<replaceable>keyid
</replaceable></term>
70 Output the key
<replaceable>keyid
</replaceable> to standard output.
77 <varlistentry><term>exportall
</term>
81 Output all trusted keys to standard output.
88 <varlistentry><term>list
</term>
99 <varlistentry><term>update
</term>
103 Update the local keyring with the keyring of Debian archive
104 keys and removes from the keyring the archive keys which are no
114 <refsect1><title>Files
</title>
116 <varlistentry><term><filename>/etc/apt/trusted.gpg
</filename></term>
117 <listitem><para>Keyring of local trusted keys, new keys will be added here.
</para></listitem>
120 <varlistentry><term><filename>/etc/apt/trustdb.gpg
</filename></term>
121 <listitem><para>Local trust database of archive keys.
</para></listitem>
124 <varlistentry><term><filename>/usr/share/keyrings/debian-archive-keyring.gpg
</filename></term>
125 <listitem><para>Keyring of Debian archive trusted keys.
</para></listitem>
128 <varlistentry><term><filename>/usr/share/keyrings/debian-archive-removed-keys.gpg
</filename></term>
129 <listitem><para>Keyring of Debian archive removed trusted keys.
</para></listitem>
138 <refsect1><title>See Also
</title>
140 &apt-get;, &apt-secure;