mongodb-notary-service-client
A client for our notary-service (an API for codesigning).
Example
CLI
First, create a .env
file:
NOTARY_URL=${url}NOTARY_AUTH_TOKEN=${token}NOTARY_SIGNING_KEY=${key_name}
Install the client:
npm install -g mongodb-notary-service-client;
Sign a file in-place:
notary my-app.rpm;
Sign multiple files in-place:
notary my-app.rpm my-app.deb my-app.tar.gz;
View more details:
☉ notary --help Commands: sign [files...] sign one or more files check check configuration logs get log from notary-service Options: -h, --help output usage information -V, --version output the version number --debug show debug output
API
processenvNOTARY_URL="${url}";processenvNOTARY_AUTH_TOKEN="${token}";processenvNOTARY_SIGNING_KEY="${key_name}"; const sign = ;;
License
Apache 2.0