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

(MODULES-7671) - Support spaces in ssh key options #153

Merged
merged 4 commits into from
Aug 17, 2018

Conversation

dleske
Copy link
Contributor

@dleske dleske commented Aug 14, 2018

This PR attempts to resolve an issue described in the modules-7671 where a user's SSH key specifications may include options as would appear in an authorized_keys file, but the parsing fails on options that include a space, which should be valid. Instead of splitting the key specification string on spaces this PR uses a regular expression and support both simple (type-content-name) and less simple (options-type-content-name). Documentation is also updated to clarify that keys can include options, and that they must include the name component.

@dleske dleske changed the title MODULES-7671 - Support spaces in ssh key options [WIP] MODULES-7671 - Support spaces in ssh key options Aug 14, 2018
@dleske dleske changed the title [WIP] MODULES-7671 - Support spaces in ssh key options MODULES-7671 - Support spaces in ssh key options Aug 14, 2018
@david22swan david22swan changed the title MODULES-7671 - Support spaces in ssh key options (MODULES-7671) - Support spaces in ssh key options Aug 17, 2018
@david22swan david22swan merged commit c98b60b into puppetlabs:master Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants