]> git.ipfire.org Git - thirdparty/strongswan.git/commit
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)
commitb5760243870d4ab6c5874d765f8b09b3c67b8fc6
treee243f04f4461b9b0a656673ce84a0f71e2d44ba2
parent6f0cd19fd6a9feeb6872057723a8fc4bee884ceb
parentbb14a2867198c65864946a38ca87eb82a680695f
Merge branch 'reject-explicit-ecdsa'

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