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

SSH keys registered with a dot in their name break VM creation. #1226

Open
JN513 opened this issue Nov 1, 2024 · 1 comment
Open

SSH keys registered with a dot in their name break VM creation. #1226

JN513 opened this issue Nov 1, 2024 · 1 comment
Labels
bug Something isn't working cli cli related improvements vm virtual machines-related issue

Comments

@JN513
Copy link

JN513 commented Nov 1, 2024

Keys registered with a dot in their name, such as in the example command below:

mgc profile ssh-keys create --key "$(cat ~/.ssh/id_magalu.pub)" --name julio.avelar

break the VM creation system, while keys without a dot do not produce the same error.

@luizcavalcanti luizcavalcanti added bug Something isn't working cli cli related improvements vm virtual machines-related issue labels Nov 13, 2024
@joao-paulino-core
Copy link

joao-paulino-core commented Jan 6, 2025

Oops, let's add name validation to our APIS, initially [a-zA-Z0-9-_] will be the allowed characters. As soon as we have updates, I will let you know here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli cli related improvements vm virtual machines-related issue
Projects
None yet
Development

No branches or pull requests

3 participants