Commit Graph

3 Commits

Author SHA1 Message Date
Joe Bryan
999b56f809 gen: improve |code confirmation prompt parser
Co-authored-by: fang <github@fang.io>
2021-05-05 14:29:31 -07:00
Joe Bryan
8e855b159f gen: warn and prompt for confirmation in |code %reset 2021-05-05 14:29:29 -07:00
Caio Marcelo de Oliveira Filho
df868e2c4f jael, eyre: Add a way to reset the web login code
Jael now stores a `step` that is combined with the original salt to
produce a new code.  A `%step` card is used to increment that value,
and effectively resetting the keys.  Because the first `step` is zero,
the first code is the same as before.

Eyre was changed to be notified with `%code-changed` so it can forget
old cookies, sessions and discard all the existing channels.

A new generator was added |code, that does both querying and
resetting the code

    |code             :: shows current code, step and help
    |code %reset      :: changes the code

The old +code generator still works correctly.
2020-07-31 11:35:48 -07:00