No SSH pub key content or fingerprint in WebUI

Bug #1994943 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Medium
Unassigned
3.4
Won't Fix
Medium
Unassigned
maas-ui
Triaged
Medium
Unassigned

Bug Description

MAAS can manage SSH keys for a user, but it doesn't show the content of public keys nor fingerprint. That makes key management hard like users are not able to distinguish keys precisely other than the comment.

Would be nice to a capability to reveal either the full content of a pub key or a fingerprint (ssh-keygen -l).

For the record, an API request can reveal the full content.

$ maas admin sshkeys read
Success.
Machine-readable output follows:
[
    {
        "key": "ssh-ed25519 (...) ubuntu@maas",
        "id": 1,
        "keysource": "",
        "resource_uri": "/MAAS/api/2.0/account/prefs/sshkeys/1/"
    }
]

Revision history for this message
Nobuto Murata (nobuto) wrote :

4 keys are different each other, but those look the same in WebUI.

Revision history for this message
Anton Troyanov (troyanov) wrote :

Hi Nobuto,

Thanks for the bug report.

To me it seems to be a feature request.
We are tracking those on Discourse, so I've created a new post there instead:
https://discourse.maas.io/t/show-fingerprint-for-user-ssh-keys/6455

Changed in maas:
status: New → Invalid
Revision history for this message
Nobuto Murata (nobuto) wrote :

This is a UI bug as a key deletion operation can remove an unexpected key.

Nobuto Murata (nobuto)
tags: added: ui
Nobuto Murata (nobuto)
Changed in maas:
status: Invalid → New
tags: added: bug-council
Changed in maas:
importance: Undecided → Medium
milestone: none → 3.4.0
status: New → Triaged
tags: removed: bug-council
Revision history for this message
Thorsten Merten (thorsten-merten) wrote (last edit ):

We could add a tooltip on hover showing the full key as well as a column with the fingerprint

no longer affects: maas-ui
Changed in maas-ui:
milestone: none → 3.4.0
status: New → Triaged
importance: Undecided → Medium
tags: removed: ui
Alberto Donato (ack)
Changed in maas:
milestone: 3.4.0 → 3.4.x
Changed in maas:
milestone: 3.4.x → 3.5.x
Changed in maas-ui:
milestone: 3.4.0 → 3.5.x
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.