diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-09-23 15:05:04 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-09-23 15:05:04 +0000 |
commit | bb6b1a38b6922a3c5b783bdd3e48c08fc73bc838 (patch) | |
tree | f3a322b0bfdb71913822193609b9ee1024e6e1d9 | |
parent | e6bae1c3d3007a6b468bed344f781a1455054735 (diff) | |
download | postgresql-bb6b1a38b6922a3c5b783bdd3e48c08fc73bc838.tar.gz postgresql-bb6b1a38b6922a3c5b783bdd3e48c08fc73bc838.zip |
Document that chkpass ignores password characters after the eighth.
-rw-r--r-- | contrib/chkpass/README.chkpass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/chkpass/README.chkpass b/contrib/chkpass/README.chkpass index 1dd3347c1ff..41ae3ce7be1 100644 --- a/contrib/chkpass/README.chkpass +++ b/contrib/chkpass/README.chkpass @@ -1,4 +1,4 @@ -$PostgreSQL: pgsql/contrib/chkpass/README.chkpass,v 1.2 2003/11/29 19:51:19 pgsql Exp $ +$PostgreSQL: pgsql/contrib/chkpass/README.chkpass,v 1.3 2005/09/23 15:05:04 tgl Exp $ Chkpass is a password type that is automatically checked and converted upon entry. It is stored encrypted. To compare, simply compare agains a clear @@ -17,6 +17,10 @@ passwords without re-encrypting them. If you want the password (encrypted) without the colon then use the raw() function. This allows you to use the type with things like Apache's Auth_PostgreSQL module. +The encryption uses the standard Unix function crypt(), and so it suffers +from all the usual limitations of that function; notably that only the +first eight characters of a password are considered. + D'Arcy J.M. Cain darcy@druid.net |