Re: SHA-2 functions - Mailing list pgsql-hackers

From Joe Conway
Subject Re: SHA-2 functions
Date
Msg-id 322589be-b283-880e-e179-a8202360c74d@joeconway.com
Whole thread Raw
In response to SHA-2 functions  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On 02/19/2018 08:43 AM, Peter Eisentraut wrote:
> I also noticed while working on some SSL code that we have perfectly
> good SHA-2 functionality in the server already, but it has no test
> coverage outside the SCRAM tests.
>
> So I suggest these patches that expose the new functions sha224(),
> sha256(), sha384(), sha512().  That allows us to make the SSL and SCRAM
> tests more robust, and it will allow them to be used in general purpose
> contexts over md5().

I didn't look closely at the patch itself, but +1 on the concept.

Joe

--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development


Attachment

pgsql-hackers by date:

Previous
From: Konstantin Knizhnik
Date:
Subject: Re: Contention preventing locking
Next
From: Ildus Kurbangaliev
Date:
Subject: Re: Prefix operator for text and spgist support