vendors.list.5.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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>vendors.list</refentrytitle>
  11. <manvolnum>5</manvolnum>
  12. </refmeta>
  13. <!-- Man page title -->
  14. <refnamediv>
  15. <refname>vendors.list</refname>
  16. <refpurpose>Security key configuration for APT</refpurpose>
  17. </refnamediv>
  18. <refsect1><title>Description</title>
  19. <para>The package vendor list contains a list of all vendors
  20. from whom you wish to authenticate downloaded packages.
  21. For each vendor listed, it must contain the corresponding
  22. PGP key fingerprint, so that APT can perform signature
  23. verification of the release file and subsequent checking
  24. of the checksums of each downloaded package.
  25. To have authentication enabled, you must add the
  26. vendor identification string (see below) enclosed in
  27. square braces to the sources.list line for all sites that mirror
  28. the repository provided by that vendor.</para>
  29. <para>The format of this file is similar to the one used by
  30. apt.conf. It consists of an arbitrary number of blocks of
  31. vendors, where each block starts with a string telling the
  32. <replaceable>key_type</replaceable> and the
  33. <replaceable>vendor_id</replaceable></para>
  34. <para>Some vendors may have multiple blocks that define different
  35. security policies for their distributions. Debian for instance
  36. uses a different signing methodology for stable and unstable releases.</para>
  37. <para><replaceable>key_type</replaceable> is the type of the check required.
  38. Currently, there is only one type available which is
  39. <literal>simple-key</literal>.</para>
  40. <para><replaceable>vendor_id</replaceable> is the vendor identification
  41. string. It is an arbitrary string you must supply to uniquely identifify a
  42. vendor that's listed in this file.
  43. Example:
  44. </para>
  45. <informalexample><programlisting>
  46. simple-key "joe"
  47. {
  48. Fingerprint "0987AB4378FSD872343298787ACC";
  49. Name "Joe Shmoe &lt;joe@shmoe.com&gt;";
  50. }
  51. </programlisting></informalexample>
  52. </refsect1>
  53. <refsect1><title>The simple-key type</title>
  54. <para>This type of verification is used when the vendor has a single
  55. secured key that must be used to sign the Release file. The
  56. following items should be present</para>
  57. <variablelist>
  58. <varlistentry><term>Fingerprint</term>
  59. <listitem><para>
  60. The PGP fingerprint for the key. The fingerprint should be
  61. expressed in the standard notion with or without spaces.
  62. The <option>--fingerprint</option> option for
  63. <citerefentry><refentrytitle><command>gpg</command></refentrytitle><manvolnum>1</manvolnum></citerefentry>
  64. will show the fingerprint for the selected keys(s).
  65. </para>
  66. </listitem>
  67. </varlistentry>
  68. <varlistentry><term>Name</term>
  69. <listitem><para>
  70. A string containing a description of the owner of
  71. the key or vendor. You may put the vendor name and it's
  72. email. The string must be quoted with ".
  73. </para>
  74. </listitem>
  75. </varlistentry>
  76. </variablelist>
  77. </refsect1>
  78. <refsect1><title>Files</title>
  79. <para><filename>/etc/apt/vendors.list</filename></para>
  80. </refsect1>
  81. <refsect1><title>See Also</title>
  82. <para>
  83. &sources-list;
  84. </para>
  85. </refsect1>
  86. &manbugs;
  87. &manauthor;
  88. </refentry>