[Proton Drive] Avoid embedding email in macOS CloudStorage provider folder name
Summary
- Request: Use a non-identifying provider-folder name for Proton Drive on macOS instead of embedding the user’s email in the folder name under ~/Library/CloudStorage.
- Goal: Prevent exposing user email/PII in local filesystem paths while preserving Finder and File Provider integration.
Problem
- Current folder names like ProtonDrive-joe@example.com expose users’ emails in paths, backups, logs, screenshots, and scripts.
- This risks accidental sharing of PII (e.g., in support tickets or screenshots).
Preferred solution
- Register the provider folder as ProtonDrive-.
- - Example: /Users//Library/CloudStorage/ProtonDrive-8f3a2b/
- - : an 8–12 character stable, non-reversible token (hex or base62) mapped server-side to the account.
- - Token must remain stable across reinstalls/sign-ins for the same account so local paths don’t break.