Searched refs:rsa (Results 1 – 4 of 4) sorted by relevance
/tools/acloud/internal/lib/ |
D | android_compute_client.py | 112 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
|
D | gcompute_client.py | 1583 rsa = GetRsaKey(ssh_rsa_path) 1584 entry = "%s:%s" % (user, rsa) 1768 rsa = f.read() 1771 rsa = rsa.strip() if rsa else rsa 1772 utils.VerifyRsaPubKey(rsa) 1773 return rsa
|
D | utils.py | 413 def VerifyRsaPubKey(rsa): argument 423 if not rsa or not all(ord(c) < 128 for c in rsa): 425 "rsa key is empty or contains non-ascii character: %s" % rsa) 427 elements = rsa.split() 429 raise errors.DriverError("rsa key is invalid, wrong format: %s" % rsa) 444 raise errors.DriverError("rsa key is invalid: %s" % rsa) 447 "rsa key is invalid: %s, error: %s" % (rsa, str(e)))
|
/tools/test/connectivity/acts/framework/acts/controllers/openwrt_lib/ |
D | network_settings.py | 568 rsa = "--type rsa" 573 (rsa, size)) 576 (lifetime, rsa, country, org, self.l2tp.hostname)) 578 (size, rsa)) 583 (rsa, lifetime, country, org, self.l2tp.hostname, LOCALHOST)) 585 (size, rsa)) 589 "clientCert.der" % (rsa, lifetime, country, org, 618 rsa = "--type rsa" 626 "ipsec pki --gen %s %s --outform der > caKey.der" % (rsa, size), 629 (lifetime, rsa, country, org, self.l2tp.hostname), [all …]
|