Searched refs:rsa (Results 1 – 3 of 3) sorted by relevance
112 rsa = self._LoadSshPublicKey(self._ssh_public_key_path)118 rsa)263 rsa = f.read()264 rsa = rsa.strip() if rsa else rsa265 utils.VerifyRsaPubKey(rsa)266 return rsa
1563 rsa = GetRsaKey(ssh_rsa_path)1564 entry = "%s:%s" % (user, rsa)1748 rsa = f.read()1751 rsa = rsa.strip() if rsa else rsa1752 utils.VerifyRsaPubKey(rsa)1753 return rsa
396 def VerifyRsaPubKey(rsa): argument406 if not rsa or not all(ord(c) < 128 for c in rsa):408 "rsa key is empty or contains non-ascii character: %s" % rsa)410 elements = rsa.split()412 raise errors.DriverError("rsa key is invalid, wrong format: %s" % rsa)427 raise errors.DriverError("rsa key is invalid: %s" % rsa)430 "rsa key is invalid: %s, error: %s" % (rsa, str(e)))