0.1.2 • Published 8 years ago

signed-tar v0.1.2

Weekly downloads
15
License
VOL
Repository
github
Last release
8 years ago

Signed tar

This is a node module implementation of the signed tar specifications.

Install

The normal way:

npm install signed-tar

Requirements

You must have gpg installed and on the PATH. (Comes pre-installed on Mac.)

Use

Inside some module, use it like:

var sigtar = require('signed-tar')
var options = {
	user: '<john.doe@email.com>',
	dir: './test/package'
}
sigtar(options, function(err) {
	console.log('done signing and tarring')
})

options.user

A valid PGP/GPG username. The more specificity, the better.

The GPG man page lists a few possibilities.

options.dir

The directory to generate a manifest for and tar.

License

VOL