Skip to content

Commit

Permalink
auth: docs - removed trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 13, 2023
1 parent a8e23f7 commit 39ac631
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 77 deletions.
18 changes: 9 additions & 9 deletions src/modules/auth/auth.xml
Expand Up @@ -178,7 +178,7 @@
rounded down to 524288. The
<serdoc:modparam module="auth">nc_array_order</serdoc:modparam>
parameter can be used to directly specify the power of 2. For
instance, a value for
instance, a value for
<serdoc:modparam module="auth">nc_array_order</serdoc:modparam>
of 20 is equivalent to a <parameter>nc_array_size</parameter>
of 1048576.
Expand Down Expand Up @@ -353,15 +353,15 @@
time in seconds before a nonce is considered stale.
</para>
<para>
Nonces have a limited lifetime after which they
Nonces have a limited lifetime after which they
will be considered stale.
This is to protect replay attacks. Credentials containing a stale
nonce will be not authorized. The user agent will be challenged
again instead. This new challenge will not only contain a newly
generated nonce, but also the <parameter>stale</parameter>
parameter which indicates to the client the failure was not due
to a wrong username or password and it doesn't need to disturb
the user asking for them. It can simply recalculate its answer
the user asking for them. It can simply recalculate its answer
using existing username and password.
</para>
</refsect2>
Expand Down Expand Up @@ -499,7 +499,7 @@
contains the name of the header field that should be used to
include the proxy-to-user challenge.
</para>
</refsect2>
</refsect2>

<refsect2 xml:id="module.auth.qop">
<title><parameter>qop</parameter></title>
Expand Down Expand Up @@ -597,15 +597,15 @@
When the extra checks are enabled, the nonce will include and extra
MD5 hash over some selected parts of the message and another secret.
This will be used to check if these parts of the message are the same
when a UA retries the request with the authentication response, thus
when a UA retries the request with the authentication response, thus
protecting from replay attacks or at least severely limiting their
possibility.
</para>
<para>
Three module parameters control which parts of the message will be
included for different types of requests. The parameter
<parameter>auth_checks_register</parameter> sets them for REGISTER
requests. The parameter <parameter>auth_checks_no_dlg</parameter>
requests. The parameter <parameter>auth_checks_no_dlg</parameter>
does the same for requests that to not have a
<parameter>tag</parameter> parameter in the To header field or have
no To header field altogether (in other words requests sent outside
Expand Down Expand Up @@ -655,7 +655,7 @@
</listitem>
</varlistentry>
</variablelist>
<para>
<para>
For example, setting <parameter>auth_checks_register</parameter> to
<literal>6</literal> would check if the Call-ID or the From tag
have changed from the REGISTER message for which the nonce was
Expand All @@ -668,10 +668,10 @@
When the <parameter>secret</parameter> parameter is set and the
extra checks are enabled, the first half of the secret will be used
for the expire time hash and the other half for the hash on the
extra checks, so make sure you have a long secret. At least 32
extra checks, so make sure you have a long secret. At least 32
characterss are recommended.
</para>
</refsect1>
</refsect1>

<refsect1>
<title>See Also</title>
Expand Down
2 changes: 1 addition & 1 deletion src/modules/auth/doc/auth.xml
Expand Up @@ -76,7 +76,7 @@
</itemizedlist>
</para>
</section>

<xi:include href="auth_params.xml"/>
<xi:include href="auth_functions.xml"/>

Expand Down

0 comments on commit 39ac631

Please sign in to comment.