help: note the S/KEY (RFC 2289) heritage + xkcd 936 memorable-words idea

The default R mode is the six-word S/KEY form. Mention it in the help command
(CLI + web console) and the web About panel, with a link to xkcd 936.
This commit is contained in:
Oleksandr Kozachuk
2026-06-08 21:15:15 +02:00
parent ba884037b0
commit f8e8a9981a
3 changed files with 12 additions and 6 deletions
+5 -2
View File
@@ -142,7 +142,9 @@ impl<'a> LKEval<'a> {
Command::Noop => { to_history = false; },
Command::Help => {
out.o(concat!(
"hel - passwords are generated from your master + the entry name; nothing secret is stored.\n",
"hel - S/KEY (RFC 2289) deterministic passwords from your master + the entry\n",
"name; nothing secret is stored. The default mode is six short, memorable words\n",
"(the \"correct horse battery staple\" idea from xkcd 936).\n",
"\n",
"entries\n",
" add <name> [len][mode] [seq] [date] [text] [^parent] define an entry\n",
@@ -162,7 +164,8 @@ impl<'a> LKEval<'a> {
" save [target] write it (file / localStorage key / |command)\n",
" source <target> load it set <key> <val> config\n",
"\n",
"modes R regular C camel N nospace H hex B base64 D decimal (U.. = UPPER)"
"modes R words C camel N hyphenated H hex B base64 D decimal (U.. = UPPER)\n",
" R is the six-word S/KEY form: memorable, pronounceable, easy to type anywhere."
).to_string());
}
Command::Mv(name, folder) => self.cmd_mv(&out, &name, &folder),