Re: [GENERAL] pgp encryption functions

2009-11-09 Thread Marko Kreen
On 11/7/09, Christian Petzold wrote: > I'm trying to use the pgp_pub_encrypt and pgp_pub_decrypt_bytea functions > to store some data in my db. > > This is how I encrypt: > > INSERT INTO "Test"( >"test") >VALUES (pgp_pub_encrypt('test', dearmor('-BEGIN PGP PUBLIC KEY > BLOCK

Re: [GENERAL] pgp encryption functions

2009-11-07 Thread Martin Gainty
t; Date: Sat, 7 Nov 2009 21:35:15 +0100 > From: c.petz...@gmx.net > To: pgsql-general@postgresql.org > Subject: [GENERAL] pgp encryption functions > > Hello, > I'm trying to use the pgp_pub_encrypt and pgp_pub_decrypt_bytea > functions to store some data i

[GENERAL] pgp encryption functions

2009-11-07 Thread Christian Petzold
Hello, I'm trying to use the pgp_pub_encrypt and pgp_pub_decrypt_bytea functions to store some data in my db. This is how I encrypt: INSERT INTO "Test"( "test") VALUES (pgp_pub_encrypt('test', dearmor('-BEGIN PGP PUBLIC KEY BLOCK- Version: GnuPG v2.0.12 (MingW32) mQENB