2.2.3 • Published 6 years ago

sign-check v2.2.3

Weekly downloads
25
License
MIT
Repository
github
Last release
6 years ago

SignCheck

NPM Build Status NPM

Check specified path sign with native current OS signing tools

Usage

Get the package via NPM: npm install sign-check.

const SignCheck = require('sign-check');

const somePath = 'some/path/for/test';

SignCheck.check(somePath).then(
    (isSigned) => {
        console.log('File sign status ' + isSigned);
    },
    (error) => {
        console.log(error);
    }
);

or use sync version:

    try {
        const isSigned = SignCheck.checkSync(somePath);
        console.log('File is signed: ', isSigned);
    } catch (err) {
        console.log('Something went wrong');
    }

Usage as CLI tool

Install the package globally: npm install -g sign-check.

	sign-check 'path/to/file'

Notes

For Win verification used sample code compiled to binary.

For detailed info about Windows tool error codes see: lib/bin/README.md

For detailed info about macOS tool see official doc

2.2.3

6 years ago

2.2.2

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.0.0

6 years ago

1.0.3

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago