Searched refs:rsa (Results 1 – 3 of 3) sorted by relevance
94 rsa = self._LoadSshPublicKey(self._ssh_public_key_path)100 rsa)245 rsa = f.read()246 rsa = rsa.strip() if rsa else rsa247 utils.VerifyRsaPubKey(rsa)248 return rsa
390 def VerifyRsaPubKey(rsa): argument400 if not rsa or not all(ord(c) < 128 for c in rsa):402 "rsa key is empty or contains non-ascii character: %s" % rsa)404 elements = rsa.split()406 raise errors.DriverError("rsa key is invalid, wrong format: %s" % rsa)421 raise errors.DriverError("rsa key is invalid: %s" % rsa)424 "rsa key is invalid: %s, error: %s" % (rsa, str(e)))
1476 rsa = GetRsaKey(ssh_rsa_path)1477 entry = "%s:%s" % (user, rsa)1661 rsa = f.read()1664 rsa = rsa.strip() if rsa else rsa1665 utils.VerifyRsaPubKey(rsa)1666 return rsa