Re: Add SQL function for SHA1 - Mailing list pgsql-hackers

From David Fetter
Subject Re: Add SQL function for SHA1
Date
Msg-id 20210126062323.GA2256@fetter.org
Whole thread Raw
In response to Add SQL function for SHA1  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Mon, Jan 25, 2021 at 10:12:28PM +0900, Michael Paquier wrote:
> Hi all,
> 
> SHA-1 is now an option available for cryptohashes, and like the
> existing set of functions of SHA-2, I don't really see a reason why we
> should not have a SQL function for SHA1.  Attached is a patch doing
> that.

Thanks for doing this!

While there are applications SHA1 is no longer good for, there are
plenty where it's still in play. One I use frequently is git. While
there are plans for creating an upgrade path to more cryptographically
secure hashes, it will take some years before repositories have
converted over.

Best,
David.
-- 
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate



pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: logical replication worker accesses catalogs in error context callback
Next
From: Fujii Masao
Date:
Subject: Re: [PATCH] postgres_fdw connection caching - cause remote sessions linger till the local session exit