• Home
  • Raw
  • Download

Lines Matching full:client

20 def __check_pinweaver_client_present(client, message):  argument
22 run = client.run('which pinweaver_client', ignore_status=True)
26 def __execute_for_dict(client, *args, **kwargs): argument
30 __check_pinweaver_client_present(client, args[0])
36 run = client.run(*args, **kwargs)
45 def ResetTree(client, bits_per_level, height): argument
48 @param client: client object to run commands on.
50 return __execute_for_dict(client, 'pinweaver_client resettree %d %d' %
54 def InsertLeaf(client, label, auxilary_hashes, low_entropy_secret, argument
59 @param client: client object to run commands on.
62 client, 'pinweaver_client insert %d %s %s %s %s %s' %
67 def RemoveLeaf(client, label, auxilary_hashes, mac): argument
70 @param client: client object to run commands on.
73 client, 'pinweaver_client remove %d %s %s' %
77 def TryAuth(client, auxilary_hashes, low_entropy_secret, cred_metadata): argument
81 @param client: client object to run commands on.
84 client, 'pinweaver_client auth %s %s %s' %
88 def ResetAuth(client, auxilary_hashes, reset_secret, cred_metadata): argument
92 @param client: client object to run commands on.
95 client, 'pinweaver_client resetleaf %s %s %s' %
99 def GetLog(client, root=None): argument
103 @param client: client object to run commands on.
109 return __execute_for_dict(client, 'pinweaver_client getlog %s' % (root))
112 def LogReplay(client, auxilary_hashes, log_root, cred_metadata): argument
116 @param client: client object to run commands on.
119 client, 'pinweaver_client replay %d %s %s %s' %
123 def SelfTest(client): argument
126 @param client: client object to run commands on.
129 __check_pinweaver_client_present(client, cmd)
131 run = client.run(cmd)