mediacentral-sign
v0.1.2
Published
Signing tool for mediacentral cloud-ux apps
Downloads
289
Readme
Motivation
A tool to sign pointed files or directories with RSA512 hash.
Usage
As a CLI (Install globally)
npm i -g mediacentral-sign
As a JS module
const sign = require('mediacentral-sign')
sign(options)
CLI tool help page
Options:
- -S
Sign
use this options to Sign your file- --version
Show version number
[boolean] - --help
Show help
[boolean] - -k, --key
path to a private key
[default: "private.key"] - -m, --manifest
path to a new or existing manifest file
[default: "./manifest.json"] - -f, --file
path to a directory or file to sign
[default: "."] - -p, --password
password to the private key
- -i, --id
developers ID (assigned by Avid)
- --version
- -V
Verify
this option allow you to verify your manifest.json file with your public key- -m, --manifest
path to your manifest.json file
- -v, -pubKeyPath
path to you public key
- -m, --manifest
Api
sign([, options])
Parameters
options
-- options object with keys:key
-- path to a private keymanifest
-- path to a new or existing manifest filefile
-- path to a directory or file to signpassword
-- optional, password to the private keyid
-- optional, developers ID (assigned by Avid)verify
-- setting to true will verify your filemanifest
-- path to your manifest.json filepubKeyPath
-- path to your public key