pgcrypto question

From: Erik Aronesty <earonesty(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: pgcrypto question
Date: 2019-10-07 16:05:16
Message-ID: CAJowKgKYktmF2kJVeL2YRbC62+92tFgucCJ1HD4rM05ntFW30Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Currently, it is my understanding that the pgcrypto library requires
the user to send a password or private key up to the server for
decryption.

Is there a notion of a client-side encrypt/decrypt plugin when doing a
postgres query?

For example, a user could query postgres, get back data of type
"encrypted", and a "libpq" plugin could decode/decrypt those columns
that are of data type "encrypted".... in a manner transparent to the
user of the client....

Obviously I could write this by intercepting the relevant libpq calls
using LD_PRELOAD or Microsoft's "Detours" ... but it there a better
way to do that?

- Erik

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2019-10-07 17:40:32 Re: PMChildFlags array
Previous Message Wim Bertels 2019-10-07 15:49:49 Re: RowDescription message