Load the user and addresses and unlock their keys, one unlock at a time across all sessions so concurrent sign-ins don't multiply peak memory. Address key passphrases are taken from their Token only when the user key's signature on it verifies, as the SDK requires. Other users' public keys are fetched once per account and cached, an email without a Proton address having no keys. Password sign-in now derives the key password from the salt of the primary user key rather than the first salt, which is wrong for accounts whose user keys have different salts. The SDK uses the first salt; it remains the fallback when no salt matches. The fake server gives each user real Curve25519 user and address keys, and serves GET /core/v4/users, /core/v4/addresses and /core/v4/keys/all. gopenpgp v3 moves to a direct dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.3 KiB
1.3 KiB
TODO
Fork-only durable backlog for things noticed and deliberately not fixed.
Small, specific, independently actionable. Remove only when actually done.
(In Go source, upstream's FIXME/TODO comment convention still applies.)
Now
Next
- Propose a CI check for this fork:
AGENTS.md,CLAUDE.md,GEMINI.mdand thedocs/agent files exist, andAGENTS.mdis at most 150 lines. - Upstream CI (
.github/workflows/build.yml) is gated ongithub.repository == 'rclone/rclone'and the remote is Gitea, so this fork has no CI at all. Decide whether to add a Gitea Actions workflow.
Someday
Recurring
- Maintain
AGENTS.md:- Add a rule only in response to a real failure. Do not pre-empt hypothetical mistakes.
- Update in the same commit as the convention change.
- Prune quarterly, and re-check the Fork Workflow section against
upstream's
AGENTS.mdafter each upstream merge.
Known issues
RCLONE_CONFIG=/notfound go test ./...in the baregolang:1.26container fails 7 packages (list indocs/PERMISSIONS.md).fs/loggerneedsrsync; the mount, serve and smb failures are undiagnosed and are probably missing container tooling (FUSE, git-annex), not code. Confirm on a host with Go installed before treating a full-suite failure as a regression.