Re: [PATCH] Add CHECK_FOR_INTERRUPTS in scram_SaltedPassword loop.

Поиск
Список
Период
Сортировка
От Bowen Shi
Тема Re: [PATCH] Add CHECK_FOR_INTERRUPTS in scram_SaltedPassword loop.
Дата
Msg-id CAM_vCufzLucPevjOC90cVD_AsPtpPHRLY2w+Zm985B-6JHxz1w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Add CHECK_FOR_INTERRUPTS in scram_SaltedPassword loop.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCH] Add CHECK_FOR_INTERRUPTS in scram_SaltedPassword loop.  (Aleksander Alekseev <aleksander@timescale.com>)
Список pgsql-hackers
> I don't think it would be useful to limit this at an arbitrary point, iteration
> count can be set per password and if someone wants a specific password to be
> super-hard to brute force then why should we limit that?
I agree with that. Maybe some users do want a super-hard password.
RFC 7677 and RFC 5802 don't specify the maximum number of iterations.

> If we want to add CHECK_FOR_INTERRUPTS inside the loop I think a brief
> comment would be appropriate.

This has been completed in patch v2 and it's ready for review.

Regards
Bowen Shi
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ray Eldath
Дата:
Сообщение: Re: Adding a clang-format file
Следующее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Lockless exit path for ReplicationOriginExitCleanup