Skip to content

Commit 61d2558

Browse files
authored
bad-key-revoker: Fix log message formatting (#8252)
Fixes #8251
1 parent c68e27e commit 61d2558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/bad-key-revoker/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ func (bkr *badKeyRevoker) invoke(ctx context.Context) (bool, error) {
246246
for _, cert := range unrevokedCerts {
247247
serials = append(serials, cert.Serial)
248248
}
249-
bkr.logger.AuditInfo(fmt.Sprintf("revoking serials %v for key with hash %s", serials, unchecked.KeyHash))
249+
bkr.logger.AuditInfo(fmt.Sprintf("revoking serials %v for key with hash %x", serials, unchecked.KeyHash))
250250

251251
// revoke each certificate
252252
err = bkr.revokeCerts(unrevokedCerts)

0 commit comments

Comments
 (0)