]> git.ipfire.org Git - thirdparty/wireguard-apple.git/log
thirdparty/wireguard-apple.git
6 years agoon-demand: "Only selected SSIDs" -> "Only these SSIDs"
Roopesh Chander [Sat, 9 Mar 2019 10:37:48 +0000 (16:07 +0530)] 
on-demand: "Only selected SSIDs" -> "Only these SSIDs"

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: macOS: Tunnel detail: List SSIDs
Roopesh Chander [Sat, 9 Mar 2019 10:35:22 +0000 (16:05 +0530)] 
on-demand: macOS: Tunnel detail: List SSIDs

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Only n SSIDs / Except m SSIDs
Roopesh Chander [Sat, 9 Mar 2019 10:05:49 +0000 (15:35 +0530)] 
on-demand: iOS: Only n SSIDs / Except m SSIDs

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Show list of SSIDs in a separate screen
Roopesh Chander [Sat, 9 Mar 2019 07:23:14 +0000 (12:53 +0530)] 
on-demand: iOS: Show list of SSIDs in a separate screen

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: SSIDs view: Always show the selected SSIDs section
Roopesh Chander [Sat, 9 Mar 2019 04:17:35 +0000 (09:47 +0530)] 
on-demand: iOS: SSIDs view: Always show the selected SSIDs section

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: Remove ActivateOnDemandSetting type
Roopesh Chander [Fri, 8 Mar 2019 10:42:54 +0000 (16:12 +0530)] 
on-demand: Remove ActivateOnDemandSetting type

The ActivateOnDemandOption type shall be used instead

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: TunnelViewModel: Remove unused on-demand-related methods
Roopesh Chander [Fri, 8 Mar 2019 10:22:51 +0000 (15:52 +0530)] 
on-demand: TunnelViewModel: Remove unused on-demand-related methods

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: macOS: Tunnel detail: Show SSID info
Roopesh Chander [Fri, 8 Mar 2019 09:54:56 +0000 (15:24 +0530)] 
on-demand: macOS: Tunnel detail: Show SSID info

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Update on-demand info shown in tunnel edit view
Roopesh Chander [Fri, 8 Mar 2019 09:25:08 +0000 (14:55 +0530)] 
on-demand: iOS: Update on-demand info shown in tunnel edit view

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: ActivateOnDemandViewModel: Uniquify SSIDs list
Roopesh Chander [Fri, 8 Mar 2019 06:21:27 +0000 (11:51 +0530)] 
on-demand: ActivateOnDemandViewModel: Uniquify SSIDs list

And if SSIDs list is empty, fall back to .anySSID option

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: macOS: Support SSIDs in on demand activation
Roopesh Chander [Wed, 6 Mar 2019 10:00:42 +0000 (15:30 +0530)] 
on-demand: macOS: Support SSIDs in on demand activation

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Tunnel detail: Show SSID info
Roopesh Chander [Tue, 5 Mar 2019 13:55:17 +0000 (19:25 +0530)] 
on-demand: iOS: Tunnel detail: Show SSID info

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Add ability to add current SSID
Roopesh Chander [Tue, 5 Mar 2019 13:07:53 +0000 (18:37 +0530)] 
on-demand: iOS: Add ability to add current SSID

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Xcode: Add ability to access current SSID
Roopesh Chander [Mon, 4 Mar 2019 13:28:37 +0000 (18:58 +0530)] 
on-demand: iOS: Xcode: Add ability to access current SSID

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: iOS: Support for SSIDs
Roopesh Chander [Wed, 27 Feb 2019 08:00:57 +0000 (13:30 +0530)] 
on-demand: iOS: Support for SSIDs

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: Introducing ActivateOnDemandViewModel
Roopesh Chander [Wed, 27 Feb 2019 07:55:53 +0000 (13:25 +0530)] 
on-demand: Introducing ActivateOnDemandViewModel

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: Infrastructure for supporting SSID-based rules
Roopesh Chander [Sat, 23 Feb 2019 08:26:51 +0000 (13:56 +0530)] 
on-demand: Infrastructure for supporting SSID-based rules

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoon-demand: Simplify OS-specific code for interface type selection
Roopesh Chander [Sat, 23 Feb 2019 08:54:30 +0000 (14:24 +0530)] 
on-demand: Simplify OS-specific code for interface type selection

Previously, the enum values themselves were different for iOS and macOS.
With this commit, the enum values are common, and only how they're handled
is specific to iOS and macOS.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Localize tooltips
Roopesh Chander [Sun, 17 Mar 2019 14:49:25 +0000 (20:19 +0530)] 
macOS: Localize tooltips

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnel detail: Make the Activate button part of the list view
Roopesh Chander [Sun, 17 Mar 2019 11:08:07 +0000 (16:38 +0530)] 
macOS: Tunnel detail: Make the Activate button part of the list view

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Nullify observationToken on prepareForReuse()
Roopesh Chander [Sun, 17 Mar 2019 10:29:55 +0000 (15:59 +0530)] 
macOS: Nullify observationToken on prepareForReuse()

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelName: sort correctly with numbers and capitals
Jason A. Donenfeld [Sun, 17 Mar 2019 09:28:27 +0000 (10:28 +0100)] 
TunnelName: sort correctly with numbers and capitals

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoringlogger: support mpsc for singlefile
Jason A. Donenfeld [Sun, 17 Mar 2019 06:41:10 +0000 (00:41 -0600)] 
ringlogger: support mpsc for singlefile

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Tunnel detail: Activate / Deactivate is now a button
Roopesh Chander [Sat, 16 Mar 2019 20:56:56 +0000 (02:26 +0530)] 
macOS: Tunnel detail: Activate / Deactivate is now a button

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnel detail: Show the status in the list view
Roopesh Chander [Sat, 16 Mar 2019 10:55:17 +0000 (16:25 +0530)] 
macOS: Tunnel detail: Show the status in the list view

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: KeyValueImageRow class
Roopesh Chander [Sat, 16 Mar 2019 13:58:54 +0000 (19:28 +0530)] 
macOS: KeyValueImageRow class

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agowireguard-go-bridge: update deps
Jason A. Donenfeld [Tue, 12 Mar 2019 09:45:14 +0000 (10:45 +0100)] 
wireguard-go-bridge: update deps

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowg-quick parser: trim \r as well
Jason A. Donenfeld [Mon, 11 Mar 2019 19:59:31 +0000 (13:59 -0600)] 
wg-quick parser: trim \r as well

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>
6 years agoTunnelsManager: Don't restart if only on-demand setting has changed
Roopesh Chander [Mon, 11 Mar 2019 07:50:21 +0000 (13:20 +0530)] 
TunnelsManager: Don't restart if only on-demand setting has changed

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Ability to remove multiple tunnels at a time
Roopesh Chander [Sun, 10 Mar 2019 14:32:19 +0000 (20:02 +0530)] 
macOS: Ability to remove multiple tunnels at a time

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: Support for removing multiple tunnels at a time
Roopesh Chander [Sun, 10 Mar 2019 14:13:27 +0000 (19:43 +0530)] 
TunnelsManager: Support for removing multiple tunnels at a time

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Generalize NoTunnelsDetailVC into a ButtonedDetailVC
Roopesh Chander [Sun, 10 Mar 2019 11:02:26 +0000 (16:32 +0530)] 
macOS: Generalize NoTunnelsDetailVC into a ButtonedDetailVC

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agowireguard-go-bridge: use system go installation
Jason A. Donenfeld [Fri, 8 Mar 2019 04:56:00 +0000 (05:56 +0100)] 
wireguard-go-bridge: use system go installation

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoImporting: Only the main thread shall access lastFileImportErrorText
Roopesh Chander [Tue, 5 Mar 2019 10:27:11 +0000 (15:57 +0530)] 
Importing: Only the main thread shall access lastFileImportErrorText

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoImporting: Make use of lastError returned from TunnelsManager.addMultiple()
Roopesh Chander [Tue, 5 Mar 2019 10:20:50 +0000 (15:50 +0530)] 
Importing: Make use of lastError returned from TunnelsManager.addMultiple()

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: addMultiple() should also return the last error
Roopesh Chander [Tue, 5 Mar 2019 09:54:08 +0000 (15:24 +0530)] 
TunnelsManager: addMultiple() should also return the last error

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoImporting: Simplify TunnelImporter
Roopesh Chander [Mon, 4 Mar 2019 08:20:06 +0000 (13:50 +0530)] 
Importing: Simplify TunnelImporter

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agowireguard-go-bridge: use go modules
Jason A. Donenfeld [Sun, 3 Mar 2019 05:12:09 +0000 (06:12 +0100)] 
wireguard-go-bridge: use go modules

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go-bridge: update to Go 1.12
Jason A. Donenfeld [Wed, 27 Feb 2019 05:24:56 +0000 (06:24 +0100)] 
wireguard-go-bridge: update to Go 1.12

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoImporting: macOS: Support importing of multiple files at a time
Roopesh Chander [Mon, 25 Feb 2019 10:52:52 +0000 (16:22 +0530)] 
Importing: macOS: Support importing of multiple files at a time

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoImporting: Use case-insensitive comparison for zip extension
Roopesh Chander [Mon, 25 Feb 2019 10:46:58 +0000 (16:16 +0530)] 
Importing: Use case-insensitive comparison for zip extension

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Hack to restart active tunnel after adding a new tunnel
Roopesh Chander [Sun, 24 Feb 2019 14:00:14 +0000 (19:30 +0530)] 
iOS: Hack to restart active tunnel after adding a new tunnel

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoImporting: Show OS error when unable to open a .conf file
Roopesh Chander [Sun, 24 Feb 2019 11:20:57 +0000 (16:50 +0530)] 
Importing: Show OS error when unable to open a .conf file

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnel edit: Disable user interaction when OS VPN prompt is shown
Roopesh Chander [Sun, 24 Feb 2019 10:35:13 +0000 (16:05 +0530)] 
macOS: Tunnel edit: Disable user interaction when OS VPN prompt is shown

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnel edit: s/populateTextFields()/populateFields()/g;
Roopesh Chander [Sun, 24 Feb 2019 09:44:35 +0000 (15:14 +0530)] 
macOS: Tunnel edit: s/populateTextFields()/populateFields()/g;

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: When programmatically selecting a tunnel, also scroll if required
Roopesh Chander [Fri, 22 Feb 2019 12:48:51 +0000 (18:18 +0530)] 
macOS: When programmatically selecting a tunnel, also scroll if required

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Replace NSSegmentedControl with NSPopUpButton and NSButton
Roopesh Chander [Fri, 22 Feb 2019 11:05:46 +0000 (16:35 +0530)] 
macOS: Replace NSSegmentedControl with NSPopUpButton and NSButton

Thereby avoiding the hacky way of showing the menus.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoImporting: Give a clearer error message on importing an invalid config
Roopesh Chander [Fri, 22 Feb 2019 07:33:03 +0000 (13:03 +0530)] 
Importing: Give a clearer error message on importing an invalid config

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Show 'quitting with active tunnel' only when appropriate
Roopesh Chander [Thu, 21 Feb 2019 14:11:01 +0000 (19:41 +0530)] 
macOS: Show 'quitting with active tunnel' only when appropriate

Not when logging off or when the machine's shutting down

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Fix removal of DNSes from AllowedIPs when DNS has changed
Roopesh Chander [Thu, 21 Feb 2019 12:47:23 +0000 (18:17 +0530)] 
macOS: Fix removal of DNSes from AllowedIPs when DNS has changed

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: On changing DNS, update AllowedIPs with the current DNS servers
Roopesh Chander [Thu, 21 Feb 2019 12:26:52 +0000 (17:56 +0530)] 
iOS: On changing DNS, update AllowedIPs with the current DNS servers

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: On saving, update AllowedIPs with the current DNS servers
Roopesh Chander [Thu, 21 Feb 2019 10:04:59 +0000 (15:34 +0530)] 
macOS: On saving, update AllowedIPs with the current DNS servers

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoImporting: Better error message when .conf file is not readable
Roopesh Chander [Wed, 20 Feb 2019 10:58:33 +0000 (16:28 +0530)] 
Importing: Better error message when .conf file is not readable

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Specify crypto compliance
Jason A. Donenfeld [Tue, 19 Feb 2019 15:12:29 +0000 (16:12 +0100)] 
macOS: Specify crypto compliance

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoTunnelViewModel: Remove DNS from AllowedIPs when unchecking 'Exclude private IPs'
Roopesh Chander [Sat, 16 Feb 2019 14:27:31 +0000 (19:57 +0530)] 
TunnelViewModel: Remove DNS from AllowedIPs when unchecking 'Exclude private IPs'

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Exclude private IPs
Roopesh Chander [Sat, 16 Feb 2019 12:55:17 +0000 (18:25 +0530)] 
macOS: Exclude private IPs

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelViewModel: Minor refactoring of exclude private IPs handling
Roopesh Chander [Fri, 15 Feb 2019 10:50:04 +0000 (16:20 +0530)] 
TunnelViewModel: Minor refactoring of exclude private IPs handling

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoConfTextStorage: lowercase only once
Jason A. Donenfeld [Fri, 15 Feb 2019 20:10:58 +0000 (21:10 +0100)] 
ConfTextStorage: lowercase only once

Also fix submodule regression.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoConfTextStorage: Let's keep the AllowedIPs and DNS servers as strings
Roopesh Chander [Fri, 15 Feb 2019 19:01:28 +0000 (00:31 +0530)] 
ConfTextStorage: Let's keep the AllowedIPs and DNS servers as strings

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoConfTextStorage: Make fieldType an enum
Roopesh Chander [Fri, 15 Feb 2019 18:56:49 +0000 (00:26 +0530)] 
ConfTextStorage: Make fieldType an enum

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoConfTextStorage: keep track of single peer state for exclude private IPs
Jason A. Donenfeld [Fri, 15 Feb 2019 18:43:56 +0000 (19:43 +0100)] 
ConfTextStorage: keep track of single peer state for exclude private IPs

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Tunnel detail: Set min width/height
Roopesh Chander [Fri, 15 Feb 2019 10:14:06 +0000 (15:44 +0530)] 
macOS: Tunnel detail: Set min width/height

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Tunnels list: Use constant width for the table view
Roopesh Chander [Fri, 15 Feb 2019 10:10:08 +0000 (15:40 +0530)] 
macOS: Tunnels list: Use constant width for the table view

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years ago.mobileconfig: fix lists
Roopesh Chander [Fri, 15 Feb 2019 08:35:15 +0000 (14:05 +0530)] 
.mobileconfig: fix lists

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoREADME: supports macOS
Jason A. Donenfeld [Fri, 15 Feb 2019 01:39:34 +0000 (02:39 +0100)] 
README: supports macOS

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoREADME: recursive cloning
Jason A. Donenfeld [Fri, 15 Feb 2019 01:37:02 +0000 (02:37 +0100)] 
README: recursive cloning

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoREADME: Xcode has a lowercase 'c'
Jason A. Donenfeld [Fri, 15 Feb 2019 01:35:00 +0000 (02:35 +0100)] 
README: Xcode has a lowercase 'c'

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agomacOS: Show privacy notice on adding first tunnel 0.0.20190207-3
Jason A. Donenfeld [Fri, 15 Feb 2019 00:06:44 +0000 (01:06 +0100)] 
macOS: Show privacy notice on adding first tunnel

App store reviewers don't understand that this isn't a service.

Revert this as soon as they come to their senses.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoVersion bump
Jason A. Donenfeld [Thu, 14 Feb 2019 22:07:06 +0000 (23:07 +0100)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go: bump for ARM64 ChaCha20
Jason A. Donenfeld [Thu, 14 Feb 2019 11:00:59 +0000 (12:00 +0100)] 
wireguard-go: bump for ARM64 ChaCha20

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago.mobileconfig: fix formatting
Jason A. Donenfeld [Wed, 13 Feb 2019 13:31:02 +0000 (14:31 +0100)] 
.mobileconfig: fix formatting

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago.mobileconfig: note keychain limitation
Jason A. Donenfeld [Wed, 13 Feb 2019 13:04:54 +0000 (14:04 +0100)] 
.mobileconfig: note keychain limitation

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoPreshared key field in the detail view should just say 'enabled'
Roopesh Chander [Tue, 12 Feb 2019 13:55:42 +0000 (19:25 +0530)] 
Preshared key field in the detail view should just say 'enabled'

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoLog migration of tunnel configuration
Roopesh Chander [Tue, 12 Feb 2019 13:47:32 +0000 (19:17 +0530)] 
Log migration of tunnel configuration

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoDocument installing WireGuard tunnels using Configuration Profiles
Roopesh Chander [Tue, 12 Feb 2019 12:24:02 +0000 (17:54 +0530)] 
Document installing WireGuard tunnels using Configuration Profiles

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoMigrate when we notice a new tunnel in reload()
Roopesh Chander [Tue, 12 Feb 2019 12:13:40 +0000 (17:43 +0530)] 
Migrate when we notice a new tunnel in reload()

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoDon't migrate in asTunnelConfiguration()
Roopesh Chander [Tue, 12 Feb 2019 12:07:14 +0000 (17:37 +0530)] 
Don't migrate in asTunnelConfiguration()

It causes problems when installing a tunnel through a
Configuration Profile on macOS and activating it first through
Network Preferences.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoInfo.plist: Localize with InfoPlist.strings
Roopesh Chander [Sun, 10 Feb 2019 13:12:46 +0000 (18:42 +0530)] 
Info.plist: Localize with InfoPlist.strings

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Change keyboard shortcut for importing to Cmd+O
Roopesh Chander [Sun, 10 Feb 2019 12:25:50 +0000 (17:55 +0530)] 
macOS: Change keyboard shortcut for importing to Cmd+O

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Adapt to the new applyConfiguration API
Roopesh Chander [Sat, 9 Feb 2019 21:37:30 +0000 (03:07 +0530)] 
macOS: Adapt to the new applyConfiguration API

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Rewrite applying runtime configuration
Roopesh Chander [Sat, 9 Feb 2019 21:08:23 +0000 (02:38 +0530)] 
iOS: Rewrite applying runtime configuration

To make scrolling smoother while the fields are modified

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoImporting: Ignore case in matching file extensions inside zip files
Roopesh Chander [Sat, 9 Feb 2019 13:54:08 +0000 (19:24 +0530)] 
Importing: Ignore case in matching file extensions inside zip files

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: No need to access tunnelConfiguration on status change
Roopesh Chander [Sat, 9 Feb 2019 13:37:17 +0000 (19:07 +0530)] 
TunnelsManager: No need to access tunnelConfiguration on status change

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoVersion bump 0.0.20190207-2
Jason A. Donenfeld [Fri, 8 Feb 2019 16:32:38 +0000 (17:32 +0100)] 
Version bump

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoFix writing of preshared key to config format
Roopesh Chander [Sat, 9 Feb 2019 09:27:24 +0000 (14:57 +0530)] 
Fix writing of preshared key to config format

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoProject: don't embed swift binaries into appex
Jason A. Donenfeld [Fri, 8 Feb 2019 16:16:05 +0000 (17:16 +0100)] 
Project: don't embed swift binaries into appex

Otherwise we're rejected from the app store.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoGlobal: fix swiftlint issues
Jason A. Donenfeld [Fri, 8 Feb 2019 16:05:58 +0000 (17:05 +0100)] 
Global: fix swiftlint issues

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go-bridge: get rid of nopie warning
Jason A. Donenfeld [Fri, 8 Feb 2019 15:42:25 +0000 (16:42 +0100)] 
wireguard-go-bridge: get rid of nopie warning

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agowireguard-go-bridge: Cache go tarballs
Jason A. Donenfeld [Fri, 8 Feb 2019 15:23:40 +0000 (16:23 +0100)] 
wireguard-go-bridge: Cache go tarballs

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoKeyEncoding: rename file to match extension filename style
Jason A. Donenfeld [Fri, 8 Feb 2019 15:15:10 +0000 (16:15 +0100)] 
KeyEncoding: rename file to match extension filename style

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoKey: we already do len checking in C
Jason A. Donenfeld [Fri, 8 Feb 2019 13:39:59 +0000 (14:39 +0100)] 
Key: we already do len checking in C

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoInfo.plist: Add missing key types 0.0.20190207-1
Jason A. Donenfeld [Fri, 8 Feb 2019 02:47:33 +0000 (03:47 +0100)] 
Info.plist: Add missing key types

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>
6 years agoVersion bump
Jason A. Donenfeld [Fri, 8 Feb 2019 02:28:28 +0000 (03:28 +0100)] 
Version bump

First Mac App Store release if all goes well.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoKey: Use C implementation instead
Jason A. Donenfeld [Fri, 8 Feb 2019 02:21:52 +0000 (03:21 +0100)] 
Key: Use C implementation instead

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>
6 years agoKey: Constant time encoding
Jason A. Donenfeld [Thu, 7 Feb 2019 23:44:14 +0000 (00:44 +0100)] 
Key: Constant time encoding

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years agoTunnelsManager: Ignore status changes on tunnel providers we don't have
Roopesh Chander [Thu, 7 Feb 2019 23:08:08 +0000 (04:38 +0530)] 
TunnelsManager: Ignore status changes on tunnel providers we don't have

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Use shorter pretty time
Roopesh Chander [Thu, 7 Feb 2019 22:44:10 +0000 (04:14 +0530)] 
iOS: Use shorter pretty time

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoiOS: Tunnel detail: Turn off animation when showing fields changing
Roopesh Chander [Thu, 7 Feb 2019 21:52:16 +0000 (03:22 +0530)] 
iOS: Tunnel detail: Turn off animation when showing fields changing

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agomacOS: Show alert if exiting with an active tunnel
Roopesh Chander [Thu, 7 Feb 2019 21:31:17 +0000 (03:01 +0530)] 
macOS: Show alert if exiting with an active tunnel

Instead of deactivating the tunnel.

Signed-off-by: Roopesh Chander <roop@roopc.net>
6 years agoTunnelsManager: Don't lose .restarting state
Roopesh Chander [Thu, 7 Feb 2019 18:47:05 +0000 (00:17 +0530)] 
TunnelsManager: Don't lose .restarting state

Signed-off-by: Roopesh Chander <roop@roopc.net>