Skip to content

Commit 42b689a

Browse files
committed
More forcefully recommend MD5 over crypt authentication.
1 parent 24fa874 commit 42b689a

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

doc/src/sgml/client-auth.sgml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.84 2005/10/24 15:38:36 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.85 2005/10/24 15:49:54 momjian Exp $
33
-->
44

55
<chapter id="client-authentication">
@@ -319,11 +319,16 @@ hostnossl <replaceable>database</replaceable> <replaceable>user</replaceable>
319319
<varlistentry>
320320
<term><literal>crypt</></term>
321321
<listitem>
322+
<note>
323+
<para>
324+
This option is recommended only for communicating with pre-7.2
325+
clients.
326+
</para>
327+
</note>
322328
<para>
323329
Require the client to supply a <function>crypt()</>-encrypted
324330
password for authentication.
325-
<literal>md5</literal> is preferred for 7.2 and later clients,
326-
but pre-7.2 clients only support <literal>crypt</>.
331+
<literal>md5</literal> is now recommended over <literal>crypt</>.
327332
See <xref linkend="auth-password"> for details.
328333
</para>
329334
</listitem>
@@ -589,8 +594,8 @@ local db1,db2,@demodbs all md5
589594
<para>
590595
If you are at all concerned about password
591596
<quote>sniffing</> attacks then <literal>md5</> is preferred, with
592-
<literal>crypt</> a second choice if you must support pre-7.2
593-
clients. Plain <literal>password</> should especially be avoided for
597+
<literal>crypt</> to be used only if you must support pre-7.2
598+
clients. Plain <literal>password</> should be avoided especially for
594599
connections over the open Internet (unless you use <acronym>SSL</acronym>,
595600
<acronym>SSH</>, or another
596601
communications security wrapper around the connection).

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy