    def self.run_gpg(*args)
      fragments = [
        'gpg',
        '--no-default-keyring'
      ] + args
      command_line = fragments.join(' ')

      output_file = Tempfile.new('gpg-output')
      begin
        output_file.close
        result = system("#{command_line} > #{output_file.path} 2>&1")
      ensure
        output_file.unlink
      end
      raise RuntimeError.new('gpg failed') unless result
    end
The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.