When adding an SSH Pubkey in the web UI (at `.../r/account/prefs/ssh-keys`) the comment of the Pubkey is only shown in the UI, when it does not contain spaces. Otherwise the first few characters of the key material are shown. The first few characters are often the same between different keys, making it impossible to distinguish them in the web UI. The last bit is related to: #1994943.
# Version and build
3.4.1
# Interface used
Web interface.
# What happened
When a key is added with no spaces in the comment, the UI works as expected. When the comment contains a space, the comment is not shown, instead the start of the key material is shown. See screenshot for an example of both behaviors.
# Steps to reproduce
I added the following to newly generated keys using the "Source: Upload" in the web interface:
```
$ ssh-keygen -t ed25519 -f ~/.ssh/test1 -C "test_nospace"
$ ssh-keygen -t ed25519 -f ~/.ssh/test2 -C "test with space"
$ cat ~/.ssh/test1.pub
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM8lzUoxsq0Vlg1YBryNMPT0o9QwD9/LhvP9+zPOgK29 test_nospace
$ cat ~/.ssh/test2.pub
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICCM6h+Y4UU/c8Qr3auS6tLFNsVMMe/+hJMDdn44HknI test with space
```
# Bug summary
When adding an SSH Pubkey in the web UI (at `.../r/ account/ prefs/ssh- keys`) the comment of the Pubkey is only shown in the UI, when it does not contain spaces. Otherwise the first few characters of the key material are shown. The first few characters are often the same between different keys, making it impossible to distinguish them in the web UI. The last bit is related to: #1994943.
# Version and build
3.4.1
# Interface used
Web interface.
# What happened
When a key is added with no spaces in the comment, the UI works as expected. When the comment contains a space, the comment is not shown, instead the start of the key material is shown. See screenshot for an example of both behaviors.
# Steps to reproduce
I added the following to newly generated keys using the "Source: Upload" in the web interface:
``` 1NTE5AAAAIM8lzU oxsq0Vlg1YBryNM PT0o9QwD9/ LhvP9+zPOgK29 test_nospace 1NTE5AAAAICCM6h +Y4UU/c8Qr3auS6 tLFNsVMMe/ +hJMDdn44HknI test with space
$ ssh-keygen -t ed25519 -f ~/.ssh/test1 -C "test_nospace"
$ ssh-keygen -t ed25519 -f ~/.ssh/test2 -C "test with space"
$ cat ~/.ssh/test1.pub
ssh-ed25519 AAAAC3NzaC1lZDI
$ cat ~/.ssh/test2.pub
ssh-ed25519 AAAAC3NzaC1lZDI
```