From f9e720ea11541847eac185ac6d78c4206ec36391 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Thu, 5 Nov 2026 17:27:41 -0800 Subject: [PATCH] Fix Key ID column width in ACME EAB output Key IDs that are UUIDs, like the ones in step-ca-pro, are 36 characters long and left no space before the provisioner name. Increase the column width to 40 in `step ca acme eab list` and `step ca acme eab add`. --- command/ca/acme/eab/add.go | 2 +- command/ca/acme/eab/list.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/command/ca/acme/eab/add.go b/command/ca/acme/eab/add.go index 2fe70c79..96c26979 100644 --- a/command/ca/acme/eab/add.go +++ b/command/ca/acme/eab/add.go @@ -87,7 +87,7 @@ func addAction(ctx *cli.Context) (err error) { // TODO(hs): JSON output, so that executing this command can be more easily automated? out := os.Stdout - format := "%-36s%-28s%-48s%s\n" + format := "%-40s%-28s%-48s%s\n" fmt.Fprintf(out, format, "Key ID", "Provisioner", "Key (base64, raw url encoded)", "Reference") fmt.Fprintf(out, format, cliEAK.id, cliEAK.provisioner, cliEAK.key, cliEAK.reference) diff --git a/command/ca/acme/eab/list.go b/command/ca/acme/eab/list.go index 51e1bfe5..2b9566a5 100644 --- a/command/ca/acme/eab/list.go +++ b/command/ca/acme/eab/list.go @@ -128,7 +128,7 @@ func listAction(ctx *cli.Context) (err error) { } cursor := "" - format := "%-36s%-28s%-16s%-30s%-30s%-40s%s\n" + format := "%-40s%-28s%-16s%-30s%-30s%-40s%s\n" firstIteration := true startedPager := false