pgsql: Fix pgp_pub_decrypt() so it works for secret keys with passwords

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix pgp_pub_decrypt() so it works for secret keys with passwords
Date: 2013-05-10 17:07:35
Message-ID: E1Uaqn9-0003Vc-3G@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix pgp_pub_decrypt() so it works for secret keys with passwords.

Per report from Keith Fiske.

Marko Kreen

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a184461aa750ca7d63c126774d2d24ec207645b5

Modified Files
--------------
contrib/pgcrypto/expected/pgp-pubkey-decrypt.out | 76 ++++++++++++++++++++++
contrib/pgcrypto/pgp-pubkey.c | 8 +-
contrib/pgcrypto/sql/pgp-pubkey-decrypt.sql | 73 +++++++++++++++++++++
3 files changed, 153 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-05-10 21:16:30 pgsql: Guard against input_rows == 0 in estimate_num_groups().
Previous Message Tom Lane 2013-05-10 03:09:13 pgsql: Fix management of fn_extra caching during repeated GiST index sc