Re: [HACKERS] scram and \password

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] scram and \password
Дата
Msg-id CAB7nPqQobozUtTXHtNAQqeMu_CsQ1Axg6KeL_NrArP7Hu4_NQw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] scram and \password  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
On Thu, Mar 16, 2017 at 6:46 AM, Joe Conway <mail@joeconway.com> wrote:
> On 03/15/2017 08:48 AM, Michael Paquier wrote:
>> I have been hacking my way through this thing, and making
>> scram_build_verifier is requiring a bit more refactoring than I
>> thought first:
>> - stored and server keys are hex-encoded using a backend-only routine.
>> I think that those should be instead base64-encoded using what has
>> already been moved in src/common/.
>
> Or possibly make the hex routines available in the front end as well
> instead?

Yeah, but keeping in mind that src/common/ should be kept as small as
necessary, the base64 switch made more sense (hex_encode is really
small I know).
-- 
Michael



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