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

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


Reported-by: Keith Fiske <keith@omniti.com>

--
marko


Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Recovery target 'immediate'
Next
From: Robert Haas
Date:
Subject: Re: [PATCH] add long options to pgbench (submission 1)