author | Alberto Bertogli
<albertito@blitiri.com.ar> 2025-01-12 14:37:22 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2025-01-12 14:37:22 UTC |
parent | d638384c29167d949ea7afb1e0d8a0f2e7a5bcec |
kxd/kxd.go | +2 | -2 |
diff --git a/kxd/kxd.go b/kxd/kxd.go index 07f141e..ac936bc 100644 --- a/kxd/kxd.go +++ b/kxd/kxd.go @@ -93,9 +93,9 @@ func (req *Request) KeyPath() (string, error) { func certToString(cert *x509.Certificate) string { return fmt.Sprintf( - "(0x%.8s ou:%s)", + "(0x%.8s %s)", fmt.Sprintf("%x", cert.Signature), - cert.Subject.OrganizationalUnit) + cert.Subject.ToRDNSequence()) } // ChainToString makes a human-readable string out of the given certificate