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

flux_security_configure() fails when there is no configuration #168

Open
grondo opened this issue Jun 13, 2023 · 1 comment
Open

flux_security_configure() fails when there is no configuration #168

grondo opened this issue Jun 13, 2023 · 1 comment

Comments

@grondo
Copy link
Contributor

grondo commented Jun 13, 2023

Currently flux_security_configure (sec, NULL) fails with a fatal error if there is no security TOML files in the default glob.

This means we currently have to ship a default config with the package, but this should not be necessary. Instead of flux-security is not configured it should use some sane and safe default.

@garlick
Copy link
Member

garlick commented Sep 27, 2023

Just hit this on a test system.

Yeah, if no config, the defaults should probably match our recommended config of

[sign]
max-ttl = 1209600  # 2 weeks
default-type = "munge"
allowed-types = [ "munge" ]

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

2 participants