gopass
gopass copied to clipboard
Allow disabling the default `gopass create` wizard templates
Currently, the two default wizard templates for gopass create
("Website login" & "PIN Code (numerical)") seem to always load in as options for the wizard.
It would be nice to have a config option to turn this off so that only custom templates appear as options in that wizard menu. I particularly want this because both stock templates are marked "priority: 0", which forces you to use negative priority values in custom templates if you want them to appear first in the list (important if you want to change the default option).
Sounds like a valid feature request. But we'll need to figure out how to handle this cleanly.
Would you prefer to configure this per password store or per user?
@dominikschulz, in my opinion this issue could be resolved in different way than originally suggested by @chaorace.
How about removing hard-coded templates and automatically adding ".gopass/create/default.yml" with one default template to every new password store? This approach would give the users more control over all templates.
If someone would delete ".gopass/create/default.yml" (without creating any other templates), the program could inform them that no templates are available and ask for username and password that would be stored in root of the password store without any specific prefix.