diff options
author | Dirk Brenken <dev@brenken.org> | 2019-06-04 22:20:29 +0200 |
---|---|---|
committer | Dirk Brenken <dev@brenken.org> | 2019-07-11 08:11:38 +0200 |
commit | 87ff357d4ce09f9510cde8170e0b8c24ab7d5a53 (patch) | |
tree | 987d77607c322ae478ffd109e9eb52e18500aaff /applications/luci-app-uhttpd/luasrc | |
parent | 8055ed4c469516932a7abceed41b13cc7a11de35 (diff) |
luci-app-wireguard: QR-Code enhancements
* explain the QR-Code 'use case' and the transfered information
* limit the QR-Code information to bare minimum (per interface):
* [Interface] A random, on the fly generated 'PrivateKey',
the key will not be saved on the router
* [Peer] The 'PublicKey' of that wg interface and the
'AllowedIPs' with the default of '0.0.0.0/0, ::/0'
to allow sending traffic to any IPv4 and IPv6 address
* the QR-Code logic will be processed only once per page load,
and not every 5 seconds with the regular XHR refresh
See corresponding forum thread:
https://forum.openwrt.org/t/luci-app-wireguard-qr-code-shows-private-key/38133
Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-uhttpd/luasrc')
0 files changed, 0 insertions, 0 deletions