Emit error when simple_verify fails.

When running the manual authenticator, if simple_verify fails, there is no
output to indicate what went wrong, just "Incomplete authorizations."
This commit is contained in:
Jacob Hoffman-Andrews
2015-09-27 23:43:26 -07:00
parent 550d73e444
commit a7375eb549
+2
View File
@@ -182,6 +182,8 @@ binary for temporary key/certificate generation.""".replace("\n", "")
achall.account_key.public_key(), self.config.simple_http_port):
return response
else:
logger.error(
"Self-verify of challenge failed, authorization abandoned.\n")
if self.conf("test-mode") and self._httpd.poll() is not None:
# simply verify cause command failure...
return False