Skip to content

gopass generate -g xkdc now fails if no language is set in config. #2792

@AnomalRoil

Description

@AnomalRoil

Summary

Generate using xkcd generator now requires a "lang" config option that is not set by default.

Steps To Reproduce

$ gopass generate -g xkcd test
How many words should be combined to a password? (q to abort) [4]:
2024/02/05 20:52:53 failed to use wordlist for lang : language "" has no matching wordlist
$ gopass config pwgen.xkcd-lang en
$ gopass generate -g xkcd test
✅ Password for entry "test" generated

Expected behavior

It works using the English language as a default.

Environment

  • OS: Ubuntu 22.04
  • gopass Version: master tip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDefectsuxUser experience / User Interface related

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions