-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network Protection #1211
Network Protection #1211
Conversation
Task/Issue URL: https://app.asana.com/0/0/1203279827923530/f Tech Design URL: CC: Description: This PR sets the macOS repo up for NetP work in the following ways: • Two new configurations have been added, NetworkProtection_Debug and NetworkProtection_Release, with their own bundle IDs • A new app icon has been added to both of them, to differentiate these builds from others • The product name has been set to DuckDuckGo Network Protection • The Network Extension entitlement has been added to the new configurations • Sparkle updates have been disabled. I am tracking this with a TODO (NetP): comment, but am open to a better way to keep track of changes that we need to undo before merging this into the upstream repo Note, this change does not yet add a new target for the VPN extension. I plan to keep that in a separate PR to avoid this one getting too large.
Task/Issue URL: https://app.asana.com/0/0/1203340357678926/f Tech Design URL: CC: Description: This PR adds an empty packet tunnel provider to the macOS browser. It uses Network Protection Extension as the target name, but uses DuckDuckGo Network Protection as the product name, since that is what will be visible to users who are looking in Activity Monitor etc.
…ogger initialization
…est, and fixes the VPN duplication issue
…ration Improve NetP configuration
#if DEBUG | ||
assertionFailure("\(message)") | ||
func logOrAssertionFailure(_ message: String) { | ||
#if DEBUG && !CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be reverted, and instead the cause of this failing on CI should be investigated fully
DuckDuckGo/Assets.xcassets/Images/InviteLockSuccess.imageset/Intive-Lock-Succes-96.pdf
Outdated
Show resolved
Hide resolved
DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Outdated
Show resolved
Hide resolved
Task/Issue URL: Tech Design URL: CC: Description: This PR removes NetP from the App Store target.
* bundle libswift_Concurrency.dylib in SysEx Task/Issue URL: https://app.asana.com/0/1202406491309510/1204667934411108
DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Outdated
Show resolved
Hide resolved
It wasn’t used any more.
…checking if they're running before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that’s all I can do for this pull request. Configuration changes look good, the App Store app compiles and runs fine. I’ve also checked the review build again and this time, when installed to /Applications it worked great (notifications prompt + login item + agent). It’s good to go from my side, but let me know if you end up merging more fixes and you’d want me to have another look.
// This is temporarily set this back to its default value, as a part of merging Network Protection. There are a small number of warnings introduced in | ||
// that feature, and more time is needed to address them. To avoid bothering other developers, this is being disabled and a task to fix it will be | ||
// prioritized. | ||
SWIFT_STRICT_CONCURRENCY = minimal; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, sorry for this - we tried to get these warnings resolved, but they're complicated. Alex has a PR up which addresses some of this, but it had other effects so we decided to hold off on merging it in favour of this approach.
I forgot to congratulate all of you for the amazing work guys @samsymons @diegoreymendez @mallexxx @graeme. Hats off 🙇 |
# By Dominik Kapusta # Via GitHub * upstream_develop: Sync Engine with support for syncing bookmarks (#1203) # Conflicts: # DuckDuckGo.xcodeproj/project.pbxproj # DuckDuckGo/AppDelegate/AppDelegate.swift
This matches the convention already established in the browser.
This should have no effect as Global.xcconfig specifies this, but I’d rather keep the xcconfig files the same as develop as possible.
* release/1.42.0: (26 commits) Bump version to 1.42.0 (28) Update embedded files Network Protection (#1211) Update BSK with autofill 7.1.0 (#1225) Autofill password generation support for iOS (#1212) Sync Engine with support for syncing bookmarks (#1203) Bump BSK for messaging updates (#1213) add newTab pixel, fire pixels only for new users first time (#1219) Update tds endpoint (#1218) prevent devices from being fetch when sync not visible (#1214) License and contributor guidelines for open-sourcing (#1189) Add a unique Bitwarden decryption failure pixel (#1197) Bump version to 1.41.0 (27) Update embedded files Check that the source and target frame security origins are equal (#1207) Add activation points pixels (#1206) Add Login export links to settings and Autofill 3 dot menu (#1183) sync device connected names (#1205) Autofill/subdomain matching (#1122) add-windows-browser-download-link-privacy-config (#1198) ...
Task/Issue URL: https://app.asana.com/0/1199230911884351/1204654293315452/f
Tech Design URL:
CC: @ayoy @diegoreymendez @graeme @mallexxx
Description:
This PR adds Network Protection to the macOS browser.
Steps to test this PR:
To test basic connectivity:
Issues to fix:
Internal references:
Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation