Commit Graph

26 Commits

Author SHA1 Message Date
Davide De Rosa 49a1f1b55c Address VPN toggle losing sync with internal state
- Update TunnelKit

- Receive TunnelKit notifications on main queue

- Bind VPN toggle to VPNManager directly (implicit animations)

- Update state on VPN didFail

- Set isEnabled = false after uninstalling VPN (not notified)
2022-04-27 15:53:31 +02:00
Davide De Rosa 5c0e053e7d Review requirements of DNS over TLS (DoT)
- Make DNS servers optional in TunnelKit

- Allow IP address as DoT server name
2022-04-25 22:40:09 +02:00
Davide De Rosa d5340b0457 Fix another import issue in TunnelKit 2022-04-13 22:57:00 +02:00
Davide De Rosa dfebb60796 Fix an import issue in TunnelKit 2022-04-13 22:41:12 +02:00
Davide De Rosa 1532e8808b [ci skip] Address CI and ASC validation issues
- Skip tests until fixed wg-go issue

- Add golang step

- Set "Apple Development" at project level

- Set Catalyst platform for gym

- Drop TARGET env variable clashing with WireGuardKit

- Disable SwiftGen script phase

- Fix TunnelKit segfault on archive

- Xcode 13.2.1 compatibility
    Fix some issues with @MainActor
    Use #available instead of #unavailable

- Raise timeout from 10 to 15 minutes

- Update beta description

- Tunnel bundle ids cannot have periods

- CFBundleDisplayName required in tunnels
2022-04-13 10:00:29 +02:00
Davide De Rosa b62490b88b Disable tests failing due to WireGuardKit 2022-04-12 18:41:58 +02:00
Davide De Rosa ec3cca05ef Fix TunnelKit package fetched locally 2022-04-12 15:25:38 +02:00
Davide De Rosa 4aba5f46aa Rewrite app in SwiftUI 2022-04-12 15:12:45 +02:00
Davide De Rosa a15abe94db [ci skip] Use versioned TunnelKit 2022-02-15 08:58:03 +01:00
Davide De Rosa 39e7146dcd Fix TunnelKit reference 2022-02-04 12:24:43 +01:00
Davide De Rosa 08008dda23 Try lower macOS target to 10.14
Requires TunnelKit update.
2022-02-02 19:36:23 +01:00
Davide De Rosa 9ecb90b8f9 Handle --keepalive option 2022-01-04 09:25:13 +01:00
Davide De Rosa e8f2ef0a88 Use versioned TunnelKit 2021-11-25 13:07:07 +01:00
Davide De Rosa 104c856e45 Fix PEM caching PR in TunnelKit 2021-11-25 12:23:28 +01:00
Davide De Rosa cda63b44e5 Restore PEM caching PR in TunnelKit 2021-11-24 17:04:07 +01:00
Davide De Rosa 46fef91f5c Revert to TunnelKit with OpenSSL
- Remove extra "Frameworks" in .appex
- Restore TLS security level 0
- Disable Bitcode for OpenSSL to link properly
2021-11-24 17:03:41 +01:00
Davide De Rosa 897af77b33 Update TunnelKit
- Keychain adjustments
- Revisited package dependencies
2021-11-23 16:54:41 +01:00
Davide De Rosa fd529752ee Revert iOS target to 12
TunnelKit only requires 12.
2021-11-18 13:10:44 +01:00
Davide De Rosa e76ae927b2 Use versioned TunnelKit 2021-11-18 12:57:46 +01:00
Davide De Rosa 9338f59f18 Revert PEM caching in TunnelKit 2021-11-18 12:15:21 +01:00
Davide De Rosa bc20d03893 Use versioned TunnelKit
Absolutely same code than 4a47eec041338da8d64ddd5d4d017d2d193017a3

Only updated README.
2021-11-16 12:55:00 +01:00
Davide De Rosa a696df36b3 Update TunnelKit 2021-11-12 10:02:35 +01:00
Davide De Rosa 8833c4dbab Update TunnelKit with BoringSSL
- Optimize package granularity and imports
- Adjust targets to smaller TunnelKit components
- Raise iOS target to 13
- Drop support for TLS security level
2021-11-11 15:45:09 +01:00
Davide De Rosa 7ecbd48e18 Do some project cleanup
- Update bundle
- Merge old CFG_* variables
- Drop useless Metal build settings
- Fix package warning about case
2021-11-11 15:06:43 +01:00
Davide De Rosa 22ef8fcd10 Use SwiftPM 5.3 for CI
Had to fix dependency syntax for revision.
2021-11-06 11:48:25 +01:00
Davide De Rosa ae1aa1a268 Reorganize project with SwiftPM
- Drop CocoaPods completely
- Make PassepartoutCore a Swift package
- Enable Bitcode to fix OpenSSL linkage (iOS)
- Update CI scripts without CocoaPods
2021-11-06 11:18:55 +01:00