def codesign_display(self, path):
        cmd = [CODESIGN_BIN, '-d', '-r-', '--verbose=20', path]
        # n.b. codesign may print things to STDERR, or STDOUT, depending
        # on exactly what you're extracting. I KNOW RIGHT?
        proc = subprocess.Popen(cmd,
                                stdout=subprocess.PIPE,
                                stderr=subprocess.STDOUT)
        out, _ = proc.communicate()
        assert proc.returncode == 0, "Return code not 0"
        return self.codesign_display_parse(out)
inspect a path with codesign
dataset/ETHPy150Open saucelabs/isign/tests/test_versus_apple.py/TestVersusApple.codesign_display