pgsql: SSL: Support ECDH key exchange - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: SSL: Support ECDH key exchange
Date
Msg-id E1VpOFd-00052k-4G@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
SSL: Support ECDH key exchange

This sets up ECDH key exchange, when compiling against OpenSSL that
supports EC.  Then the ECDHE-RSA and ECDHE-ECDSA cipher suites can be
used for SSL connections.  The latter one means that EC keys are now
usable.

The reason for EC key exchange is that it's faster than DHE and it
allows to go to higher security levels where RSA will be horribly slow.

There is also new GUC option ssl_ecdh_curve that specifies the curve
name used for ECDH.  It defaults to "prime256v1", which is the most
common curve in use in HTTPS.

From: Marko Kreen <markokr@gmail.com>
Reviewed-by: Adrian Klaver <adrian.klaver@gmail.com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3164721462d547fa2d15e2a2f07eb086a3590fd5

Modified Files
--------------
doc/src/sgml/config.sgml                      |   18 +++++++++++++
src/backend/libpq/be-secure.c                 |   34 +++++++++++++++++++++++++
src/backend/utils/misc/guc.c                  |   16 ++++++++++++
src/backend/utils/misc/postgresql.conf.sample |    1 +
4 files changed, 69 insertions(+)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: Expose qurey ID in pg_stat_statements view.
Next
From: Peter Geoghegan
Date:
Subject: Re: pgsql: Expose qurey ID in pg_stat_statements view.