pgsql: Fix pgp_pub_decrypt() so it works for secret keys with passwords - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix pgp_pub_decrypt() so it works for secret keys with passwords
Date
Msg-id E1Uaqn9-0003Vc-3G@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix pgp_pub_decrypt() so it works for secret keys with passwords
Next
From: Tom Lane
Date:
Subject: pgsql: Guard against input_rows == 0 in estimate_num_groups().