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

Add instructions to use FIDO/U2F compatible SSH keys #131

Merged
merged 2 commits into from
Jan 15, 2024

Conversation

davlgd
Copy link
Collaborator

@davlgd davlgd commented Jan 5, 2024

Checklist

@davlgd davlgd requested a review from juliamrch January 5, 2024 21:21
@davlgd davlgd self-assigned this Jan 5, 2024
Copy link

github-actions bot commented Jan 5, 2024

Deployment has finished 👁️👄👁️ Your app is available here

Copy link

github-actions bot commented Jan 8, 2024

Your review app has been deleted 👋

Copy link

github-actions bot commented Jan 8, 2024

Deployment has finished 👁️👄👁️ Your app is available here

Copy link
Collaborator

@juliamrch juliamrch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this branch wasn't up to date, because this is the file currently deployed with steps shortcodes and updated format: https://developers.clever-cloud.com/doc/account/ssh-keys-management/#how-to-add-your-ssh-key-on-clever-cloud

Copy link

🚀 Your app has been updated and is available here

@juliamrch
Copy link
Collaborator

@CleverAkanoa
Copy link

CleverAkanoa commented Jan 11, 2024

It seems there are some concerns on the ecdsa key length.
https://wiki.archlinux.org/title/SSH_keys#ECDSA

The preferred method is

brew install libfido2
brew install openssh
ssh-keygen -t ed25519-sk -C "my ed25519-sk key"

https://stackoverflow.com/a/77539417

But I haven't mac device to test it.

Edit: @davlgd has tested, the procedure doesn't work

@davlgd
Copy link
Collaborator Author

davlgd commented Jan 11, 2024

I didn't find a simple way for ed25519-sk to work on my machine with FIDO2/U2F keys, but I'll monitor this to update when such a "bug" is fixed from Apple or OpenSSH

@juliamrch
Copy link
Collaborator

It seems there are some concerns on the ecdsa key length. https://wiki.archlinux.org/title/SSH_keys#ECDSA

Yep. Ultimately the users will make their mind and choose the format. Not sure it's worth mentioning how the NSA is hurting the Cryptography Standard, seems a lil too deep for this doc.

The preferred method is

brew install libfido2
brew install openssh
ssh-keygen -t ed25519-sk -C "my ed25519-sk key"

https://stackoverflow.com/a/77539417

But I haven't mac device to test it.

I have a Mac but already have libfido2 running on it, so who knows. I don't think many people doing development wouldn't have it installed anyway, it's required for running mysql and other stuff.

@juliamrch juliamrch merged commit 914bca6 into main Jan 15, 2024
3 checks passed
@juliamrch juliamrch deleted the davlgd-ssh-FIDO-keys branch January 15, 2024 17:17
Copy link

Your review app has been deleted 👋

juliamrch added a commit that referenced this pull request Jan 22, 2024
Co-authored-by: Julia March <101819212+juliamrch@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

Document 2FA SSH key
3 participants