Re: User functions for building SCRAM secrets

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: User functions for building SCRAM secrets
Дата
Msg-id
ZDjNhaCi01h8J9DX@paquier.xyz
Ответ на
Список
Дерево обсуждения
User functions for building SCRAM secrets "Jonathan S. Katz" <jkatz@postgresql.org>
Re: User functions for building SCRAM secrets Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Re: User functions for building SCRAM secrets "Jonathan S. Katz" <jkatz@postgresql.org>
Re: User functions for building SCRAM secrets Jacob Champion <jchampion@timescale.com>
Re: User functions for building SCRAM secrets Jacob Champion <jchampion@timescale.com>
Re: User functions for building SCRAM secrets Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: User functions for building SCRAM secrets Jacob Champion <jchampion@timescale.com>
Re: User functions for building SCRAM secrets Michael Paquier <michael@paquier.xyz>
Re: User functions for building SCRAM secrets Jacob Champion <jchampion@timescale.com>
Re: User functions for building SCRAM secrets Michael Paquier <michael@paquier.xyz>
Re: User functions for building SCRAM secrets "Jonathan S. Katz" <jkatz@postgresql.org>
Re: User functions for building SCRAM secrets Michael Paquier <michael@paquier.xyz>
Re: User functions for building SCRAM secrets "Jonathan S. Katz" <jkatz@postgresql.org>
Re: User functions for building SCRAM secrets "Jonathan S. Katz" <jkatz@postgresql.org>
Re: User functions for building SCRAM secrets Daniel Gustafsson <daniel@yesql.se>
Re: User functions for building SCRAM secrets Michael Paquier <michael@paquier.xyz>
Re: User functions for building SCRAM secrets "Jonathan S. Katz" <jkatz@postgresql.org>
Re: User functions for building SCRAM secrets Andres Freund <andres@anarazel.de>
Re: User functions for building SCRAM secrets "Jonathan S. Katz" <jkatz@postgresql.org>
Re: User functions for building SCRAM secrets "Jonathan S. Katz" <jkatz@postgresql.org>
Re: User functions for building SCRAM secrets Michael Paquier <michael@paquier.xyz>
Re: User functions for building SCRAM secrets "Jonathan S. Katz" <jkatz@postgresql.org>
Re: User functions for building SCRAM secrets Daniel Gustafsson <daniel@yesql.se>
Re: User functions for building SCRAM secrets Magnus Hagander <magnus@hagander.net>
Re: User functions for building SCRAM secrets Michael Paquier <michael@paquier.xyz>
Re: User functions for building SCRAM secrets Daniel Gustafsson <daniel@yesql.se>
Re: User functions for building SCRAM secrets Michael Paquier <michael@paquier.xyz>
Re: User functions for building SCRAM secrets Daniel Gustafsson <daniel@yesql.se>
Re: User functions for building SCRAM secrets John Naylor <johncnaylorls@gmail.com>
Re: User functions for building SCRAM secrets vignesh C <vignesh21@gmail.com>
On Fri, Apr 14, 2023 at 01:27:46AM +0200, Daniel Gustafsson wrote:
> What would be the intended usecase? I don’t have the RFC handy, does
> it say anything about salt length?

Hmm.  I thought it did, but RFC 5802 has only these two paragraphs:

   If the authentication information is stolen from the authentication
   database, then an offline dictionary or brute-force attack can be
   used to recover the user's password.  The use of salt mitigates this
   attack somewhat by requiring a separate attack on each password.
   Authentication mechanisms that protect against this attack are
   available (e.g., the EKE class of mechanisms).  RFC 2945 [RFC2945] is
   an example of such technology.  The WG elected not to use EKE like
   mechanisms as a basis for SCRAM.

   If an attacker obtains the authentication information from the
   authentication repository and either eavesdrops on one authentication
   exchange or impersonates a server, the attacker gains the ability to
   impersonate that user to all servers providing SCRAM access using the
   same hash function, password, iteration count, and salt.  For this
   reason, it is important to use randomly generated salt values.
--
Michael
В списке pgsql-hackers по дате отправления
От: Laurenz Albe
Дата:
От: Michael Paquier
Дата:
Сообщение: Re: Various typo fixes
FAQ