]> git.ipfire.org Git - thirdparty/strongswan.git/commit
swanctl: Support any key type for decrypted keys
authorTobias Brunner <tobias@strongswan.org>
Thu, 8 Oct 2020 07:40:12 +0000 (09:40 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 27 Oct 2020 10:17:44 +0000 (11:17 +0100)
commit30d47ea4cb3c7f1cf7b0217095db3beea3c54fa6
treee097bc5b1cd117c08e40b1632baa2070d79e35eb
parent6839256773ec5501f297eaf86466c3641da5d3a0
swanctl: Support any key type for decrypted keys

The previous code required explicit support for a particular key type,
of which Ed25519 and Ed448 were missing.  While a fallback to `any` would
have been possible (this is already the case for unencrypted keys in the
`private` and `pkcs8` directories, which are not parsed by swanctl), it's
not necessary (as long as swanctl and the daemon are from the same release)
and does not require the daemon to detect the key type again.

Fixes #3586.
src/swanctl/commands/load_creds.c