Home
last modified time | relevance | path

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

/tools/acloud/internal/lib/
Dandroid_compute_client.py112 rsa = self._LoadSshPublicKey(self._ssh_public_key_path)
118 rsa)
263 rsa = f.read()
264 rsa = rsa.strip() if rsa else rsa
265 utils.VerifyRsaPubKey(rsa)
266 return rsa
Dgcompute_client.py1563 rsa = GetRsaKey(ssh_rsa_path)
1564 entry = "%s:%s" % (user, rsa)
1748 rsa = f.read()
1751 rsa = rsa.strip() if rsa else rsa
1752 utils.VerifyRsaPubKey(rsa)
1753 return rsa
Dutils.py396 def VerifyRsaPubKey(rsa): argument
406 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)))