Exemplo n.º 1
0
 def get_challenge(self):
     return SysAuthenticator.get_challenge(self, mac="hmac")
Exemplo n.º 2
0
 def get_challenge(self):
     return SysAuthenticator.get_challenge(self, mac="hmac")
Exemplo n.º 3
0
 def get_challenge(self, digests):
     if "xor" not in digests:
         raise Exception("win32 authenticator requires the 'xor' digest")
     return SysAuthenticator.get_challenge(self, ["xor"])
Exemplo n.º 4
0
 def get_challenge(self, digests):
     if "xor" not in digests:
         raise Exception(
             "pam authenticator requires the 'xor' digest, not %s" %
             csv(digests))
     return SysAuthenticator.get_challenge(self, ["xor"])
Exemplo n.º 5
0
 def get_challenge(self, digests):
     if "xor" not in digests:
         log.error("Error: pam authentication requires the 'xor' digest")
         return None
     return SysAuthenticator.get_challenge(self, ["xor"])