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

local_auth setting is not documented anywhere #3052

Closed
webvictim opened this issue Oct 3, 2019 · 4 comments
Closed

local_auth setting is not documented anywhere #3052

webvictim opened this issue Oct 3, 2019 · 4 comments
Assignees
Milestone

Comments

@webvictim
Copy link
Contributor

What happened: If you have changed the default auth service configuration when trying to start Teleport in FIPS mode (using teleport start --fips), Teleport will fail to start and say error: non-FIPS compliant authentication setting: "local_auth" must be false

local_auth doesn't appear in our documentation anywhere as far as I can tell so it's hard to know 1) what this setting does and 2) where it should be set.

It should be described in the configuration section of the admin guide (https://gravitational.com/teleport/docs/admin-guide/#configuration)

What you expected to happen: local_auth to appear in the configuration reference.

It goes under auth_service.authentication like this:

auth_service:
  authentication:
    local_auth: false

It's also worth noting that it's incompatible with the second_factor setting under auth_service.authentication - if you set both in the config, you get this warning: WARN Second factor settings will have no affect because local authentication is disabled. Update file configuration and remove "second_factor" field to get rid of this error message.

How to reproduce it (as minimally and precisely as possible): Set up Teleport with a config where auth_service.authentication has been changed from the default.

Environment:

  • Teleport version (use teleport version): 4.1.0
@webvictim
Copy link
Contributor Author

FYI, the setting was introduced in this PR: #2575

@benarent
Copy link
Contributor

benarent commented Oct 3, 2019

I think a good starting point would be add a specific FIPS info under Teleport Enterprise.

It would be good to add #2789 to 4.2. @alex-kovoy What do you think?

@webvictim
Copy link
Contributor Author

The FIPS documentation is in the 4.2 milestone so adding this as well. That way we'll remember to close it when it's done.

@benarent
Copy link
Contributor

benarent commented Nov 9, 2019

Closed with #3129

@benarent benarent closed this as completed Nov 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants