0.15.1 • Published 5 years ago

simple-signtool v0.15.1

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

Simple Signtool

A simple wrapper around signtool using node exec.

Documentation

Installation

npm install simple-signtool --save-dev

Usage

First, import simple-signtool into your project:

import * as signtool from 'simple-signtool';

Example

import * as signtool from 'simple-signtool';

const file = path.join(__dirname, 'my.exe');

signtool.sign(file, {
    rawString: '/d mydescription',
    rfcTimeStampUrl: {
        url: 'http://sha1timestamp.ws.symantec.com/sha1/timestamp',
        digestAlgorithm: 'sha256'
    }
});

signtool.sign(file, options);

Contributing

Guidelines

  • Independent options should be in the top-level options interface, e.g., rawString
  • Options that depend on each other should be in their own interface.
    Example:

    export interface ISignOptions {
        rfcTimeStampUrl?: IRFCTimeStamp;
    }
    
    interface IRFCTimeStamp {
        url: string;
        digestAlgorithm?: 'sha256'; // depends on 'url'
    }

Steps

  1. Fork this repository
  2. Get project working locally
    • git clone git@github.com:<yourusername>/simple-signtool.git
    • cd simple-signtool
    • npm install
  3. Write/edit code
  4. Write tests
  5. Run npm test and fix any errors
  6. Open a pull request

License

MIT, please see LICENSE.md for details.

0.15.1

5 years ago

0.15.0

5 years ago

0.14.3

5 years ago

0.14.1

5 years ago

0.14.0

5 years ago

0.13.0

5 years ago

0.12.0

5 years ago

0.11.1

5 years ago

0.11.0

5 years ago

0.10.0

5 years ago

0.9.0

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.5

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago