Skip to main content

Extract digital signatures contained in a PE file.

Project description

pysigtool

Checked with mypy

Extract digital signatures contained in a PE file.

Install

$ pip install pysigtool

Usage

$ pysigtool msvcr120.dll
saving msvcr120_dll.der
$ ls msvcr120_dll.der
msvcr120_dll.der
$ openssl pkcs7 -in msvcr120_dll.der -inform der -print
PKCS7: 
  type: pkcs7-signedData (1.2.840.113549.1.7.2)
  d.sign: 
    version: 1
    md_algs:
        algorithm: sha1 (1.3.14.3.2.26)
        parameter: NULL
    contents: 
      type: undefined (1.3.6.1.4.1.311.2.1.4)
      d.other: SEQUENCE:
....

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysigtool-0.1.4.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

pysigtool-0.1.4-py3-none-any.whl (10.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page