2ec34202fd
The name of a VPN service and the PSK of an IPsec site connection may contain non-ASCII characters. Outputing plain texts of these contents may lead to UnicodeEncodeError. As *swan can support base64 encoded PSKs. With this commit, we 1. use VPN service id instead of the name in configuration files, and 2. encode IPsec site connection PSK with base64 to make sure that generated configuration files will only contain ASCII characters. Closes-Bug: #1652909 Change-Id: Ie7edf080fc44537a74c57262bd9943c5e4337428 |
||
---|---|---|
.. | ||
ipsec.conf.template | ||
ipsec.secret.template | ||
strongswan.conf.template |