Lines Matching refs:cmd
31 …cmd = self.gpg_cmd + ["--no-permission-warning", "--batch", "--yes", "--export", "-o", output_file]
33 cmd += ["--homedir", self.gpg_path]
35 cmd += ["--armor"]
36 cmd += [keyid]
37 subprocess.check_output(cmd, stderr=subprocess.STDOUT)
42 cmd = self.rpm_bin + " --addsign --define '_gpg_name %s' " % keyid
46 cmd += "--define '_gpg_sign_cmd_extra_args %s' " % gpg_args
47 cmd += "--define '_binary_filedigest_algorithm %s' " % digest
49 cmd += "--define '__gpg %s' " % self.gpg_bin
51 cmd += "--define '_gpg_path %s' " % self.gpg_path
53 cmd += "--signfiles --fskpath %s " % fsk
55 cmd += "--define '_file_signing_key_password %s' " % fsk_password
59 …subprocess.check_output(shlex.split(cmd + ' '.join(files[i:i+sign_chunk])), stderr=subprocess.STDO…
67 cmd = self.gpg_cmd + ['--detach-sign', '--no-permission-warning', '--batch',
71 cmd += ['--homedir', self.gpg_path]
73 cmd += ['--armor']
75 cmd += ['-o', input_file + "." + output_suffix]
77 cmd += ['--digest-algo', "SHA256"]
82 cmd += ['--pinentry-mode', 'loopback']
84 cmd += [input_file]
91 job = subprocess.Popen(cmd, stdin=subprocess.PIPE, stderr=subprocess.PIPE)
109 cmd = self.gpg_cmd + ["--version", "--no-permission-warning"]
110 ver_str = subprocess.check_output(cmd).split()[2].decode("utf-8")
118 cmd = self.gpg_cmd + ["--verify", "--no-permission-warning", "--status-fd", "1"]
120 cmd += ["--homedir", self.gpg_path]
122 cmd += [sig_file]
123 status = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)