Skip to content

Conversation

@Da3zKi7
Copy link
Contributor

@Da3zKi7 Da3zKi7 commented Sep 18, 2025

  • Implement complete ProtonDrive storage driver with end-to-end encryption support
  • Add authentication via username/password with credential caching and reusable login
  • Support all core operations: List, Link, Put, Copy, Move, Remove, Rename, MakeDir
  • Include encrypted file operations with PGP key management and node passphrase handling
  • Add temporary HTTP server for secure file downloads with range request support
  • Support media streaming using temp server range requests
  • Implement progress tracking for uploads and downloads
  • Support directory operations with circular move detection
  • Add proper error handling and panic recovery for external library integration

Closes #9312

- Implement complete ProtonDrive storage driver with end-to-end encryption support
- Add authentication via username/password with credential caching and reusable login
- Support all core operations: List, Link, Put, Copy, Move, Remove, Rename, MakeDir
- Include encrypted file operations with PGP key management and node passphrase handling
- Add temporary HTTP server for secure file downloads with range request support
- Support media streaming using temp server range requests
- Implement progress tracking for uploads and downloads
- Support directory operations with circular move detection
- Add proper error handling and panic recovery for external library integration

Closes AlistGo#9312
@Da3zKi7 Da3zKi7 force-pushed the feat/proton-drive branch 2 times, most recently from 0855800 to 5230bf4 Compare September 18, 2025 07:46
@okatu-loli
Copy link
Collaborator

@Da3zKi7 Thank you for contributing this PR! However, CI failed when building for linux/s390x:

../../../go/pkg/mod/github.com/!proton!mail/go-srp@v0.0.7/server.go:13:2: found packages saferith (arith.go) and big (arith_s390x_test.go) in /home/runner/go/pkg/mod/github.com/cronokirby/saferith@v0.33.0

This error comes from the upstream dependency cronokirby/saferith.
On s390x it mixes two packages in the same directory: package saferith and package big (arith_s390x_test.go), which breaks the multi-arch build.

Could you please update your PR to fix this issue?
We won’t be able to merge until the build passes.

@Da3zKi7
Copy link
Contributor Author

Da3zKi7 commented Sep 18, 2025

@okatu-loli Thank you for the feedback. I'm trying to fix that.

@Da3zKi7
Copy link
Contributor Author

Da3zKi7 commented Sep 18, 2025

@okatu-loli Done. Thank you for supporting me during checks.

I have to fork to https://github.com/Da3zKi7/saferith

And also did

replace github.com/cronokirby/saferith => github.com/Da3zKi7/saferith v0.33.0-fixed

arith_s390x_test.go was the problematic file, code had no sense, I cannot figure out why...

Anyway, finally compiled and everything is ok.

Best regards

okatu-loli
okatu-loli previously approved these changes Sep 18, 2025
- Implement complete ProtonDrive storage driver with end-to-end encryption support
- Add authentication via username/password with credential caching and reusable login
- Support all core operations: List, Link, Put, Copy, Move, Remove, Rename, MakeDir
- Include encrypted file operations with PGP key management and node passphrase handling
- Add temporary HTTP server for secure file downloads with range request support
- Support media streaming using temp server range requests
- Implement progress tracking for uploads and downloads
- Support directory operations with circular move detection
- Add proper error handling and panic recovery for external library integration

Closes AlistGo#9312
@skysliences skysliences self-requested a review September 30, 2025 06:18
@skysliences skysliences merged commit 81a7f28 into AlistGo:main Sep 30, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for Proton Drive

3 participants