nyarly / simplekey

Compatible shell scripts to make GnuPG more accessible and easier to use.
The Unlicense
93 stars 12 forks source link

Configuration #9

Open nyarly opened 10 years ago

nyarly commented 10 years ago

There a several options to gpg that it would be really useful to use, but I would like users to be able to set them as they please.

gpg (quite correctly) only reads from a single config file, so having simplekey use a "new default" file and let the user's options override isn't an option.

I'm tempted to create a set of options for simplekey, and add function to check that all of those options at least have values. If not, issue a warning or fail, with the suggestion of running ./simplekey configure to edit the file automatically to add those options.

The problem with this option is that it couples tightly to the gpg2 options format, but gpgconf doesn't manage a number of the options I'd like to be using.

dashohoxha commented 8 years ago

I think that a strongly opinionated tool should use reasonable defaults, which work well on most cases (under certain conditions and assumptions). But it should also allow the users to change them easily, if they want to.