#1010191 xkcdpass: Option ‘--wordlist’ help text fails to mention the wordfile is ignored if missing

Package:
xkcdpass
Source:
xkcdpass
Submitter:
Lanquil
Date:
2022-04-25 23:54:03 UTC
Severity:
minor
Tags:
#1010191#5
Date:
2019-04-09 07:45:58 UTC
From:
To:
Dear Maintainer,

Using xkcdpass with:
xckdpass -w ita-wiki
gives English output instead of Italian

#1010191#10
Date:
2019-04-20 03:41:11 UTC
From:
To:
Control: tags -1 + moreinfo upstream

I suspect this is because the program silently skips a specified
wordfile if it does not exist. It then has a set of wordfiles that
includes the defaults, but does not include the one you specified.

This is done because on some systems, some standard word files do not
exist (e.g. ‘usr/share/cracklib/cracklib-small’) and the program
should therefore ignore them.

I'm interested to know what you would expect in this condition. What
do you think should be the behaviour when a word file is not found?
Error, warning, or something else?

#1010191#17
Date:
2022-02-23 08:48:29 UTC
From:
To:
Control: clone -1 -2
Control: retitle -1 xkcdpass: Should notify user when wordlist file not found
Control: severity -1 minor
Control: tags -1 = upstream confirmed moreinfo
Control: retitle -2 xkcdpass: Wordlist ‘ita-wiki’ described but not included
Control: severity -2 normal
Control: tags -2 = confirmed pending

This is because the wordlist is not found. The upstream program should
be improved to give some notification to the user.

Do you think the program should fail with an error, or merely warn
that a different wordlist will be used?

Those are described in the documentation and included. The ‘ita-wiki’
wordlist is also described, but is not included; this is a separate
bug in the Debian package.

#1010191#30
Date:
2022-02-23 09:16:47 UTC
From:
To:
Thank you. Alright, I will keep this bug report open until this is
fixed.

#1010191#41
Date:
2022-04-25 23:42:43 UTC
From:
To:
Control: tags -1 + upstream
Control: forwarded -1 https://github.com/redacted/XKCD-password-generator/issues/147
Control: severity -1 minor

The documentation for ‘--wordlist’ does not describe this behaviour. I
have created an upstream bug report for this.