Files
rclone/docs/plans
Lucas WintherandClaude Opus 5.5 0bb2dbdf34 protondrive: add node cryptography
Add the OpenPGP operations of the Drive data model as pure functions:
node keys and passphrases, names, hash keys and lookup hashes, content
keys, blocks, verifier tokens, manifests and extended attributes.

The formats follow the reference SDK (driveCrypto.ts, openPGPCrypto.ts),
which differs from the plan's Task 5 interfaces in these ways, now
updated in the plan:

- node keys are v4 EdDSA/ECDH with user ID "Drive key" and ordinary S2K
  locking; file keys (aead=true) advertise SEIPDv2 with AES-256-GCM and
  folder keys don't, as the SDK's enableAead
- the content key is v6 only when the node key advertises SEIPDv2, as
  the SDK's preference-following session key generation
- the content key signature is checked on read against the node key and
  extra (address) keys
- block signatures are encrypted with the content session key, as the
  SDK's encryptSignature
- hash keys are signed by the node key; reading also accepts address keys
- reencryptPassphrase signs anew, and encryptName takes the current name
  session key for rename and move
- name length is counted in UTF-16 code units, as the SDK

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 11:27:57 +01:00
..

Plans

Fork-only. Implementation plans from the superpowers writing-plans workflow. Transient: a plan lives only on its feature branch and is removed with git rm before the merge request is opened. This README stays.

  • Naming: NNN-short-slug.md, matching its spec number.
  • Links back to its spec. Bite-sized checkbox tasks with exact file paths, test commands, and commit checkpoints.
  • Written for an engineer with zero context for this codebase - spell out the obvious.
  • Tick checkboxes as you go so another agent can resume an interrupted session.
  • Front matter: status: draft | approved | in-progress. There is no done - a finished plan is deleted.