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… <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
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 2Y6Vz4u8uGAFKOa 6bfs7xL25z9wG7c dg6SLfuxoJVu1x+ OklMfapLApuAPfl kOM3BW3+ L5BMqn7odbFuQv3 UwDfNCOxoJgOJCf bzazkBvT8qDWsCf V0hgsC3fLrH2ptl bTmXI5RBgiR7OI2 HkiA8Sy2CVeN1WM n+SuP7oadfqCj0Q 11ycPnLwa9LhDrN OcXuMNexjGyQRg9 HDKwbtkYCW8CI0B yHRZMFjuBGJb7sg ePMUdox22HVMCZY X1qR6KroqE/ R+HM4Ivz0oOPQPc RLjPvP4iEynN58H wVS7zJPGhfWQ3jN 3+phrurNpvOQ2Jl 2QNw== AAAADAQABAAACA& hellip; <email address hidden> /git.launchpad. net/maas/ tree/src/ maasserver/ models/ sshkey. py#n47 /screenshots. firefox. com/YelKdq1UXhx lai9F/github. com /bugs.launchpad .net/bugs/ 1671844 /bugs.launchpad .net/maas/ +bug/1671844/ +subscriptions Notification- Type: bug Bug-Information -Type: Public Bug-Private: no Bug-Security- Vulnerability: no Bug-Commenters: andreserl lilyanavidenova ltrager steverydz Bug-Reporter: Sandor Zeestraten (szeestraten) Bug-Modifier: Lee Trager (ltrager) Message- Rationale: Subscriber (MAAS) Message- For: andreserl
> 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
>
>
> /+AMKZ0lK0LiU0j
> <email address hidden>
>
> The websocket returns that as
> ssh-rsa AAAAB3NzaC1yc2E
>
> 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:/
> [2] https:/
>
> --
> You received this bug notification because you are subscribed to MAAS.
> https:/
>
> Title:
> [UI, 2.1.3] MAAS API key name not exposed in the UI.
>
> To manage notifications about this bug go to:
> https:/
>
> Launchpad-
> Launchpad-Bug: product=maas; milestone=2.6.0; status=Incomplete;
> importance=Medium; <email address hidden>;
> Launchpad-Bug-Tags: ui ux
> Launchpad-
> Launchpad-
> Launchpad-
> Launchpad-
> szeestraten
> Launchpad-
> Launchpad-
> Launchpad-
> Launchpad-
>
--
Andres Rodriguez (RoAkSoAx)
Ubuntu Server Developer
MSc. Telecom & Networking
Systems Engineer