aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/Shared/Model/TunnelConfiguration+WgQuickConfig.swift (follow)
Commit message (Collapse)AuthorAgeFilesLines
* wg-quick parser: trim \r as wellJason A. Donenfeld2019-03-111-5/+5
| | | | | | | | The influx of Windows users has already begun to infect our nice project. Reported-by: Cosku Bas <cosku.bas@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Fix writing of preshared key to config formatRoopesh Chander2019-02-091-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Global: fix swiftlint issuesJason A. Donenfeld2019-02-081-3/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Key: Constant time encodingJason A. Donenfeld2019-02-081-7/+11
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wg-quick conf parser: Handle inline comments correctlyRoopesh Chander2019-02-051-3/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Config file parsing: Fix bug when there are comments at the endRoopesh Chander2019-01-241-28/+28
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Tunnel: support getting runtime configurationJason A. Donenfeld2019-01-241-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Parsing: Always error on unrecognized keysRoopesh Chander2019-01-141-12/+10
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Parsing: Error on duplicate entriesRoopesh Chander2019-01-141-2/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Refactor config file parsingRoopesh Chander2019-01-141-26/+71
| | | | | | | - To report more fine grained errors - To make the parse errors conform to WireGuardAppError Signed-off-by: Roopesh Chander <roop@roopc.net>
* Update copyrightJason A. Donenfeld2019-01-071-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Move model helpers to model directoryJason A. Donenfeld2018-12-221-0/+200
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>