Re: pgcrypto: Fix RSA password-protected keys - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pgcrypto: Fix RSA password-protected keys
Date
Msg-id 10312.1368204775@sss.pgh.pa.us
Whole thread Raw
In response to pgcrypto: Fix RSA password-protected keys  (Marko Kreen <markokr@gmail.com>)
Responses Re: pgcrypto: Fix RSA password-protected keys
List pgsql-hackers
Marko Kreen <markokr@gmail.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



pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: [PATCH] Make "psql -1 < file.sql" work as with "-f"
Next
From: Greg Stark
Date:
Subject: Re: corrupt pages detected by enabling checksums