code: def verify_sigfile(sigdir, sig):
      
      cmd = ['sigtool', '-i', '%s/%s.cvd' % (sigdir, sig)]
      sigtool = Popen(cmd, stdout=PIPE, stderr=PIPE)
      ret_val = sigtool.wait()
      return ret_val == 0
docs: Verify a signature file