Write a threat model for re-encryption on failed authentication
What is delivered
A threat model for the design where a failed authentication changes the cryptographic scheme: what it defends against, what it does not, and what it costs.
Why it is needed
The claim is strong — that repeating a brute-force attempt stops paying off, and that the system gets stronger under attack. A claim that strong needs an adversary written down next to it.
Where to start
Useful attacks to reason about: an adversary who fails deliberately to force re-encryption; the cost of re-encryption to legitimate holders of the data; what happens to data in flight during a scheme change; and whether an attacker can distinguish schemes.
A well-argued "this does not hold under X" is as valuable as a defence of the design.
Prior material
Drayker has earlier work on this subject in its own knowledge base — drafts, mostly in Portuguese, written before the public repositories took their current shape. It is not published yet. If you take this function, say so in the thread and the relevant material will be published alongside it, so you are consolidating and arguing with existing thinking rather than starting from a blank page.
This is an open function: small enough for one person to finish, defined enough that the result composes with the rest. Claim it in this thread before starting so two people do not carry the same function, and deliver through a pull request to master. It appears on the board at https://drayker.org/#org/fn