Home
last modified time | relevance | path

Searched refs:rsa (Results 1 – 3 of 3) sorted by relevance

/tools/acloud/internal/lib/
Dandroid_compute_client.py94 rsa = self._LoadSshPublicKey(self._ssh_public_key_path)
100 rsa)
245 rsa = f.read()
246 rsa = rsa.strip() if rsa else rsa
247 utils.VerifyRsaPubKey(rsa)
248 return rsa
Dutils.py390 def VerifyRsaPubKey(rsa): argument
400 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)))
Dgcompute_client.py1476 rsa = GetRsaKey(ssh_rsa_path)
1477 entry = "%s:%s" % (user, rsa)
1661 rsa = f.read()
1664 rsa = rsa.strip() if rsa else rsa
1665 utils.VerifyRsaPubKey(rsa)
1666 return rsa