Skip to content

Releases

protondrive 0.4.3

Choose a tag to compare

@github-actions github-actions released this 06 Dec 03:21

Added

  • Listed in the MCP Registry. The MCP server is published to the
    MCP Registry as io.github.NSky/protondrive, so AI clients that browse
    the registry can find it and set it up. Each release updates the listing.

Changed

  • protondrive mcp takes --option=value too. Every option with a value also accepts it joined with =
    (--local-dir=/home/you/ProtonDrive-AI), the form clients build from the registry's description of the server.

Full list of changes: v0.4.2...v0.4.3


Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.

protondrive 0.4.2

Choose a tag to compare

@github-actions github-actions released this 04 Dec 04:36

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.

protondrive 0.4.1

Choose a tag to compare

@github-actions github-actions released this 03 Dec 05:01

Added

  • Sign in through the browser. protondrive login --browser opens Proton's own sign-in page (or prints its
    address, to open on any device, also over SSH) and waits up to 10 minutes. Your password, 2FA code and mailbox
    password are typed only on Proton's page, never into protondrive; it receives the new session and the key
    password encrypted for it alone. The library offers the same as ProtonDriveAccount.LoginInBrowserAsync.

  • Background sync on Windows. protondrive service enable [--timer], disable and status now work on
    Windows with Task Scheduler: a task of your own starts at logon and syncs continuously (or every 15 minutes with
    --timer) while you are logged on, with no window and no administrator rights. Its output goes to
    %LOCALAPPDATA%\protondrive\state\logs\sync.log, kept to two files of 5 MB, and service status shows the
    last lines. As with systemd, a sync that fails is restarted after a minute, a newly installed version is started at
    once, and an ended Proton session stops it for good instead of restarting it in a loop: run protondrive login,
    then service enable again. disable asks the running sync to finish its current step before it stops.

Changed

  • session decrypt warns and asks first. It shows in red that a plain session file lets anyone with a copy use
    your account without your password or two-factor code, then asks [y/N]. -y or --yes skips the question,
    and is needed without a terminal. Nothing is asked when the session is not encrypted.

  • Clearer sync add help. It now reads sync add <local-folder> <drive-folder>, says the Proton Drive folder
    always uses /, and gives an example for Linux and macOS (~/Proton /Backup/Laptop) and for Windows
    (C:\Users\you\Proton /Backup/Laptop).

Fixed

  • Windows: output lines no longer end with \x0D. The filter that keeps file names from controlling the
    terminal showed the carriage return of every Windows line break as a visible escape. It now keeps a line break
    (CR LF) as it is, and still shows a lone carriage return, which could overwrite the line, as \x0D.

  • Windows: colors, symbols and the live status line in cmd, PowerShell and Windows Terminal. protondrive now
    turns on the console's color codes itself and writes UTF-8, so ⇄ no longer shows as ?, and puts the console
    back as it was when it exits. A classic console window (cmd or PowerShell in their own window), whose fonts lack
    some symbols, gets ASCII: <-> for ⇄, ... for …, and a |/-\ spinner. Dim text there is gray, since it
    has no faint text.

  • Help headings are bold blue instead of only bold, which looked like plain text on Windows.

Full list of changes: v0.4.0...v0.4.1


Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.

protondrive 0.4.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 20:43

Added

  • Windows and macOS builds (preview). Each release also has protondrive-<version>-win-x64.zip,
    -win-arm64.zip, -osx-x64.tar.gz and -osx-arm64.tar.gz: unpack and run, no installer. The commands and the MCP
    server work; there is no background service yet. On Windows the saved login is encrypted with DPAPI by default.
    The files are not signed by a publisher, so SmartScreen and Gatekeeper warn about them.

  • Install with npm on Linux, Windows and macOS: npm install -g @nskylabs/protondrive-cli, or
    npx -y @nskylabs/protondrive-cli mcp in an MCP client's settings. npm installs only the program for your platform, the
    same self-contained build as the archives; Node.js only starts it. It has no background service: on Linux,
    protondrive service enable says to install from the archive or a package for that.

Fixed

  • Sync no longer mixes up names that differ only in letter case. On a local folder that ignores case (a FAT,
    exFAT or NTFS drive), Notes.txt and notes.txt on Proton Drive could end up as one local file. Every pass now
    checks how the local file system compares names, leaves such items unchanged on both sides with a warning, and
    syncs a rename that only changes case as a rename.

  • session status says when no login is saved, and where the next one goes, instead of describing a file that
    does not exist.

Changed

  • New logins are encrypted with systemd-creds by default on Linux with systemd 256 or newer, as they are with
    DPAPI on Windows. Each command then takes about 1.5 seconds longer to start. A login saved as a plain file
    before stays plain until protondrive session encrypt; protondrive session decrypt turns it off for later logins
    too. If encrypting a new login fails, it is saved as a plain file.
  • The User-Agent names the OS and architecture, such as protondrive/0.4.0 (linux; x64), instead of
    (Unix).

Full list of changes: v0.3.0...v0.4.0


Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.

protondrive 0.3.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 03:24

Added

  • MCP server for AI assistants. protondrive mcp lets AI clients such as Claude Code, Claude Desktop or Cursor
    use Proton Drive through the Model Context Protocol. It runs over stdin and stdout only and never listens on the
    network. Its tools list folders, show details, read small text files, download and upload (only within the folder
    given with --local-dir), create folders, move, rename and move items to the trash, with the same rules as the
    commands: nothing is overwritten and nothing is deleted permanently. --read-only, --root <path> and
    --no-content limit what it can see and do. Contents that a tool returns reach the AI client, and with a cloud
    model its provider; see the README.

Changed

  • download creates no local folders until it has listed everything. Before, the folders were created while
    listing Proton Drive, so a listing that failed partway left empty folders behind.
  • delete reports every missing path at once. Like move, it lists all the paths that do not exist, then
    Nothing deleted., instead of stopping at the first one.
  • move and rename report every missing source at once. Before, the first missing path stopped the command
    with only that error; now all of them are listed, followed by Nothing was moved., like the other problems that
    are checked before anything moves. The rules themselves are unchanged: nothing is overwritten, and nothing moves
    unless every item can.
  • move and rename print the sync notes after the moved items. The notes about synced folders now follow the
    Moved ... lines instead of coming first.
  • download no longer prints Scanning <folder> .... The status line shows the listing while it runs.

Fixed

  • "Needs attention" messages can no longer control your terminal. The summary printed when you open a terminal,
    and the PROTONDRIVE-SYNC-NEEDS-ATTENTION.txt notice in a synced folder, now show control characters as visible
    escapes (such as \x1B), like the rest of protondrive's output. Before, an error message containing them was
    printed as is. Found in the security review; not judged exploitable.
  • upload and sync no longer hang on a named pipe (FIFO), socket or device. .NET shows these as ordinary
    files, so they were treated as files to upload, and reading a FIFO blocks forever: upload would hang, and
    sync --watch would stop syncing. Now the kernel is asked for the real file type. upload skips them (and refuses
    one given as the path to upload), the sync leaves them alone on both sides, and both check again just before
    reading a file.
  • delete no longer counts an item as done when Proton Drive gives no answer for it. Such an item is now
    reported as failed, and with --permanent it is not deleted from the trash.
  • sync remove no longer fails for a folder that was never synced. Removing a folder before its first sync
    stopped with "Could not find a part of the path" after it had already been removed from the settings.
  • sync add checks for overlapping folders again while saving. Two sync add commands run at the same time could
    both add folders that overlap. It also no longer treats a folder whose name starts with .. (such as ..data) as
    outside its parent.

Full list of changes: v0.2.13...v0.3.0


Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.

protondrive 0.2.13

Choose a tag to compare

@github-actions github-actions released this 30 Nov 01:36

Added

  • rename gives a file or folder a new name. protondrive rename /Docs/old.txt new.txt (also ren) renames
    the item in its folder. Like move, it never overwrites anything, and the next sync renames the local copy of a
    synced item too. Unlike move, a new name that matches an existing folder is refused instead of moving the item
    into that folder.

Fixed

  • Restarting on a new version no longer logs a failure. After an update, the watch service restarted on the new
    version as it should, but systemd logged Failed with result 'exit-code' with status 75: the stop that the
    restart sends could arrive before protondrive exited cleanly. The service now treats exit code 75 as a clean
    restart, and protondrive exits with 0 when systemd is already stopping it. The unit file changes with this
    release, and the next update reloads it on its own.

Full list of changes: v0.2.12...v0.2.13


Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.

protondrive 0.2.12

Choose a tag to compare

@github-actions github-actions released this 30 Nov 01:05

Added

  • .deb and .rpm packages. Each release now also has nsky-protondrive-client packages for Debian, Ubuntu and
    derivatives (.deb) and for Fedora, openSUSE, RHEL and derivatives (.rpm), for x86-64 and ARM64. Open one with
    your software installer, or use apt install ./… or dnf install ./…. They install the same files as
    install.sh --prefix /usr, and are checked against SHA256SUMS like the archives.
  • info shows everything about a file or folder. protondrive info <path>... (also stat) prints the size,
    modification, upload and creation times, the storage used by this and all versions, the SHA-1, thumbnails, extra
    metadata, the owner and sharing, who signed the name, keys and content (and whether the signatures verify), and
    the IDs. For a folder it counts the folders and files directly inside.

Full list of changes: v0.2.11...v0.2.12


Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.

protondrive 0.2.11

Choose a tag to compare

@github-actions github-actions released this 29 Nov 16:42

Fixed

  • No more stray "401 (Unauthorized)" warnings in watch mode. When the access token expired and refreshing it
    failed once (a network blip, or the network not back yet after a resume), Proton's SDK retried with the expired
    token, and the pass failed with a bare 401. The session was fine, and the next pass a minute later worked. Now
    sync --watch retries such a pass after 5 seconds without a warning. If it fails again, the warning says why the
    token could not be refreshed, for example the server answered 503 (Service Unavailable).
  • The log says when sync works again. After a failed pass was reported with a warning, the next successful
    pass in sync --watch adds a line such as … ⇄ /: signed in to Proton Drive again (the access token was refreshed); sync is working., so the log no longer ends on an error while everything works. If the same problem
    comes back later, it is reported again.

Full list of changes: v0.2.10...v0.2.11


Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.

protondrive 0.2.10

Choose a tag to compare

@github-actions github-actions released this 28 Nov 02:53

Added

  • A security review. SECURITY-REVIEW.md shows, with references to the code, how your
    password, session and files are handled. The README links to it.

Security

  • File names can no longer control the terminal. A name on Proton Drive (for example one chosen by someone you
    share a folder with) could contain escape sequences that change the window title, move the cursor and rewrite
    earlier lines, such as the list of held deletions. On a terminal, control characters and invisible text-direction
    characters in names and messages are now shown as visible escapes (\x1B, \u202E). Output to pipes, files and
    the journal is unchanged.
  • download no longer writes through a link at its partial file. The .protondrive-part file is now always
    created new. Before, a symbolic link placed at that name could make a download overwrite the file it pointed to,
    in a download folder that other users can write to. Sync downloads, which use random names in a private folder,
    get the same protection.
  • The HTTP debug trace hides storage tokens. With PROTONDRIVE_DEBUG_HTTP=2, any header with "token" in its name
    is now shown as <redacted>, like Authorization already was. That includes pm-storage-token on block uploads and
    downloads.

Full list of changes: v0.2.9...v0.2.10


Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.

protondrive 0.2.9

Choose a tag to compare

@github-actions github-actions released this 28 Nov 02:01

Changed

  • Proton's libraries are now built straight from Proton's repositories. The Drive SDK packages
    (Proton.Drive.Sdk, Proton.Drive.Sdk.Account) are Proton's C# release 0.33.1, and Proton.Cryptography 0.40.1
    is built from Proton's dotnet-crypto. Both are built by this repository's workflows instead of from forks. The
    code is the same as in 0.2.8; only the version numbers now match Proton's.

Full list of changes: v0.2.8...v0.2.9


Provided as is, without warranty. Unofficial; not affiliated with Proton AG. See the README's Install section and Disclaimer.