Activity log for bug #2064920

Date Who What changed Old value New value Message
2024-05-06 13:02:58 DB bug added bug
2024-05-06 13:02:58 DB attachment added Web UI showing the two different keys in the list of SSH keys https://bugs.launchpad.net/bugs/2064920/+attachment/5775476/+files/Screenshot%202024-05-06%20at%2014.42.15.png
2024-05-06 13:04:01 DB description # 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: ``` $ 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 two 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 ```
2024-05-07 08:03:31 Anton Troyanov bug task added maas-ui
2024-05-07 08:03:39 Anton Troyanov maas-ui: status New Triaged
2024-05-07 08:03:41 Anton Troyanov maas: status New Triaged
2024-05-07 08:04:23 Anton Troyanov maas-ui: importance Undecided Medium
2024-05-07 08:04:25 Anton Troyanov maas: importance Undecided Medium
2024-05-07 08:04:35 Anton Troyanov maas: milestone 3.6.0
2024-05-07 08:59:03 Peter Makowski maas-ui: milestone 3.6.0
2024-05-07 10:31:48 Peter Makowski attachment added https://github.com/canonical/maas-ui/pull/5426 https://github.com/canonical/maas-ui/pull/5426
2024-05-07 10:32:12 Nick De Villiers maas-ui: assignee Peter Makowski (petermakowski)
2024-05-07 10:32:18 Nick De Villiers maas-ui: status Triaged In Progress
2024-05-07 11:34:30 Peter Makowski maas-ui: status In Progress Fix Committed