In order for spectre to output the same identity as mpw, -t n must be added:
$ spectre -u Test -S 123 -p i -t n site
Test's site login for site:
[ ╰░╗✌ ]: ciqwupori
This is concerning for two reasons:
- The defaults do not match. This makes switching from mpw to spectre error-prone.
- The help output[1] lists only one "9 letter name" template (
-t n) and says this is the -p i default, which is not the behavior being demonstrated. Unlike mpw, which as expected outputs the same value whether -p i or -p i -t n is used, spectre seems to split this into two undocumented modes: "global login" (via -p i) and "site login" (via -p i -t n). Fundamentally, it is very unexpected that certain values can be derived only if no template is specified.
[1]: Related help output:
-t pw-type Specify the password's template.
Defaults to 'long' (-p a), 'name' (-p i) or 'phrase' (-p r).
x, maximum | 20 characters, contains symbols.
l, long | Copy-friendly, 14 characters, symbols.
m, medium | Copy-friendly, 8 characters, symbols.
b, basic | 8 characters, no symbols.
s, short | Copy-friendly, 4 characters, no symbols.
i, pin | 4 numbers.
n, name | 9 letter name.
p, phrase | 20 character sentence.
K, key | encryption key (512 bit or -P bits).
P, personal | saved personal password (save with -P pw).