Skip to main content

Utilities to support code signing Windows executable files

Project description

winsign

https://img.shields.io/pypi/v/winsign.svg

Utilities to support code signing Windows executable files.

Installation

pip install winsign

CLI Usage

usage: winsign [-h] --certs CERTS --key PRIV_KEY [-n COMMENT] [-i URL] -d
               {sha1,sha256} [-t {old,rfc3161}] [-v] [-q]
               infile [outfile]

positional arguments:
  infile            unsigned file to sign
  outfile           where to write output to. defaults to infile

optional arguments:
  -h, --help        show this help message and exit
  --certs CERTS     certificates to include in the signature
  --key PRIV_KEY    private key used to sign
  -n COMMENT        comment to include in signature
  -i URL            url to include in signature
  -d {sha1,sha256}  digest to use for signing. must be one of sha1 or sha256
  -t {old,rfc3161}
  -v, --verbose
  -q, --quiet

Credits

History

1.3.0 (2019-09-12)

  • Fixed old style timestamp generation

  • Added signature verification code

  • Removed autograph support. Client code can implement their own autograph signing hooks for winsign.sign.sign_file

1.2.0 (2019-09-10)

  • Updated logging so that is_signed doesn’t produce error logs when files aren’t signed

1.1.0 (2019-09-05)

  • Added is_signed method to check if files are signed

1.0.0 (2019-08-30)

  • First release

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

winsign-1.3.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file winsign-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: winsign-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for winsign-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d0411ae8d0ad760f1216e71cbaf02412debd194f4ca6d89216179de964f3738
MD5 37322b0d218d14719b6791ef0e62bf06
BLAKE2b-256 54419ac50666f65a2f19329948b0418a140b43366eb0fc4c8a49527c2a375199

See more details on using hashes here.

Supported by

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