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

usermanagement: prohibit empty ssh keys #483

Merged
merged 2 commits into from
May 7, 2024

Conversation

bastelfreak
Copy link
Collaborator

previously we allowed ssh keys as empty strings ''. This doesn't make sense and breaks the accounts_ssh_authorized_keys_line_parser() function.

Summary

Provide a detailed description of all the changes present in this pull request.

Additional Context

Add any additional context about the problem here.

  • Root cause and the steps to reproduce. (If applicable)
  • Thought process behind the implementation.

Related Issues (if any)

Mention any related issues or pull requests.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@bastelfreak bastelfreak self-assigned this May 7, 2024
@bastelfreak bastelfreak requested a review from a team as a code owner May 7, 2024 09:08
previously we allowed ssh keys as empty strings `''`. This doesn't make
sense and breaks the `accounts_ssh_authorized_keys_line_parser()`
function.
@bastelfreak bastelfreak merged commit 883ba88 into puppetlabs:main May 7, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants