Repository navigation
Conversation
…nifest and build script
…, and harden the Mac App Store scripts
…and the package signature, document the Mac App Store build in SECURITY.md
…nd protect an unreadable settings file The key tap is switched on when a reminder opens and off when it closes. Settings and diagnostics files are created with mode 600 and folders with 700, and older ones are tightened at launch. When an unreadable config.json cannot be moved aside, saves are skipped for that run so the original is not overwritten. Open GitHub issue and the credit link open fixed addresses and report launcher failures.
…iled inspection, and state the key listener precisely
Another team registered in.nudge.app, so the store build cannot use it. The Developer ID build keeps in.nudge.app, which keeps its Input Monitoring permission and login item.
Owner
Author
|
Update at de9e950: the store build now uses the bundle ID Apple reported Account setup done: the Verified at de9e950:
Not done yet:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nudge ships as a Developer ID app. The Mac App Store needs a sandboxed build, and the current app could not pass review. It opens at login through a LaunchAgent that the sandbox cannot write, and it uses private WebKit keys for its see-through windows.
This PR adds a separate Mac App Store build mode. The Developer ID build keeps its behavior. It also tightens privacy in both builds. Nudge still collects nothing and sends nothing.
Mac App Store build
sh scripts/build-mas.shbuilds from a clean clone of HEAD with--no-default-features --features mas. In that clone it removes tauri'smacos-private-apifeature, signs with App Sandbox entitlements and makesNudge.pkg.--localmakes an ad-hoc test copy under the bundle IDin.nudge.maslocal.SMAppService, so it needs macOS 13 or later.src-tauri/tauri.mas.conf.json,src-tauri/entitlements.mas.plist(sandbox,network.clientso WebKit can draw the windows, app and team identifiers) andsrc-tauri/PrivacyInfo.xcprivacy.scripts/check-mas-bundle.shchecks a built bundle against the store requirements.scripts/check-no-network.shfails if networking crates, imports or libraries appear.Privacy and data safety, both builds
config.jsonthat cannot be moved aside is never overwritten.PRIVACY.mdlists what Nudge stores and how to check each claim.Verified
cargo test --locked --offlinepasses 106 tests in the default build and in the mas mode, with no warnings, at a6dfbc0.sh scripts/build-mas.sh --localat 6feea59: every applicable bundle check passed, including the network scan.Not verified
.pkg. No installer certificate or Mac App Store provisioning profile exists yet.How this was proved: the tests in both build modes, the local store build with its bundle checker, and the runtime checks listed above.