Skip to content

protondrive 0.4.2

Choose a tag to compare

@github-actions github-actions released this 04 Dec 04:36
· 2 commits to master since this release

Added

  • Background sync on macOS. protondrive service enable [--timer], disable and status now 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, which service enable and service status point 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 run protondrive session encrypt; session status shows 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 run security 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 with sync add starts syncing at once, and one
    removed with sync remove stops, with no need to restart it or run service enable again. 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, disable and status ran
    schtasks.exe by name, so a schtasks.exe in the current folder would have run instead; on macOS the browser
    sign-in found open through PATH. 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.