node-codesign
TypeScript icon, indicating that this package has built-in type declarations

0.3.3 • Public • Published

node codesign

Sign anything for MacOS.

Installation

# For use in npm scripts
npm i node-codesign --save-dev

# For use from cli
npm i node-codesign -g

Usage

To obtain a signing identity, join the Mac Developer Program. More info is available in the Mac Developer documentation.

Usage: node-codesign <path/to/file> <Identity>

Sign your electron apps on OSX.

Usage:
  node-codesign ./FooBar-darwin-x64/FooBar.app "Developer ID Application: Lucas Hrabovsky"

Args:
  <appPath>            Path to your file.
  <identity>           Keychain query of a Code Signing Identity obtained from Apple.

Options:
  --debug              Enable debug messages.
  --overwrite          Overwrite any existing DMG.
  -h --help            Show this screen.
  --version            Show version.

API

var codesign = require('node-codesign')
codesign(opts, function done (err, filePaths) { })

codesign(opts, callback)

opts

Required appPath - String The file.

identity - String SHA-1 signature or query (e.g. Developer ID Application <your_name>) of a Code Signing Identity obtained from Apple.

callback

err - Error Contains errors if any.

filePaths Array Path successfully signed and verified.

License

Apache 2.0

/node-codesign/

    Package Sidebar

    Install

    npm i node-codesign

    Weekly Downloads

    0

    Version

    0.3.3

    License

    Apache-2.0

    Unpacked Size

    19.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • orechova
    • himanshusinghs
    • c-buckingham
    • mongo-j
    • mabaasit
    • alexander_schroll
    • chuck.kalmanek
    • mongodb-js-user
    • rueckstiess
    • durran
    • lerouxb
    • fredtruman
    • mbroadst
    • hswolff
    • satyasinha
    • matt_d_rat
    • rhysm
    • tomhollander
    • alena.khineika
    • jeff-allen-mongo
    • mmarcon
    • jonathan.balsano
    • mongodb-build
    • jack.weir
    • stennie
    • mcasimir
    • kristina.stefano
    • jarjee
    • shaketbaby
    • devtoolsbot
    • addaleax
    • gribnoysup
    • mutukrish