Thread: pgsql: Add functions for dealing with PGP armor header lines to pgcrypt
pgsql: Add functions for dealing with PGP armor header lines to pgcrypt
From
Heikki Linnakangas
Date:
Add functions for dealing with PGP armor header lines to pgcrypto. This add a new pgp_armor_headers function to extract armor headers from an ASCII-armored blob, and a new overloaded variant of the armor function, for constructing an ASCII-armor with extra headers. Marko Tiikkaja and me. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/32984d8fc3dbb90a3fafb69fece0134f1ea790f9 Modified Files -------------- .gitattributes | 1 + contrib/pgcrypto/Makefile | 3 +- contrib/pgcrypto/expected/pgp-armor.out | 268 +++++++++++++++++++++++++++++++ contrib/pgcrypto/pgcrypto--1.1--1.2.sql | 14 ++ contrib/pgcrypto/pgcrypto--1.1.sql | 207 ------------------------ contrib/pgcrypto/pgcrypto--1.2.sql | 217 +++++++++++++++++++++++++ contrib/pgcrypto/pgcrypto.control | 2 +- contrib/pgcrypto/pgp-armor.c | 119 +++++++++++++- contrib/pgcrypto/pgp-pgsql.c | 203 ++++++++++++++++++++++- contrib/pgcrypto/pgp.h | 5 +- contrib/pgcrypto/sql/pgp-armor.sql | 158 ++++++++++++++++++ doc/src/sgml/pgcrypto.sgml | 28 +++- 12 files changed, 1011 insertions(+), 214 deletions(-)