Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow generating key without reading config #322

Open
Dreamsorcerer opened this issue Jan 11, 2021 · 1 comment
Open

Allow generating key without reading config #322

Dreamsorcerer opened this issue Jan 11, 2021 · 1 comment

Comments

@Dreamsorcerer
Copy link

It would be nice to be able to generate a simple key without worrying about config values in .fwknoprc. Currently I get:

> fwknop --key-gen --hmac-key-len=128
Must specify --gpg-recipient-key when GPG is used.

Because I have USE_GPG Y in the [default] section, as I want to use it on all servers. The key gen does not need to worry about these parameters.

@Dreamsorcerer
Copy link
Author

I've just spotted that there is a --no-rc-file option. So, if it's non trivial to do this automatically on key gen, then using that argument will be good enough for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant