aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard (follow)
Commit message (Collapse)AuthorAgeFilesLines
* iOS: Rewrite applying runtime configurationRoopesh Chander2019-02-102-66/+76
| | | | | | To make scrolling smoother while the fields are modified Signed-off-by: Roopesh Chander <roop@roopc.net>
* Importing: Ignore case in matching file extensions inside zip filesRoopesh Chander2019-02-091-1/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: No need to access tunnelConfiguration on status changeRoopesh Chander2019-02-091-5/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Version bump0.0.20190207-2Jason A. Donenfeld2019-02-081-1/+1
| | | | 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>
* Project: don't embed swift binaries into appexJason A. Donenfeld2019-02-081-4/+10
| | | | | | Otherwise we're rejected from the app store. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Global: fix swiftlint issuesJason A. Donenfeld2019-02-089-25/+21
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* KeyEncoding: rename file to match extension filename styleJason A. Donenfeld2019-02-082-10/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Key: we already do len checking in CJason A. Donenfeld2019-02-081-6/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Info.plist: Add missing key types0.0.20190207-1Jason A. Donenfeld2019-02-082-0/+4
| | | | | | | | I worry that LSMinimumSystemVersion in the extension's plist might be problematic, since that same plist runs on macOS and iOS. We _might_ need to bifurcate. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bumpJason A. Donenfeld2019-02-081-1/+1
| | | | | | First Mac App Store release if all goes well. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Key: Use C implementation insteadJason A. Donenfeld2019-02-086-111/+173
| | | | | | | 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 encodingJason A. Donenfeld2019-02-089-62/+207
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelsManager: Ignore status changes on tunnel providers we don't haveRoopesh Chander2019-02-081-2/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Use shorter pretty timeRoopesh Chander2019-02-082-0/+22
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Tunnel detail: Turn off animation when showing fields changingRoopesh Chander2019-02-081-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Show alert if exiting with an active tunnelRoopesh Chander2019-02-082-3/+25
| | | | | | Instead of deactivating the tunnel. Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: Don't lose .restarting stateRoopesh Chander2019-02-081-4/+5
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: Log startDeactivation callsRoopesh Chander2019-02-081-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Enable hardened runtimeJason A. Donenfeld2019-02-071-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* NetworkExtensionMac: Don't forget to link to the networkextension frameworkJason A. Donenfeld2019-02-071-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* StatusItemController: Show animation when deactivatingJason A. Donenfeld2019-02-071-3/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* PacketTunnelProvider: proper fix for 32073323Jason A. Donenfeld2019-02-072-15/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelsManager: When creating/modifying a tunnel, update the associated objectRoopesh Chander2019-02-071-5/+7
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: prohibit multiple instances of appJason A. Donenfeld2019-02-061-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* PrivateDataConfirmation: prompt with touch/face/pin/password ID for viewing/exporting keysJason A. Donenfeld2019-02-069-41/+106
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* LegacyConfig: Remove and support plaintext for .mobileconfigJason A. Donenfeld2019-02-063-215/+13
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Keychain: store configurations in keychain instead of providerConfigJason A. Donenfeld2019-02-068-31/+201
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelsManager: cache access to configuration objectJason A. Donenfeld2019-02-061-1/+9
| | | | | | | | Supposedly we never change it once per object, so we do the objective C hack of adding it cached to the extension. This prevents 1000s of calls to the keychain and improves the speed of imports. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Project: Remove OS name from appex file nameJason A. Donenfeld2019-02-061-15/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelsManager: Wait for 6 seconds on deactivation instead of 5Jason A. Donenfeld2019-02-061-1/+1
| | | | 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>
* macOS: Select tunnel after adding it with 'Add empty tunnel'Roopesh Chander2019-02-051-0/+13
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Ensure fields are updated on savingRoopesh Chander2019-02-051-1/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Ensure fields are updated on savingRoopesh Chander2019-02-051-0/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Apply runtime configuration by diff-ingRoopesh Chander2019-02-051-15/+88
| | | | | | And apply the diff on the tableView as insertRows/removeRows. Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelViewModel: Don't call peer change handler if there are no changesRoopesh Chander2019-02-051-1/+3
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* macOS: Tunnel detail: Refactor calculation of tableViewModelRowsRoopesh Chander2019-02-051-12/+30
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* x25519: demand RNG is successfulJason A. Donenfeld2019-02-051-1/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Config: Add template for macOS keyJason A. Donenfeld2019-02-031-1/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* iOS: SwitchCell should hold the observation tokenRoopesh Chander2019-02-032-33/+36
| | | | | | | | And should nil the token when preparing for reuse. This also reverts "iOS: Tunnel detail: Refactor updation of status" Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: KeyValueCell should hold the observation tokenRoopesh Chander2019-02-032-2/+4
| | | | | | | | | And should nil the token when preparing for reuse. Otherwise, the observation closure is still active even after the cell gets reused. Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Apply runtime configuration by diff-ingRoopesh Chander2019-02-022-19/+217
| | | | | | And apply the diff on the tableView as insert/remove/reloads. Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Tunnel detail: Keep track of visible fields with a [Bool] arrayRoopesh Chander2019-02-021-10/+28
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Strings: fix backwards clock wordingJason A. Donenfeld2019-02-011-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* iOS: Tunnel detail: Reload runtime config every secondRoopesh Chander2019-02-011-3/+46
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Tunnel detail: Refactor updation of statusRoopesh Chander2019-01-311-33/+35
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Fix handling of 'PersistentKeepalive: every n seconds'Roopesh Chander2019-01-314-4/+12
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* iOS: Make it compile againRoopesh Chander2019-01-311-0/+2
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Configure timers to fire even when tracking mouse eventsRoopesh Chander2019-01-313-4/+4
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>