rsa_identity_fpr = smartlist_get(args, 2);
if (base16_decode(digest, DIGEST_LEN, rsa_identity_fpr,
HEX_DIGEST_LEN) < 0) {
- log_warn(LD_DIR, "SR: RSA fingerprint '%s' not decodable",
- rsa_identity_fpr);
+ log_warn(LD_DIR, "SR: RSA fingerprint %s not decodable",
+ escaped(rsa_identity_fpr));
goto error;
}
/* Let's make sure, for extra safety, that this fingerprint is known to
if (trusteddirserver_get_by_v3_auth_digest(digest) == NULL) {
log_warn(LD_DIR, "SR: Fingerprint %s is not from a recognized "
"authority. Discarding commit.",
- rsa_identity_fpr);
+ escaped(rsa_identity_fpr));
goto error;
}
char tbuf[ISO_TIME_LEN + 1];
format_iso_time(tbuf, valid_after);
log_info(LD_DIR, "SR: State prepared for new voting period (%s). "
- "Current phase is %s (%d/%d).",
+ "Current phase is %s (%d commit & %d reveal rounds).",
tbuf, get_phase_str(sr_state->phase),
sr_state->n_commit_rounds, sr_state->n_reveal_rounds);
}