]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man/systemd-cryptenroll: sort --fido2-credential-algorithm after --fido2-device
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Wed, 11 Dec 2024 06:32:04 +0000 (07:32 +0100)
committerAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Wed, 11 Dec 2024 06:32:04 +0000 (07:32 +0100)
And also fix a typo.

man/systemd-cryptenroll.xml

index 83f8b2d8a181600a56af561c950192559abe6a9a..f3c23adfd03082f7592e35d5c907b5370ec27604 100644 (file)
   <refsect1>
     <title>FIDO2 Enrollment</title>
 
-    <para>The following options are understood that may be used to enroll PKCS#11 tokens:</para>
+    <para>The following options are understood that may be used to enroll FIDO2 tokens:</para>
 
     <variablelist>
-      <varlistentry>
-        <term><option>--fido2-credential-algorithm=<replaceable>STRING</replaceable></option></term>
-        <listitem><para>Specify COSE algorithm used in credential generation. The default value is
-        <literal>es256</literal>. Supported values are <literal>es256</literal>, <literal>rs256</literal>
-        and <literal>eddsa</literal>.</para>
-
-        <para><literal>es256</literal> denotes ECDSA over NIST P-256 with SHA-256. <literal>rs256</literal>
-        denotes 2048-bit RSA with PKCS#1.5 padding and SHA-256. <literal>eddsa</literal> denotes
-        EDDSA over Curve25519 with SHA-512.</para>
-
-        <para>Note that your authenticator may choose not to support some algorithms.</para>
-
-        <xi:include href="version-info.xml" xpointer="v251"/></listitem>
-      </varlistentry>
-
       <varlistentry>
         <term><option>--fido2-device=<replaceable>PATH</replaceable></option></term>
 
         <xi:include href="version-info.xml" xpointer="v248"/></listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term><option>--fido2-credential-algorithm=<replaceable>STRING</replaceable></option></term>
+        <listitem><para>Specify COSE algorithm used in credential generation. The default value is
+        <literal>es256</literal>. Supported values are <literal>es256</literal>, <literal>rs256</literal>
+        and <literal>eddsa</literal>.</para>
+
+        <para><literal>es256</literal> denotes ECDSA over NIST P-256 with SHA-256. <literal>rs256</literal>
+        denotes 2048-bit RSA with PKCS#1.5 padding and SHA-256. <literal>eddsa</literal> denotes
+        EDDSA over Curve25519 with SHA-512.</para>
+
+        <para>Note that your authenticator may choose not to support some algorithms.</para>
+
+        <xi:include href="version-info.xml" xpointer="v251"/></listitem>
+      </varlistentry>
+
       <varlistentry>
         <term><option>--fido2-salt-file=<replaceable>PATH</replaceable></option></term>