pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: frank.buettner@mdc-berlin.de
Subject: BUG #16815: Unable to use the X448 an X25519 elliptic curves.
Date: Fri, 08 Jan 2021 10:29:01 +0000
Message-ID: <16815-0fde6075fb21923a@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16815
Logged by:          - -
Email address:      frank.buettner@mdc-berlin.de
PostgreSQL version: 13.1
Operating system:   CentOS8
Description:        

The openssl version that comes with CentOS8 will support both curves.
And using the curves with the apache for example will work, so it is not an
OS related problem.
SSLOpenSSLConfCmd Groups "X448:X25519:secp521r1:secp384r1" will work.
But try the same curves on postgresql 13 will fail.
ssl_ecdh_curve  = 'X448' or
ssl_ecdh_curve  = 'X25519'
will fail with:
FATAL:  ECDH: could not create key
using the lower X it fails with:
FATAL:  ECDH: unrecognized curve name: x25519
Only the NIST ones like secp521r1 will work.

It looks like the curves with the upper X are known, but not correct
initialized.



view thread (4+ messages)  latest in thread

Message-ID: <16815-0fde6075fb21923a@postgresql.org>
Permalink:  ../16815-0fde6075fb21923a@postgresql.org/
Also on:    postgresql.org/message-id/16815-0fde6075fb21923a@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, frank.buettner@mdc-berlin.de
  Subject: Re: BUG #16815: Unable to use the X448 an X25519 elliptic curves.
  In-Reply-To: <16815-0fde6075fb21923a@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox