Skip to content

Commit

Permalink
Merge pull request #3 from gpunktschmitz/main
Browse files Browse the repository at this point in the history
removed '?' from output 'Is CA?: true/false'
  • Loading branch information
noqqe authored Jun 1, 2021
2 parents 8de6f89 + 16e5f92 commit e5346ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion veilig/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func printCertificate(cert *x509.Certificate) bool {
fmt.Printf("Valid from:%s\t%s%s\n", Yellow, cert.NotBefore, Reset)
fmt.Printf("Valid until:%s\t%s%s\n", Yellow, cert.NotAfter, Reset)
fmt.Printf("Issuer:%s\t\t%s%s\n", Cyan, cert.Issuer.Organization[0], Reset)
fmt.Printf("Is CA?:%s\t\t%t%s\n", Pink, cert.IsCA, Reset)
fmt.Printf("Is CA:%s\t\t%t%s\n", Pink, cert.IsCA, Reset)
fmt.Printf("Signature:%s\t%s%s\n", Pink, cert.SignatureAlgorithm, Reset)
fmt.Printf("PublicKey:%s\t%s (%d bits)%s\n", Pink, cert.PublicKeyAlgorithm, bits.Size()*8, Reset)

Expand Down

0 comments on commit e5346ae

Please sign in to comment.