Re: crypting prosrc in pg_proc

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Hans-Juergen Schoenig <postgres(at)cybertec(dot)at>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: crypting prosrc in pg_proc
Date: 2007-08-09 13:57:20
Message-ID: 46BB1D40.7040500@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hans-Juergen Schoenig wrote:
> hello everybody,
>
> one of our customers wants to store the code of interpreted procedures
> (PL/pgSQL, PL/Perl) and so in an encrypted way.
> so the idea we had to add one more column to pg_proc telling us
> whether prosrc is encrypted or not. people could chose then whether to
> crypt codes there or not (speed of decryption can be an issue).
>
> should not be hard to implement ...
>
> what do people think about this feature?
>
>

Perhaps you could give us a justification for it. Are you intending to
have stored procs contain security sensitive information? Or is this an
attempt to hide closed source code from prying eyes? Where would the
encryption keys be stored? And how would it work with pg_dump?

This doesn't sound very well thought out, frankly.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hans-Juergen Schoenig 2007-08-09 14:09:11 Re: crypting prosrc in pg_proc
Previous Message hubert depesz lubaczewski 2007-08-09 13:47:48 Re: crypting prosrc in pg_proc