npkgtool

npkgtool [-h]
         {create,inspect,hash,presig,encrypt,sign,addsig,unpack,create-keyfile,generate-key,import-key,json-import-keys,drop-key}
         ...

Manages NPKG files.

Option Description

Positional arguments

addsig

Imports the ContentHash and ContentSignature records from one package file into another.

create

Creates a new package from the specified contents file.

create-keyfile

Creates an empty keyfile.

drop-key

Removes a key or key pair from a keyfile.

encrypt

Encrypts the contents of a package.

hash

Generates a new, small package file containing ContentHash records for the content in the input file, but not including the content itself, for off-line signing.

generate-key

Generates a key or key pair and add it to a keyfile.

import-key

Imports a public key pair from a security world to a keyfile.

inspect

Displays the header records of a package file.

json-import-keys

Imports keys from a json file.

presig

Generates a new, small package file containing ContentHash records for the content in the input file, but not including the content itself, for off-line signing.

sign

Signs the contents of a package.

unpack

Retrieves the contents of a package file, decrypting if necessary.

Help option

-h, --help

Displays help for npkgtool.