Skip to content

Commit cbcc012

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCS-15079 md5 usage in scram sha 1 (#637)
* Docs 15079 md5 usage in scram sha 1 (#612) * DOCS-15079-md5-usage-in-SCRAM-SHA-1 * DOCS-15079-md5-usage-in-SCRAM-SHA-1 * DOCS-15079-md5-usage-in-SCRAM-SHA-1 * DOCS-15079-md5-usage-in-SCRAM-SHA-1 * DOCS-15079-md5-usage-in-SCRAM-SHA-1 * DOCS-15079-md5-usage-in-SCRAM-SHA-1 Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com> * DOCS-15079-md5-usage-in-SCRAM-SHA-1 * DOCS-15079-md5-usage-in-SCRAM-SHA-1 * DOCS-15079-md5-usage-in-SCRAM-SHA-1 Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>
1 parent c14c814 commit cbcc012

File tree

3 files changed

+35
-14
lines changed

3 files changed

+35
-14
lines changed

source/core/security-scram.txt

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,15 @@ MongoDB supports the following SCRAM mechanisms:
8484
To modify the iteration count for ``SCRAM-SHA-256``, see
8585
:parameter:`scramSHA256IterationCount`.
8686

87-
.. versionadded:: 4.0
87+
When you create or update a SCRAM user, you can indicate:
8888

89-
When creating or updating a SCRAM user, you can indicate the specific
90-
SCRAM mechanism as well as indicate whether the server or the client
91-
digests the password. When using ``SCRAM-SHA-256``, MongoDB requires
92-
server-side password hashing, i.e. the server digests the password. For
93-
details, see :method:`db.createUser()` and :method:`db.updateUser()`.
89+
- the SCRAM mechanism to use
90+
- whether the server or the client digests the password
91+
92+
When you use ``SCRAM-SHA-256``, MongoDB requires server-side password
93+
hashing, which means that the server digests the password. For more
94+
information, see :method:`db.createUser()` and
95+
:method:`db.updateUser()`.
9496

9597
Driver Support
9698
--------------
@@ -107,12 +109,16 @@ The minimum driver versions that support ``SCRAM`` are:
107109
Additional Information
108110
----------------------
109111

110-
- `Blog Post: Improved Password-Based Authentication in MongoDB 3.0: SCRAM
111-
Explained (Part 1)
112-
<https://www.mongodb.com/blog/post/improved-password-based-authentication-mong
113-
odb-30-scram-explained-part-1?tck=docs_server>`_
112+
.. include:: /includes/md5-and-scram-sha-1.rst
113+
114+
.. seealso::
115+
116+
- `Blog Post: Improved Password-Based Authentication: SCRAM Explained
117+
(Part 1)
118+
<https://www.mongodb.com/blog/post/improved-password-based-authentication-mong
119+
odb-30-scram-explained-part-1?tck=docs_server>`_
114120

115-
- `Blog Post: Improved Password-Based Authentication in MongoDB 3.0: SCRAM
116-
Explained (Part 2)
117-
<https://www.mongodb.com/blog/post/improved-password-based-authentication-mong
118-
odb-30-scram-explained-part-2?tck=docs_server>`_
121+
- `Blog Post: Improved Password-Based Authentication: SCRAM Explained
122+
(Part 2)
123+
<https://www.mongodb.com/blog/post/improved-password-based-authentication-mong
124+
odb-30-scram-explained-part-2?tck=docs_server>`_
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
If you use :ref:`SCRAM-SHA-1 <authentication-scram-sha-1>`:
2+
3+
- :term:`md5` is necessary but is not used for cryptographic purposes,
4+
and
5+
6+
- if you use :doc:`FIPS mode </tutorial/configure-fips>`, then instead
7+
of :ref:`SCRAM-SHA-1 <authentication-scram-sha-1>` use:
8+
9+
- :ref:`SCRAM-SHA-256 <authentication-scram-sha-256>`,
10+
- :ref:`Kerberos <security-kerberos>`,
11+
- :ref:`LDAP <security-ldap>`, or
12+
- :ref:`x.509 <security-auth-x509>`

source/tutorial/configure-fips.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ command line.
3636
authentication. If you use Kerberos or LDAP authentication, you must
3737
ensure that these external mechanisms are FIPS-compliant.
3838

39+
3940
.. note::
4041

4142
.. include:: /includes/fact-tls-1.0.rst
@@ -240,3 +241,5 @@ Additional Considerations
240241
--------------------------
241242

242243
.. include:: /includes/extracts/4.2-changes-fips.rst
244+
245+
.. include:: /includes/md5-and-scram-sha-1.rst

0 commit comments

Comments
 (0)