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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file pysigtool-0.1.4.tar.gz.

File metadata

  • Download URL: pysigtool-0.1.4.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Darwin/19.6.0

File hashes

Hashes for pysigtool-0.1.4.tar.gz
Algorithm Hash digest
SHA256 25e73775cdce9344b23478916285e854c42edcf6efbe75dbf0ab94b96dc04bf1
MD5 6b4cf27183b3a4bc0a8874249d054b8a
BLAKE2b-256 398ba9b088102dc964a34bbb25f5982e281c1a318a472f724d610d7bdb0d643c

See more details on using hashes here.

File details

Details for the file pysigtool-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: pysigtool-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Darwin/19.6.0

File hashes

Hashes for pysigtool-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7c99e7ad3a210ef863f782a13f39254c4928699d2634659dc1baac6463fe5b0a
MD5 cb94e34aa64c0ccd06c9e1bfca1cba7d
BLAKE2b-256 7019fb6ed0f39e7e13e67a9dd3e0508d85d8275ed3e415642ef2d9cbf8815153

See more details on using hashes here.

Supported by

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