Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix writing of preshared key to config format | Roopesh Chander | 2019-02-09 | 1 | -1/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Global: fix swiftlint issues | Jason A. Donenfeld | 2019-02-08 | 1 | -3/+0 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | KeyEncoding: rename file to match extension filename style | Jason A. Donenfeld | 2019-02-08 | 1 | -0/+0 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Key: we already do len checking in C | Jason A. Donenfeld | 2019-02-08 | 1 | -6/+0 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Key: Use C implementation instead | Jason A. Donenfeld | 2019-02-08 | 3 | -111/+159 |
| | | | | | | | Swift compiles so slowly and it's unclear all of the insane type punning was even correct. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Key: Constant time encoding | Jason A. Donenfeld | 2019-02-08 | 2 | -7/+159 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | PrivateDataConfirmation: prompt with touch/face/pin/password ID for viewing/exporting keys | Jason A. Donenfeld | 2019-02-06 | 1 | -2/+2 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | LegacyConfig: Remove and support plaintext for .mobileconfig | Jason A. Donenfeld | 2019-02-06 | 2 | -205/+13 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Keychain: store configurations in keychain instead of providerConfig | Jason A. Donenfeld | 2019-02-06 | 4 | -23/+171 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | wg-quick conf parser: Handle inline comments correctly | Roopesh Chander | 2019-02-05 | 1 | -3/+3 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Logger: Convert do-catch to try? | Roopesh Chander | 2019-01-28 | 1 | -3/+2 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Config file parsing: Fix bug when there are comments at the end | Roopesh Chander | 2019-01-24 | 1 | -28/+28 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Tunnel: support getting runtime configuration | Jason A. Donenfeld | 2019-01-24 | 2 | -0/+5 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Better os() directives | Roopesh Chander | 2019-01-22 | 1 | -1/+3 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Parsing: Always error on unrecognized keys | Roopesh Chander | 2019-01-14 | 1 | -12/+10 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Parsing: Error on duplicate entries | Roopesh Chander | 2019-01-14 | 1 | -2/+7 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | macOS: Refactor config file parsing | Roopesh Chander | 2019-01-14 | 1 | -26/+71 |
| | | | | | | | - To report more fine grained errors - To make the parse errors conform to WireGuardAppError Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Make app groups work on both iOS and macOS | Roopesh Chander | 2019-01-14 | 1 | -1/+6 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Update copyright | Jason A. Donenfeld | 2019-01-07 | 14 | -14/+14 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Don't set username on NETunnelProviderProtocol | Roopesh Chander | 2018-12-22 | 1 | -3/+0 |
| | | | | | | | | The username corresponds to the Account field in iOS system VPN UI, but if we don't set it, the field is not shown, so setting it isn't really required. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | All models now Equatable | Eric Kuck | 2018-12-21 | 6 | -0/+75 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Localize remaining strings in network extension | Jason A. Donenfeld | 2018-12-22 | 1 | -0/+8 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Move model helpers to model directory | Jason A. Donenfeld | 2018-12-22 | 4 | -2/+0 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Move name from interface to tunnel | Jason A. Donenfeld | 2018-12-22 | 5 | -16/+17 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Nuke trailing spaces | Jason A. Donenfeld | 2018-12-21 | 10 | -60/+60 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | providerConfiguration is now a WgQuickConfig | Eric Kuck | 2018-12-21 | 10 | -195/+248 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | All migration stuff moved to one gross file | Eric Kuck | 2018-12-21 | 8 | -255/+196 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Simplify versioning of stored data | Jason A. Donenfeld | 2018-12-21 | 1 | -26/+10 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Get rid of superflous isActivateOnDemandEnabled key | Jason A. Donenfeld | 2018-12-21 | 1 | -11/+3 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Updated NETunnelProvider save format | Eric Kuck | 2018-12-21 | 14 | -186/+564 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Enabled more swiftlint rules | Eric Kuck | 2018-12-20 | 1 | -0/+1 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Remove non-helpful comments | Roopesh Chander | 2018-12-19 | 3 | -6/+0 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | TunnelsManager: If only Activate On Demand has changed, don't restart tunnel | Roopesh Chander | 2018-12-19 | 1 | -0/+6 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | NE: Handle bad domain names and Activate On Demand | Roopesh Chander | 2018-12-19 | 1 | -2/+7 |
| | | | | | | | | | | | This combination causes iOS to keep trying to bring up the tunnel, leading to a lot of displayMessage() alerts. In this fix, if we get a DNS resolution error in an Activate On Demand enabled tunnel, we silently retry 9 times (with a 4-second delay before each retry) and then show the displayMessage() alert. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Most similar views now shared between ViewControllers | Eric Kuck | 2018-12-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | ||||
* | Prettier log time format | Jason A. Donenfeld | 2018-12-15 | 1 | -9/+19 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Simplify logging tags | Jason A. Donenfeld | 2018-12-14 | 3 | -19/+28 |
| | | | | | | | This was roop's initial idea, and it turns out to be the better one, now that we can pass cstrings more easily. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Simplify filemanager extension | Jason A. Donenfeld | 2018-12-13 | 1 | -18/+13 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Can't -> cannot | Jason A. Donenfeld | 2018-12-13 | 1 | -5/+5 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | NE: Communicate last error to app through a shared file | Roopesh Chander | 2018-12-14 | 1 | -0/+12 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Simplify C strings | Jason A. Donenfeld | 2018-12-13 | 1 | -13/+6 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Rewrite Logger | Jason A. Donenfeld | 2018-12-13 | 3 | -77/+78 |
| | | | | | | | This reverts all of Roop's changes to the C code, and then rewrites the logger logic to be cleaner. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Logging: Write versions from both app and extension | Roopesh Chander | 2018-12-13 | 1 | -0/+10 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Logging: file_log doesn't need the message type | Roopesh Chander | 2018-12-13 | 1 | -3/+3 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Logging: Tag the entries in the merged log | Roopesh Chander | 2018-12-13 | 3 | -6/+13 |
| | | | | | | | So we know which entry is from the app and which is from the network extension. Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Logging: Use ringlogger for logging from the app | Roopesh Chander | 2018-12-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Logging: ringlogger.c: Trim trailing newlines | Roopesh Chander | 2018-12-13 | 1 | -0/+7 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Logging: Use ringlogger for logging from the extension | Roopesh Chander | 2018-12-13 | 4 | -19/+80 |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | ||||
* | Commit untested ringlogger code | Jason A. Donenfeld | 2018-12-13 | 2 | -0/+139 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | More formatting nits and cyclomatic complexity fixes | Eric Kuck | 2018-12-12 | 2 | -6/+4 |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> |