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>list
</term>
77 <varlistentry><term>update
</term>
81 Update the local keyring with the keyring of Debian archive
82 keys and removes from the keyring the archive keys which are no
92 <refsect1><title>Files
</title>
94 <varlistentry><term><filename>/etc/apt/trusted.gpg
</filename></term>
95 <listitem><para>Keyring of local trusted keys, new keys will be added here.
</para></listitem>
98 <varlistentry><term><filename>/etc/apt/trustdb.gpg
</filename></term>
99 <listitem><para>Local trust database of archive keys.
</para></listitem>
102 <varlistentry><term><filename>/usr/share/keyrings/debian-archive-keyring.gpg
</filename></term>
103 <listitem><para>Keyring of Debian archive trusted keys.
</para></listitem>
106 <varlistentry><term><filename>/usr/share/keyrings/debian-archive-removed-keys.gpg
</filename></term>
107 <listitem><para>Keyring of Debian archive removed trusted keys.
</para></listitem>
116 <refsect1><title>See Also
</title>
118 &apt-get;, &apt-secure;