Comment 6 for bug 1671844

Revision history for this message
Andres Rodriguez (andreserl) wrote : Re: [Bug 1671844] Re: [UI, 2.1.3] MAAS API key name not exposed in the UI.

FWIW, this is NOT about the comment in the SSH key field. This is about the
*name* of the API KEY.

On Wed, Apr 17, 2019 at 3:56 AM Lee Trager <email address hidden> wrote:

> The comment is always the last part of public key. The websocket returns
> a short version of the public key separated by a ; with for the comment.
> The comment may be cropped see [1]
>
> For example my public SSH key is
>
>
> /+AMKZ0lK0LiU0j2Y6Vz4u8uGAFKOa6bfs7xL25z9wG7cdg6SLfuxoJVu1x+OklMfapLApuAPflkOM3BW3+L5BMqn7odbFuQv3UwDfNCOxoJgOJCfbzazkBvT8qDWsCfV0hgsC3fLrH2ptlbTmXI5RBgiR7OI2HkiA8Sy2CVeN1WMn+SuP7oadfqCj0Q11ycPnLwa9LhDrNOcXuMNexjGyQRg9HDKwbtkYCW8CI0ByHRZMFjuBGJb7sgePMUdox22HVMCZYX1qR6KroqE/R+HM4Ivz0oOPQPcRLjPvP4iEynN58HwVS7zJPGhfWQ3jN3+phrurNpvOQ2Jl2QNw==
> <email address hidden>
>
> The websocket returns that as
> ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACA&hellip; <email address hidden>
>
> I wonder if we should give something more useful such as the full key so
> users could copy it. Or do what github does and just show the
> fingerprint.
>
> [1]
> https://git.launchpad.net/maas/tree/src/maasserver/models/sshkey.py#n47
> [2] https://screenshots.firefox.com/YelKdq1UXhxlai9F/github.com
>
> --
> You received this bug notification because you are subscribed to MAAS.
> https://bugs.launchpad.net/bugs/1671844
>
> Title:
> [UI, 2.1.3] MAAS API key name not exposed in the UI.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/maas/+bug/1671844/+subscriptions
>
> Launchpad-Notification-Type: bug
> Launchpad-Bug: product=maas; milestone=2.6.0; status=Incomplete;
> importance=Medium; <email address hidden>;
> Launchpad-Bug-Tags: ui ux
> Launchpad-Bug-Information-Type: Public
> Launchpad-Bug-Private: no
> Launchpad-Bug-Security-Vulnerability: no
> Launchpad-Bug-Commenters: andreserl lilyanavidenova ltrager steverydz
> szeestraten
> Launchpad-Bug-Reporter: Sandor Zeestraten (szeestraten)
> Launchpad-Bug-Modifier: Lee Trager (ltrager)
> Launchpad-Message-Rationale: Subscriber (MAAS)
> Launchpad-Message-For: andreserl
>
--
Andres Rodriguez (RoAkSoAx)
Ubuntu Server Developer
MSc. Telecom & Networking
Systems Engineer