pgsql: Allow SSL server key file to have group read access if owned by

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Allow SSL server key file to have group read access if owned by
Дата
Msg-id E1ahEIL-0005t3-B0@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Allow SSL server key file to have group read access if owned by root

We used to require the server key file to have permissions 0600 or less
for best security.  But some systems (such as Debian) have certificate
and key files managed by the operating system that can be shared with
other services.  In those cases, the "postgres" user is made a member of
a special group that has access to those files, and the server key file
has permissions 0640.  To accommodate that kind of setup, also allow the
key file to have permissions 0640 but only if owned by root.

From: Christoph Berg <myon@debian.org>
Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9a83564c58b7f6363141a8f1d0c87c89a5ebab5d

Modified Files
--------------
doc/src/sgml/runtime.sgml             | 13 ++++++++++++-
src/backend/libpq/be-secure-openssl.c | 33 ++++++++++++++++++++++++++++-----
2 files changed, 40 insertions(+), 6 deletions(-)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Fix stupid omission in c4901a1e.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: With ancient gcc, skip pg_attribute_printf() on function pointer