pgsql: Add functions for dealing with PGP armor header lines to pgcrypt

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add functions for dealing with PGP armor header lines to pgcrypt
Date: 2014-10-01 13:05:42
Message-ID: E1XZJbC-0003wg-2D@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2014-10-01 13:34:11 pgsql: Block signals while computing the sleep time in postmaster's mai
Previous Message Andres Freund 2014-10-01 11:33:54 pgsql: Improve documentation about binary/textual output mode for outpu