Skip to main content

Module changes

Module changes 

Source
Expand description

A password an agent changes on a site that already has an account (docs/specs/SPEC_VAULT_GENERATE_CAPTURE_AND_BROWSER_SIGNINS_2026_10_28.md §7.3).

The new password is a pending version of the saved sign-in for that site and user (super::versions, as a rotation’s is), not an entry of its own and not the entry’s value: the saved password stays the one that works until the site was sent the form with the new one. When the page’s listener reports a password-change form sent with exactly the pending value, the pending value becomes the entry’s and the old one is kept 7 days, replaced by the agent that made the change, for the person to put back. A form never sent (or refused) leaves the saved password as it was; the pending value stays for the person in the entry’s earlier values, as an interrupted rotation’s does.

Constants§

CHANGED
What the Activity line says when the site was sent the new password.
HOW
What the version is called in the entry’s history.

Functions§

abandon
The form of a change was never typed into: nothing saw the pending value, so none is kept.
confirm_sent
A password-change form of s was sent with password. If that is the pending change of one of the site’s saved sign-ins, it becomes the sign-in’s password and the old one is kept 7 days. Gives the entry. None for any other password: the person’s own, offered “Update password?” like any sign-in.
saved_login
The saved sign-in the agent means: the one profile keeps for s’s site, for username (the one the agent or the form names) or, when none is named, the site’s only one. It must be in a Vault the agent may use, and not one made on a sign-up that was never sent.
start
Keeps password as the pending change of row’s password, made by agent. A change made earlier and never sent is set aside for the person (the site may still hold it).