@neo4j/code-signer
A CLI tool for signing code
Last updated 8 months ago by neo4j-organization .
Apache-2.0 · Original npm · Tarball · package.json
$ cnpm install @neo4j/code-signer 
SYNC missed versions from official npm registry.

Code Signer

A CLI tool for signing code used by Neo4j Graph platform.
Creates a signature.pem file in the signed folder.

Usage

Sign my-graph-app directory:


npx @neo4j/code-signer --app ./my-graph-app-folder \
  --private-key ./private-key.pem \
  --cert ./certificate.pem \
  --passphrase your-private-key-passphrase

Verify my-graph-app:


npx @neo4j/code-signer --verify \
  --app ./my-graph-app-folder \
  --root-cert ./rootCA.pem

Common usage pattern

These steps are usually what's needed to sign a node application.

# build your app
npm run build

# pack you app
npm pack

# unpack your app
tar xvzf *.tgz

# sign unpacked app folder
npx @neo4j/code-signer --app ./package \
  --private-key ../private-key.pem \
  --cert ../certificate.pem \
  --passphrase your-private-key-passphrase
  
# pack app again, from inside package/ folder. Important!
cd package
npm pack

# publish, still inside package/ folder
npm publish *.tgz


Development

  • Build: yarn build
  • Test: yarn test
  • Package: yarn pack

Current Tags

  • 1.0.6                                ...           latest (8 months ago)

8 Versions

  • 1.0.6                                ...           8 months ago
  • 1.0.5                                ...           9 months ago
  • 1.0.4                                ...           9 months ago
  • 1.0.3                                ...           9 months ago
  • 0.9.2                                ...           9 months ago
  • 0.9.1                                ...           9 months ago
  • 0.8.1                                ...           9 months ago
  • 0.8.0                                ...           9 months ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 11
Dependencies (8)
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |