chiark / gitweb /
shell-completion: fix completion of localectl set-locale
[elogind.git] / man / crypttab.xml
index fae39e71b0bed06a5eb6410dd605c03f246b78d4..5f386e55f8cb52222582e6f38805c9dc898d520b 100644 (file)
                                 given by the key size.</para></listitem>
                         </varlistentry>
 
+                        <varlistentry>
+                                <term><varname>key-slot=</varname></term>
+
+                                <listitem><para>Specifies the key slot to
+                                compare the passphrase or key against.
+                                If the key slot does not match the given
+                                passphrase or key, but another would, the
+                                setup of the device will fail regardless.
+                                This implies <varname>luks</varname>. See
+                                <citerefentry><refentrytitle>cryptsetup</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+                                for possible values. The default is to try
+                                all key slots in sequential order.</para></listitem>
+                        </varlistentry>
+
                         <varlistentry>
                                 <term><varname>luks</varname></term>
 
 swap       /dev/sda7       /dev/urandom             swap
 truecrypt  /dev/sda2       /etc/container_password  tcrypt
 hidden     /mnt/tc_hidden  /null                    tcrypt-hidden,tcrypt-keyfile=/etc/keyfile</programlisting>
-                        <para>Note that the default hash algorithm is ripemd160. If you use your system
-                        in FIPS mode, please specify supported hash algorithm (e.g.: hash=sha1).</para>
                 </example>
         </refsect1>