Re: pgcrypto: Fix RSA password-protected keys

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marko Kreen <markokr(at)gmail(dot)com>
Cc: Postgres Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgcrypto: Fix RSA password-protected keys
Date: 2013-05-10 16:52:55
Message-ID: 10312.1368204775@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Marko Kreen <markokr(at)gmail(dot)com> writes:
> RSA secret key extraction code uses wrong variable so
> that decryption is skipped and only secret keys without
> password work for pgp_pub_decrypt().

> Attached patch fixes it and also adds regtest.

> Please apply to all branches.

Will do, thanks for the fix!

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2013-05-10 16:54:00 Re: corrupt pages detected by enabling checksums
Previous Message Fabien COELHO 2013-05-10 16:40:32 Re: [PATCH] Make "psql -1 < file.sql" work as with "-f"