mediacentral-sign

0.1.2 • Public • Published

pipeline status coverage report

Motivation

A tool to sign pointed files or directories with RSA512 hash.

Usage

  1. As a CLI (Install globally)

    npm i -g mediacentral-sign

  2. 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)
  • -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

Api

sign([, options])

Parameters

  • options -- options object with keys:
    • key -- path to a private key
    • manifest -- path to a new or existing manifest file
    • file -- path to a directory or file to sign
    • password -- optional, password to the private key
    • id -- optional, developers ID (assigned by Avid)
    • verify -- setting to true will verify your file
    • manifest -- path to your manifest.json file
    • pubKeyPath -- path to your public key

Dependents (2)

Package Sidebar

Install

npm i mediacentral-sign

Weekly Downloads

85

Version

0.1.2

License

EULA

Unpacked Size

53.3 kB

Total Files

16

Last publish

Collaborators

  • wbauer
  • joeapearson
  • enterit
  • anna.kryzhko
  • anna.vaskovska
  • yvadim
  • diana_chaikovska
  • vladyslav.kurakov
  • artur.ziemba.avid