Commit Graph

1027 Commits

Author SHA1 Message Date
Roopesh Chander e5e5418307 macOS: On saving, update AllowedIPs with the current DNS servers 2019-02-21 17:57:13 +05:30
Roopesh Chander 24141baa66 Importing: Better error message when .conf file is not readable 2019-02-21 17:57:13 +05:30
Jason A. Donenfeld e6d62f334a macOS: Specify crypto compliance 2019-02-19 16:12:33 +01:00
Roopesh Chander 9cfdbfa1a2 TunnelViewModel: Remove DNS from AllowedIPs when unchecking 'Exclude private IPs' 2019-02-16 19:57:31 +05:30
Roopesh Chander 226911715c macOS: Exclude private IPs 2019-02-16 18:25:17 +05:30
Roopesh Chander 549f5de700 TunnelViewModel: Minor refactoring of exclude private IPs handling 2019-02-16 17:35:33 +05:30
Jason A. Donenfeld 2a4e4e798a ConfTextStorage: lowercase only once
Also fix submodule regression.
2019-02-16 17:18:10 +05:30
Roopesh Chander 89c108d00f ConfTextStorage: Let's keep the AllowedIPs and DNS servers as strings 2019-02-16 01:20:11 +05:30
Roopesh Chander 0e124746d9 ConfTextStorage: Make fieldType an enum 2019-02-16 00:26:49 +05:30
Jason A. Donenfeld da3b9d8077 ConfTextStorage: keep track of single peer state for exclude private IPs 2019-02-15 19:44:06 +01:00
Roopesh Chander eb683ce18c macOS: Tunnel detail: Set min width/height 2019-02-15 15:44:11 +05:30
Roopesh Chander 5eaef2f573 macOS: Tunnels list: Use constant width for the table view 2019-02-15 15:40:12 +05:30
Roopesh Chander 1d003d6dba .mobileconfig: fix lists 2019-02-15 14:05:15 +05:30
Jason A. Donenfeld 151d84e878 README: supports macOS 2019-02-15 02:39:34 +01:00
Jason A. Donenfeld 6af9003f48 README: recursive cloning 2019-02-15 02:37:02 +01:00
Jason A. Donenfeld bc8d40f302 README: Xcode has a lowercase 'c' 2019-02-15 02:35:10 +01:00
Jason A. Donenfeld 40250bfbab 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.
2019-02-15 01:14:14 +01:00
Jason A. Donenfeld 429af207c7 Version bump 2019-02-14 23:07:06 +01:00
Jason A. Donenfeld a1f2eefb74 wireguard-go: bump for ARM64 ChaCha20 2019-02-14 12:00:59 +01:00
Jason A. Donenfeld bd6cf98133 .mobileconfig: fix formatting 2019-02-13 14:31:02 +01:00
Jason A. Donenfeld 6cfb502eba .mobileconfig: note keychain limitation 2019-02-13 14:04:54 +01:00
Roopesh Chander 9c0e001265 Preshared key field in the detail view should just say 'enabled' 2019-02-12 19:30:59 +05:30
Roopesh Chander 74f55febab Log migration of tunnel configuration 2019-02-12 19:17:32 +05:30
Roopesh Chander 85899545b5 Document installing WireGuard tunnels using Configuration Profiles 2019-02-12 19:14:53 +05:30
Roopesh Chander 70923d9c87 Migrate when we notice a new tunnel in reload() 2019-02-12 17:43:40 +05:30
Roopesh Chander 078780a3ba 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.
2019-02-12 17:37:27 +05:30
Roopesh Chander e49e20ca51 Info.plist: Localize with InfoPlist.strings 2019-02-11 16:08:55 +05:30
Roopesh Chander ee80eb7614 macOS: Change keyboard shortcut for importing to Cmd+O 2019-02-10 17:55:50 +05:30
Roopesh Chander 10ca25e60f macOS: Adapt to the new applyConfiguration API 2019-02-10 03:35:24 +05:30
Roopesh Chander aea253a6e9 iOS: Rewrite applying runtime configuration
To make scrolling smoother while the fields are modified
2019-02-10 03:35:24 +05:30
Roopesh Chander 3355019408 Importing: Ignore case in matching file extensions inside zip files 2019-02-09 19:42:50 +05:30
Roopesh Chander 7cee9608d9 TunnelsManager: No need to access tunnelConfiguration on status change 2019-02-09 19:42:50 +05:30
Jason A. Donenfeld 36ccb5883d Version bump 2019-02-08 17:32:38 +01:00
Roopesh Chander 3cea15f6f2 Fix writing of preshared key to config format 2019-02-09 14:57:24 +05:30
Jason A. Donenfeld 80f48aec81 Project: don't embed swift binaries into appex
Otherwise we're rejected from the app store.
2019-02-08 17:26:05 +01:00
Jason A. Donenfeld 6134817b23 Global: fix swiftlint issues 2019-02-08 17:07:28 +01:00
Jason A. Donenfeld e1d9e63591 wireguard-go-bridge: get rid of nopie warning 2019-02-08 16:42:25 +01:00
Jason A. Donenfeld 4423bd48be wireguard-go-bridge: Cache go tarballs 2019-02-08 16:23:40 +01:00
Jason A. Donenfeld 98866b323b KeyEncoding: rename file to match extension filename style 2019-02-08 16:15:10 +01:00
Jason A. Donenfeld 9852a75f01 Key: we already do len checking in C 2019-02-08 14:39:59 +01:00
Jason A. Donenfeld 657915e931 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.
2019-02-08 03:47:36 +01:00
Jason A. Donenfeld 9239512b49 Version bump
First Mac App Store release if all goes well.
2019-02-08 03:28:28 +01:00
Jason A. Donenfeld 7ebf36d0f4 Key: Use C implementation instead
Swift compiles so slowly and it's unclear all of the insane type punning
was even correct.
2019-02-08 03:23:15 +01:00
Jason A. Donenfeld e2c717212b Key: Constant time encoding 2019-02-08 03:23:15 +01:00
Roopesh Chander 443ecb1e20 TunnelsManager: Ignore status changes on tunnel providers we don't have 2019-02-08 04:40:11 +05:30
Roopesh Chander 6014b4b8a6 iOS: Use shorter pretty time 2019-02-08 04:40:11 +05:30
Roopesh Chander b947c98dc0 iOS: Tunnel detail: Turn off animation when showing fields changing 2019-02-08 04:40:11 +05:30
Roopesh Chander 59918ec67a macOS: Show alert if exiting with an active tunnel
Instead of deactivating the tunnel.
2019-02-08 04:40:11 +05:30
Roopesh Chander fd40b3adb8 TunnelsManager: Don't lose .restarting state 2019-02-08 02:34:30 +05:30
Roopesh Chander 9111b2723f TunnelsManager: Log startDeactivation calls 2019-02-08 02:34:29 +05:30