Page MenuHomeVyOS Platform

show pki output indentation issues
Not ApplicablePublicFEATURE REQUEST

Description

The visual issue for show pki - add indent (new line) between output
Get

vyos@r1# run show pki 
Certificate Authorities:
Name    Subject                                             Issuer CN    Issued               Expiry               Private Key    Parent
------  --------------------------------------------------  -----------  -------------------  -------------------  -------------  --------
ca      CN=vyos.io,O=VyOS,L=Los-Angeles,ST=California,C=US  CN=vyos.io   2022-12-07 13:22:44  2032-12-04 13:22:44  Yes            N/A
Certificates:
Name    Type    Subject CN    Issuer CN    Issued               Expiry               Revoked    Private Key    CA Present
------  ------  ------------  -----------  -------------------  -------------------  ---------  -------------  ------------
branch  Client  CN=vyos.io    CN=vyos.io   2022-12-09 19:08:15  2024-12-08 19:08:15  No         Yes            Yes (ca)
server  Server  CN=vyos.io    CN=vyos.io   2022-12-09 19:06:49  2024-12-08 19:06:49  No         Yes            Yes (ca)
Certificate Revocation Lists:
CA Name    Updated    Revokes
---------  ---------  ---------
[edit]
vyos@r1#

Expect an indent (new line) between CA, certificates, and revocation lists.

vyos@r1# run show pki 
Certificate Authorities:
Name    Subject                                             Issuer CN    Issued               Expiry               Private Key    Parent
------  --------------------------------------------------  -----------  -------------------  -------------------  -------------  --------
ca      CN=vyos.io,O=VyOS,L=Los-Angeles,ST=California,C=US  CN=vyos.io   2022-12-07 13:22:44  2032-12-04 13:22:44  Yes            N/A

Certificates:
Name    Type    Subject CN    Issuer CN    Issued               Expiry               Revoked    Private Key    CA Present
------  ------  ------------  -----------  -------------------  -------------------  ---------  -------------  ------------
branch  Client  CN=vyos.io    CN=vyos.io   2022-12-09 19:08:15  2024-12-08 19:08:15  No         Yes            Yes (ca)
server  Server  CN=vyos.io    CN=vyos.io   2022-12-09 19:06:49  2024-12-08 19:06:49  No         Yes            Yes (ca)

Certificate Revocation Lists:
CA Name    Updated    Revokes
---------  ---------  ---------
[edit]
vyos@r1#

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Related Objects

Mentioned In
1.4.1

Event Timeline

Viacheslav changed the task status from Open to Needs testing.Jan 20 2024, 11:31 AM
Viacheslav triaged this task as Low priority.

Now it seems to look good

vyos@vyos:~$ show pki
Certificate Authorities:
Name    Subject                                           Issuer CN    Issued               Expiry               Private Key    Parent
------  ------------------------------------------------  -----------  -------------------  -------------------  -------------  --------
test    CN=vyos.io,O=VyOS,L=Some-City,ST=Some-State,C=GB  CN=vyos.io   2024-08-16 08:09:06  2029-08-15 08:09:06  Yes            N/A

Certificates:
Name         Type    Subject CN    Issuer CN    Issued               Expiry               Revoked    Private Key    CA Present
-----------  ------  ------------  -----------  -------------------  -------------------  ---------  -------------  ------------
self_s_cert  Server  CN=vyos.io    CN=vyos.io   2024-08-16 08:24:20  2025-08-16 08:24:20  No         Yes            No

Certificate Revocation Lists:
CA Name    Updated    Revokes
---------  ---------  ---------




vyos@vyos:~$ show version
Version:          VyOS 1.4.0
Release train:    sagitta
Release flavor:   generic

Built by:         Sentrium S.L.
Built on:         Tue 04 Jun 2024 09:23 UTC
Build UUID:       5e6ae0c4-4d17-4b69-9247-b4ba44a3e3c2
Build commit ID:  35dd8ae6522c78-dirty

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  QEMU
Hardware model:   Standard PC (i440FX + PIIX, 1996)
Hardware S/N:
Hardware UUID:    ede216ef-ba9b-4963-a8ea-11a70276c101

Copyright:        VyOS maintainers and contributors
dmbaturin renamed this task from show pki add indent between output to show pki output indentation issues.Dec 6 2024, 2:48 PM
dmbaturin changed Issue type from Cosmetic issue (typos etc.) to Bug (incorrect behavior).