]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Merge branch 'reject-explicit-ecdsa'
authorTobias Brunner <tobias@strongswan.org>
Fri, 13 Oct 2023 07:10:56 +0000 (09:10 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 13 Oct 2023 07:12:02 +0000 (09:12 +0200)
There is a relatively recent NIAP requirement to reject certificates with
ECDSA keys that explicitly encode the curve parameters (TD0527, Test 8b).

Since explicit encoding is pretty rare (if used at all and e.g. wolfSSL
already rejects it, by default), we should follow that requirement and
just reject such keys/certificates completely.

This currently can be enforced in all crypto plugins except when using
older versions of OpenSSL (< 1.1.1h) and Botan (< 3.2.0).

Closes strongswan/strongswan#1949
References strongswan/strongswan#1796


Trivial merge