#88 Adding multiple SSH keys to profile does not automatically split them

Opened by Techcable on Dec 11, 2022, 9:59 AM
// Techcable on Dec 11, 2022, 9:59 AM

Pasting the following ssh keys to my profile creates one uber-key instead of three separate ones:

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILz8qIBZhI52LQWXsg1E52WMsO1V/SucrLxQS9xBAmLK techcable@macbook-2021
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJYgKB6GCidME0tCVsTDeHRSrRZIoJ4cs7m8GnRnWnoB techcable@macbook-2021-asahi
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJPEIvQSVO7r+CcANdr/TRTT+BbG/igOQlWUV5h4vp6W techcable@archlinux-lenovo-2017

I don’t know if this uber-key actually allows ssh access. Even if it works fine, the UI is broken because the keys can’t be independently deleted on the web.

This is a minor issue, but the behavior is unexpected and differs from Github/Sourcehut.

As an alternative to splitting, maybe an error message should probably be given if the key can’t pass some sort of validation.