mirror of
https://github.com/square/certigo.git
synced 2024-04-21 12:32:40 +00:00
Remove whitespace before colon
This commit is contained in:
+4
-4
@@ -41,14 +41,14 @@ var verboseLayout = `
|
||||
{{- if .Alias}}{{.Alias}}
|
||||
{{end}}Serial: {{.SerialNumber}}
|
||||
Valid: {{.NotBefore | certStart}} to {{.NotAfter | certEnd}}
|
||||
Signature : {{.SignatureAlgorithm | highlightAlgorithm}}{{if .IsSelfSigned}} (self-signed){{end}}
|
||||
Signature: {{.SignatureAlgorithm | highlightAlgorithm}}{{if .IsSelfSigned}} (self-signed){{end}}
|
||||
Subject Info:
|
||||
{{- template "PkixName" .Subject.Name}}
|
||||
Issuer Info:
|
||||
{{- template "PkixName" .Issuer.Name}}
|
||||
{{- if .Subject.KeyID}}
|
||||
Subject Key ID : {{.Subject.KeyID | hexify}}{{end}}{{if .Issuer.KeyID}}
|
||||
Authority Key ID : {{.Issuer.KeyID | hexify}}{{end}}{{if .BasicConstraints}}
|
||||
Subject Key ID: {{.Subject.KeyID | hexify}}{{end}}{{if .Issuer.KeyID}}
|
||||
Authority Key ID: {{.Issuer.KeyID | hexify}}{{end}}{{if .BasicConstraints}}
|
||||
Basic Constraints: CA:{{.BasicConstraints.IsCA}}{{if .BasicConstraints.MaxPathLen}}, pathlen:{{.BasicConstraints.MaxPathLen}}{{end}}{{end}}{{if .NameConstraints}}
|
||||
Name Constraints {{if .PermittedDNSDomains.Critical}}(critical){{end}}: {{range .NameConstraints.PermittedDNSDomains}}
|
||||
{{.}}{{end}}{{end}}{{if .KeyUsage}}
|
||||
@@ -72,7 +72,7 @@ Valid: {{.NotBefore | certStart}} to {{.NotAfter | certEnd}}
|
||||
Subject: {{.Subject.Name | printName }}
|
||||
Issuer: {{.Issuer.Name | printName }}
|
||||
{{- if .NameConstraints}}
|
||||
Name Constraints {{if .PermittedDNSDomains.Critical}}(critical){{end}}: {{range .NameConstraints.PermittedDNSDomains}}
|
||||
Name Constraints{{if .PermittedDNSDomains.Critical}} (critical){{end}}: {{range .NameConstraints.PermittedDNSDomains}}
|
||||
{{.}}{{end}}{{end}}
|
||||
{{- if .AltDNSNames}}
|
||||
Alternate DNS Names:{{range .AltDNSNames}}
|
||||
|
||||
@@ -111,7 +111,7 @@ Dump a live cert chain (squareup-chain.crt)
|
||||
** CERTIFICATE 1 **
|
||||
Serial: 260680855742043049380997676879525498489
|
||||
Valid: 2016-07-15 20:15 UTC to 2017-07-31 20:45 UTC
|
||||
Signature : SHA256-RSA
|
||||
Signature: SHA256-RSA
|
||||
Subject Info:
|
||||
\tCountry: US (esc)
|
||||
\tProvince: California (esc)
|
||||
@@ -128,8 +128,8 @@ Dump a live cert chain (squareup-chain.crt)
|
||||
\tOrganizational Unit: See www.entrust.net/legal-terms (esc)
|
||||
\tOrganizational Unit: (c) 2014 Entrust, Inc. - for authorized use only (esc)
|
||||
\tCommonName: Entrust Certification Authority - L1M (esc)
|
||||
Subject Key ID : D4:17:14:6F:0B:C5:20:A1:D6:FE:21:7E:DC:9E:F8:57:9C:ED:AE:6A
|
||||
Authority Key ID : C3:F7:D0:B5:2A:30:AD:AF:0D:91:21:70:39:54:DD:BC:89:70:C7:3A
|
||||
Subject Key ID: D4:17:14:6F:0B:C5:20:A1:D6:FE:21:7E:DC:9E:F8:57:9C:ED:AE:6A
|
||||
Authority Key ID: C3:F7:D0:B5:2A:30:AD:AF:0D:91:21:70:39:54:DD:BC:89:70:C7:3A
|
||||
Basic Constraints: CA:false
|
||||
Key Usage:
|
||||
\tDigital Signature (esc)
|
||||
@@ -152,7 +152,7 @@ Dump a live cert chain (squareup-chain.crt)
|
||||
** CERTIFICATE 2 **
|
||||
Serial: 30215777750102225331854468774
|
||||
Valid: 2014-12-15 15:25 UTC to 2030-10-15 15:55 UTC
|
||||
Signature : SHA256-RSA
|
||||
Signature: SHA256-RSA
|
||||
Subject Info:
|
||||
\tCountry: US (esc)
|
||||
\tOrganization: Entrust, Inc. (esc)
|
||||
@@ -165,8 +165,8 @@ Dump a live cert chain (squareup-chain.crt)
|
||||
\tOrganizational Unit: See www.entrust.net/legal-terms (esc)
|
||||
\tOrganizational Unit: (c) 2009 Entrust, Inc. - for authorized use only (esc)
|
||||
\tCommonName: Entrust Root Certification Authority - G2 (esc)
|
||||
Subject Key ID : C3:F7:D0:B5:2A:30:AD:AF:0D:91:21:70:39:54:DD:BC:89:70:C7:3A
|
||||
Authority Key ID : 6A:72:26:7A:D0:1E:EF:7D:E7:3B:69:51:D4:6C:8D:9F:90:12:66:AB
|
||||
Subject Key ID: C3:F7:D0:B5:2A:30:AD:AF:0D:91:21:70:39:54:DD:BC:89:70:C7:3A
|
||||
Authority Key ID: 6A:72:26:7A:D0:1E:EF:7D:E7:3B:69:51:D4:6C:8D:9F:90:12:66:AB
|
||||
Basic Constraints: CA:true, pathlen:0
|
||||
Key Usage:
|
||||
\tCert Sign (esc)
|
||||
@@ -178,7 +178,7 @@ Dump a live cert chain (squareup-chain.crt)
|
||||
** CERTIFICATE 3 **
|
||||
Serial: 1372799044
|
||||
Valid: 2014-09-22 17:14 UTC to 2024-09-23 01:31 UTC
|
||||
Signature : SHA256-RSA
|
||||
Signature: SHA256-RSA
|
||||
Subject Info:
|
||||
\tCountry: US (esc)
|
||||
\tOrganization: Entrust, Inc. (esc)
|
||||
@@ -191,8 +191,8 @@ Dump a live cert chain (squareup-chain.crt)
|
||||
\tOrganizational Unit: www.entrust.net/CPS is incorporated by reference (esc)
|
||||
\tOrganizational Unit: (c) 2006 Entrust, Inc. (esc)
|
||||
\tCommonName: Entrust Root Certification Authority (esc)
|
||||
Subject Key ID : 6A:72:26:7A:D0:1E:EF:7D:E7:3B:69:51:D4:6C:8D:9F:90:12:66:AB
|
||||
Authority Key ID : 68:90:E4:67:A4:A6:53:80:C7:86:66:A4:F1:F7:4B:43:FB:84:BD:6D
|
||||
Subject Key ID: 6A:72:26:7A:D0:1E:EF:7D:E7:3B:69:51:D4:6C:8D:9F:90:12:66:AB
|
||||
Authority Key ID: 68:90:E4:67:A4:A6:53:80:C7:86:66:A4:F1:F7:4B:43:FB:84:BD:6D
|
||||
Basic Constraints: CA:true, pathlen:1
|
||||
Key Usage:
|
||||
\tCert Sign (esc)
|
||||
|
||||
@@ -30,7 +30,7 @@ Dump an example certificate (example-leaf.crt)
|
||||
** CERTIFICATE 1 **
|
||||
Serial: 15384458167827828543
|
||||
Valid: 2016-06-10 22:14 UTC to 2023-04-15 22:14 UTC
|
||||
Signature : SHA256-RSA
|
||||
Signature: SHA256-RSA
|
||||
Subject Info:
|
||||
\tCountry: US (esc)
|
||||
\tProvince: CA (esc)
|
||||
|
||||
@@ -23,7 +23,7 @@ Dump an example certificate (example-leaf.crt)
|
||||
** CERTIFICATE 1 **
|
||||
Serial: 14381893493177441266
|
||||
Valid: 2016-06-10 22:14 UTC to 2023-04-15 22:14 UTC
|
||||
Signature : SHA256-RSA (self-signed)
|
||||
Signature: SHA256-RSA (self-signed)
|
||||
Subject Info:
|
||||
\tCountry: US (esc)
|
||||
\tProvince: CA (esc)
|
||||
|
||||
Reference in New Issue
Block a user