+ for (obj, name) in [(certificate, "CERT"), (gid, "GID"), ]:
+ logger.debug("ConnectionKeyGIDMismatch, %s pubkey: %s" % (
+ name, obj.get_pubkey().get_pubkey_string()))
+ logger.debug(
+ "ConnectionKeyGIDMismatch, %s dump: %s" % (name, obj.dump_string()))
+ if hasattr(obj, 'filename'):
+ logger.debug(
+ "ConnectionKeyGIDMismatch, %s filename: %s" % (name, obj.filename))