]> git.99rst.org Git - openwrt-packages.git/commit
strongswan: write local_key to swanctl.conf
authorFlorian Eckert <redacted>
Mon, 27 Jul 2026 13:47:59 +0000 (15:47 +0200)
committerFlorian Eckert <redacted>
Mon, 3 Aug 2026 09:07:41 +0000 (11:07 +0200)
commit4c58cafc7e22ac109eef808fa9657485c37d24c6
tree52eb20f8926baca3ec58d1f566207d9728d0c467
parent6e6de6aff91f57151186bd21c7d72fd7e3285163
strongswan: write local_key to swanctl.conf

The 'local_key' UCI option was validated (checked for existence
under /etc/swanctl/private/) but never written to the generated
'swanctl.conf'. As a result, setting 'local_key' had no actual effect
on which private key was used for local authentication.

Add the corresponding "privkeys" line to the local{} section,
mirroring how local_cert is already written as "certs", so that
swanctl explicitly uses the configured private key.

Signed-off-by: Florian Eckert <redacted>
net/strongswan/files/swanctl.init
git clone https://git.99rst.org/PROJECT