apt-key.8.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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" [
  4. <!ENTITY % aptent SYSTEM "apt.ent">
  5. %aptent;
  6. ]>
  7. <refentry>
  8. &apt-docinfo;
  9. <refmeta>
  10. <refentrytitle>apt-key</refentrytitle>
  11. <manvolnum>8</manvolnum>
  12. <refmiscinfo class="manual">APT</refmiscinfo>
  13. </refmeta>
  14. <!-- Man page title -->
  15. <refnamediv>
  16. <refname>apt-key</refname>
  17. <refpurpose>APT key management utility</refpurpose>
  18. </refnamediv>
  19. <!-- Arguments -->
  20. <refsynopsisdiv>
  21. <cmdsynopsis>
  22. <command>apt-key</command>
  23. <arg><replaceable>command</replaceable>/</arg>
  24. <arg rep="repeat"><option><replaceable>arguments</replaceable></option></arg>
  25. </cmdsynopsis>
  26. </refsynopsisdiv>
  27. <refsect1><title>Description</title>
  28. <para>
  29. <command>apt-key</command> is used to manage the list of keys used
  30. by apt to authenticate packages. Packages which have been
  31. authenticated using these keys will be considered trusted.
  32. </para>
  33. </refsect1>
  34. <refsect1><title>Commands</title>
  35. <variablelist>
  36. <varlistentry><term>add <replaceable>filename</replaceable></term>
  37. <listitem>
  38. <para>
  39. Add a new key to the list of trusted keys. The key is read
  40. from <replaceable>filename</replaceable>, or standard input if
  41. <replaceable>filename</replaceable> is <literal>-</literal>.
  42. </para>
  43. </listitem>
  44. </varlistentry>
  45. <varlistentry><term>del <replaceable>keyid</replaceable></term>
  46. <listitem>
  47. <para>
  48. Remove a key from the list of trusted keys.
  49. </para>
  50. </listitem>
  51. </varlistentry>
  52. <varlistentry><term>export <replaceable>keyid</replaceable></term>
  53. <listitem>
  54. <para>
  55. Output the key <replaceable>keyid</replaceable> to standard output.
  56. </para>
  57. </listitem>
  58. </varlistentry>
  59. <varlistentry><term>exportall</term>
  60. <listitem>
  61. <para>
  62. Output all trusted keys to standard output.
  63. </para>
  64. </listitem>
  65. </varlistentry>
  66. <varlistentry><term>list</term>
  67. <listitem>
  68. <para>
  69. List trusted keys.
  70. </para>
  71. </listitem>
  72. </varlistentry>
  73. <varlistentry><term>finger</term>
  74. <listitem>
  75. <para>
  76. List fingerprints of trusted keys.
  77. </para>
  78. </listitem>
  79. </varlistentry>
  80. <varlistentry><term>adv</term>
  81. <listitem>
  82. <para>
  83. Pass advanced options to gpg. With adv --recv-key you can download the
  84. public key.
  85. </para>
  86. </listitem>
  87. </varlistentry>
  88. <varlistentry><term>update</term>
  89. <listitem>
  90. <para>
  91. Update the local keyring with the keyring of Debian archive
  92. keys and removes from the keyring the archive keys which are no
  93. longer valid.
  94. </para>
  95. </listitem>
  96. </varlistentry>
  97. </variablelist>
  98. </refsect1>
  99. <refsect1><title>Files</title>
  100. <variablelist>
  101. <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>
  102. <listitem><para>Keyring of local trusted keys, new keys will be added here.</para></listitem>
  103. </varlistentry>
  104. <varlistentry><term><filename>/etc/apt/trustdb.gpg</filename></term>
  105. <listitem><para>Local trust database of archive keys.</para></listitem>
  106. </varlistentry>
  107. <varlistentry><term><filename>/usr/share/keyrings/debian-archive-keyring.gpg</filename></term>
  108. <listitem><para>Keyring of Debian archive trusted keys.</para></listitem>
  109. </varlistentry>
  110. <varlistentry><term><filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename></term>
  111. <listitem><para>Keyring of Debian archive removed trusted keys.</para></listitem>
  112. </varlistentry>
  113. </variablelist>
  114. </refsect1>
  115. <refsect1><title>See Also</title>
  116. <para>
  117. &apt-get;, &apt-secure;
  118. </para>
  119. </refsect1>
  120. &manbugs;
  121. &manauthor;
  122. </refentry>