SignCheck
Check specified path sign with native current OS signing tools
Usage
Get the package via NPM: npm install sign-check
.
const SignCheck = ; const somePath = 'some/path/for/test'; SignCheck;
or use sync version:
try const isSigned = SignCheck; console; catch err console;
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