Lines Matching refs:cmd
83 cmd = ['openssl', 'asn1parse']
84 cmd.extend(['-inform', 'DER'])
85 cmd.extend(['-in', pkcs7_sig_file])
86 out = subprocess.check_output(cmd, universal_newlines=True)
101 cmd = [self._fsverity_path, 'digest', input_file]
102 cmd.extend(['--compact'])
103 cmd.extend(['--hash-alg', self._hash_alg])
104 out = subprocess.check_output(cmd, universal_newlines=True).strip()
127 cmd = [self._fsverity_path]
129 cmd.append('digest')
130 cmd.append(input_file)
132 cmd.append('sign')
133 cmd.append(input_file)
134 cmd.append(sig_file)
148 cmd.extend(['--key', pem_key])
149 cmd.extend(['--cert', self._cert])
150 cmd.extend(['--hash-alg', self._hash_alg])
151 cmd.extend(['--block-size', '4096'])
152 cmd.extend(['--out-merkle-tree', merkletree_file])
153 cmd.extend(['--out-descriptor', desc_file])
154 subprocess.check_call(cmd, stdout=open(os.devnull, 'w'))