add better error message when auth failed

This commit is contained in:
vs 2014-06-27 06:34:30 -07:00
parent 54a1eba6c9
commit ef9c517e76

View File

@ -453,6 +453,10 @@ class Auth(object):
return ''
return aes
else:
log.error('The masters public could not be verified. Is the '
'verification pubkey {0} up to date?'
''.format(self.opts['master_sign_key_name'] + '.pub'))
return ''
else:
if self.opts['verify_master_pubkey_sign']: