Re: database file encryption.

Поиск
Список
Период
Сортировка
От nrdb
Тема Re: database file encryption.
Дата
Msg-id 4EA36FC5.8020905@butterflystitches.com.au
обсуждение исходный текст
Ответ на Re: database file encryption.  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
On 10/23/2011 06:39 AM, Joshua D. Drake wrote:
>
> On 10/22/2011 11:39 AM, nrdb wrote:
>
>>> Are you willing to submit a patch for people to review? I am not sure
>>> if the community would want this as backend code or not but it is
>>> definitely something to discuss.
>>>
>>
>> Yes! but I don't know what the procedure is to do that.
>
> http://wiki.postgresql.org/wiki/Submitting_a_Patch

I will submit the patch in a few days when I have cleaned it up some 
more.  Basically it patches the FileRead() and FileWrite() in fd.c to 
do the encryption and decryption.

>
>>>
>>> Others might have different ideas.
>>
>> I thought one way would be to pass the name of a named pipe in with a
>> command argument and then have some program that asks the user for the
>> password and writes it to the named pipe.
>
> Any patch you submit will be subject to quite a bit of discussion so
> be prepared for that. Also it will have to be portable to Windows.
>

I have no idea on making it portable to Windows, I very rarely use it 
and know nothing about coding on it.  The only problem will be in the 
actual encryption/decryption functions, and the key setup.

> JD
>



В списке pgsql-hackers по дате отправления:

Предыдущее
От: nrdb
Дата:
Сообщение: Re: database file encryption.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: synchronized snapshots