aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-02-09Importing: Ignore case in matching file extensions inside zip filesRoopesh Chander1-1/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-09TunnelsManager: No need to access tunnelConfiguration on status changeRoopesh Chander1-5/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-08Version bump0.0.20190207-2Jason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-09Fix writing of preshared key to config formatRoopesh Chander1-1/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-08Project: don't embed swift binaries into appexJason A. Donenfeld1-4/+10
Otherwise we're rejected from the app store. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-08Global: fix swiftlint issuesJason A. Donenfeld9-25/+21
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-08KeyEncoding: rename file to match extension filename styleJason A. Donenfeld2-10/+10
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-08Key: we already do len checking in CJason A. Donenfeld1-6/+0
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-08Info.plist: Add missing key types0.0.20190207-1Jason A. Donenfeld2-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>
2019-02-08Version bumpJason A. Donenfeld1-1/+1
First Mac App Store release if all goes well. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-08Key: Use C implementation insteadJason A. Donenfeld6-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>
2019-02-08Key: Constant time encodingJason A. Donenfeld9-62/+207
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-08TunnelsManager: Ignore status changes on tunnel providers we don't haveRoopesh Chander1-2/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-08iOS: Use shorter pretty timeRoopesh Chander2-0/+22
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-08iOS: Tunnel detail: Turn off animation when showing fields changingRoopesh Chander1-1/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-08macOS: Show alert if exiting with an active tunnelRoopesh Chander2-3/+25
Instead of deactivating the tunnel. Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-08TunnelsManager: Don't lose .restarting stateRoopesh Chander1-4/+5
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-08TunnelsManager: Log startDeactivation callsRoopesh Chander1-0/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-07Enable hardened runtimeJason A. Donenfeld1-0/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-07NetworkExtensionMac: Don't forget to link to the networkextension frameworkJason A. Donenfeld1-0/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-07StatusItemController: Show animation when deactivatingJason A. Donenfeld1-3/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-07PacketTunnelProvider: proper fix for 32073323Jason A. Donenfeld2-15/+7
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-07TunnelsManager: When creating/modifying a tunnel, update the associated objectRoopesh Chander1-5/+7
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-06macOS: prohibit multiple instances of appJason A. Donenfeld1-0/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-06PrivateDataConfirmation: prompt with touch/face/pin/password ID for viewing/exporting keysJason A. Donenfeld9-41/+106
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-06LegacyConfig: Remove and support plaintext for .mobileconfigJason A. Donenfeld3-215/+13
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-06Keychain: store configurations in keychain instead of providerConfigJason A. Donenfeld8-31/+201
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-06TunnelsManager: cache access to configuration objectJason A. Donenfeld1-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>
2019-02-06Project: Remove OS name from appex file nameJason A. Donenfeld1-15/+15
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-06TunnelsManager: Wait for 6 seconds on deactivation instead of 5Jason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-05wg-quick conf parser: Handle inline comments correctlyRoopesh Chander1-3/+3
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-05macOS: Select tunnel after adding it with 'Add empty tunnel'Roopesh Chander1-0/+13
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-05macOS: Ensure fields are updated on savingRoopesh Chander1-1/+3
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-05iOS: Ensure fields are updated on savingRoopesh Chander1-0/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-05macOS: Apply runtime configuration by diff-ingRoopesh Chander1-15/+88
And apply the diff on the tableView as insertRows/removeRows. Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-05TunnelViewModel: Don't call peer change handler if there are no changesRoopesh Chander1-1/+3
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-05macOS: Tunnel detail: Refactor calculation of tableViewModelRowsRoopesh Chander1-12/+30
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-05x25519: demand RNG is successfulJason A. Donenfeld1-1/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-03Config: Add template for macOS keyJason A. Donenfeld1-1/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-03iOS: SwitchCell should hold the observation tokenRoopesh Chander2-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>
2019-02-03iOS: KeyValueCell should hold the observation tokenRoopesh Chander2-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>
2019-02-02iOS: Apply runtime configuration by diff-ingRoopesh Chander2-19/+217
And apply the diff on the tableView as insert/remove/reloads. Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-02iOS: Tunnel detail: Keep track of visible fields with a [Bool] arrayRoopesh Chander1-10/+28
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-02-01Strings: fix backwards clock wordingJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-01iOS: Tunnel detail: Reload runtime config every secondRoopesh Chander1-3/+46
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-31iOS: Tunnel detail: Refactor updation of statusRoopesh Chander1-33/+35
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-31Fix handling of 'PersistentKeepalive: every n seconds'Roopesh Chander4-4/+12
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-31iOS: Make it compile againRoopesh Chander1-0/+2
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-31Configure timers to fire even when tracking mouse eventsRoopesh Chander3-4/+4
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-31macOS: Tunnel detail: Reload runtime config every secondRoopesh Chander1-6/+24
Signed-off-by: Roopesh Chander <roop@roopc.net>