Repository navigation
protondrive 0.4.2
Added
- Background sync on macOS.
protondrive service enable [--timer],disableandstatusnow work on macOS
with launchd: a launch agent of your own (~/Library/LaunchAgents/io.github.nsky.protondrive.sync.plist) starts
at login and syncs continuously (or every 15 minutes with--timer) while you are logged in, with no
administrator rights. It restarts the sync the same way as on Linux and Windows, and stops for good when the
Proton session has ended. Its log is~/Library/Application Support/protondrive/state/logs/sync.log. Problems that
need attention show as macOS notifications. A synced folder in Documents, Desktop, Downloads or iCloud Drive needs
Full Disk Access for protondrive, whichservice enableandservice statuspoint out.
Changed
- The saved login is encrypted on macOS by default. A new login on macOS is saved as
session.cred, encrypted
with AES-256-GCM under a random key kept in your login keychain, so a copy of the file is useless without your
keychain. A login saved as a plain file before stays plain until you runprotondrive session encrypt;session statusshows which it is. Over SSH, with no one logged in to the Mac, the keychain is usually locked: log in to
the Mac first, or runsecurity unlock-keychain. - Background sync picks up added and removed folders by itself.
sync --watch, and so background sync in watch
mode, now checks the synced folders every 5 seconds: a folder added withsync addstarts syncing at once, and one
removed withsync removestops, with no need to restart it or runservice enableagain. Background sync that
starts with no folders yet waits for the first one instead of failing.
Security
- System programs are started from their full path. On Windows,
service enable,disableandstatusran
schtasks.exeby name, so aschtasks.exein the current folder would have run instead; on macOS the browser
sign-in foundopenthroughPATH. Both now come from the system folder. The security review
(docs/SECURITY-REVIEW.md) is updated for 0.4.2: browser sign-in, Windows and macOS, npm.
Full list of changes: v0.4.1...v0.4.2
Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.