Page MenuHomeVyOS Platform

show pki add indent between output
Needs testing, LowPublicFEATURE 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

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Cosmetic issue (typos etc.)

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.