apt-key.8.xml 3.8 KB

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