You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
184 lines
4.5 KiB
184 lines
4.5 KiB
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
|
|
|
|
<!ENTITY % aptent SYSTEM "apt.ent">
|
|
%aptent;
|
|
|
|
]>
|
|
|
|
<refentry>
|
|
&apt-docinfo;
|
|
|
|
<refmeta>
|
|
<refentrytitle>apt-key</refentrytitle>
|
|
<manvolnum>8</manvolnum>
|
|
<refmiscinfo class="manual">APT</refmiscinfo>
|
|
</refmeta>
|
|
|
|
<!-- Man page title -->
|
|
<refnamediv>
|
|
<refname>apt-key</refname>
|
|
<refpurpose>APT key management utility</refpurpose>
|
|
</refnamediv>
|
|
|
|
<!-- Arguments -->
|
|
<refsynopsisdiv>
|
|
<cmdsynopsis>
|
|
<command>apt-key</command>
|
|
<arg><option>--keyring <replaceable>filename</replaceable></option></arg>
|
|
<arg><replaceable>command</replaceable></arg>
|
|
<arg rep="repeat"><option><replaceable>arguments</replaceable></option></arg>
|
|
</cmdsynopsis>
|
|
</refsynopsisdiv>
|
|
|
|
<refsect1><title>Description</title>
|
|
<para>
|
|
<command>apt-key</command> is used to manage the list of keys used
|
|
by apt to authenticate packages. Packages which have been
|
|
authenticated using these keys will be considered trusted.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1><title>Commands</title>
|
|
<variablelist>
|
|
<varlistentry><term>add <replaceable>filename</replaceable></term>
|
|
<listitem>
|
|
<para>
|
|
|
|
Add a new key to the list of trusted keys. The key is read
|
|
from <replaceable>filename</replaceable>, or standard input if
|
|
<replaceable>filename</replaceable> is <literal>-</literal>.
|
|
</para>
|
|
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry><term>del <replaceable>keyid</replaceable></term>
|
|
<listitem>
|
|
<para>
|
|
|
|
Remove a key from the list of trusted keys.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry><term>export <replaceable>keyid</replaceable></term>
|
|
<listitem>
|
|
<para>
|
|
|
|
Output the key <replaceable>keyid</replaceable> to standard output.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry><term>exportall</term>
|
|
<listitem>
|
|
<para>
|
|
|
|
Output all trusted keys to standard output.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry><term>list</term>
|
|
<listitem>
|
|
<para>
|
|
|
|
List trusted keys.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry><term>finger</term>
|
|
<listitem>
|
|
<para>
|
|
|
|
List fingerprints of trusted keys.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry><term>adv</term>
|
|
<listitem>
|
|
<para>
|
|
|
|
Pass advanced options to gpg. With adv --recv-key you can download the
|
|
public key.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry><term>update</term>
|
|
<listitem>
|
|
<para>
|
|
|
|
Update the local keyring with the keyring of Debian archive
|
|
keys and removes from the keyring the archive keys which are no
|
|
longer valid.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</refsect1>
|
|
|
|
<refsect1><title>Options</title>
|
|
<para>Note that options need to be defined before the commands described in the previous section.</para>
|
|
<variablelist>
|
|
<varlistentry><term>--keyring <replaceable>filename</replaceable></term>
|
|
<listitem><para>With this option it is possible to specify a specific keyring
|
|
file the command should operate on. The default is that a command is executed
|
|
on the <filename>trusted.gpg</filename> file as well as on all parts in the
|
|
<filename>trusted.gpg.d</filename> directory, through <filename>trusted.gpg</filename>
|
|
is the primary keyring which means that e.g. new keys are added to this one.
|
|
</para></listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</refsect1>
|
|
|
|
<refsect1><title>Files</title>
|
|
<variablelist>
|
|
|
|
&file-trustedgpg;
|
|
|
|
<varlistentry><term><filename>/etc/apt/trustdb.gpg</filename></term>
|
|
<listitem><para>Local trust database of archive keys.</para></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry><term><filename>/usr/share/keyrings/debian-archive-keyring.gpg</filename></term>
|
|
<listitem><para>Keyring of Debian archive trusted keys.</para></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry><term><filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename></term>
|
|
<listitem><para>Keyring of Debian archive removed trusted keys.</para></listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1><title>See Also</title>
|
|
<para>
|
|
&apt-get;, &apt-secure;
|
|
</para>
|
|
</refsect1>
|
|
|
|
&manbugs;
|
|
&manauthor;
|
|
|
|
</refentry>
|
|
|
|
|