McCoy:CommandLine: Difference between revisions

Jump to navigation Jump to search
Line 13: Line 13:
==Update Manifest Signing==
==Update Manifest Signing==


   mccoy sign-update <update.rdf>
   mccoy sign-update [-n <name> | -k <file>] [options] <update.rdf>


This will add an update signature to the specified update.rdf file. One of -n or -k must be given to select which key to use to sign the update. If necessary -pass must be provided to access the key.
This will add an update signature to the specified update.rdf file. One of -n or -k must be given to select which key to use to sign the update. If necessary -pass must be provided to access the key.


   -n -name <name> The name of the key to use for the task
   -n -name <name>       The name of the key to use for signing.
   -k -key <file>   A PEM encoded key file to use for the task
   -k -key <file>       A PEM encoded private key to use for signing.
   -pass <password> The password to access keys or to decrypt a key file give by -k
 
   -id <id>         Only sign the updates for the extension with the given id,
   -pass <password>     The password to access keys or to decrypt a key file
                  otherwise will sign updates for all extension in the file
                        given by -k.
   -id <id>             Only sign the updates for the extension with the
                        given id, otherwise will sign updates for all
                        extensions in the file.
  -o -out <file>        select output file, otherwise overwrite the input file


==Hash Generation==
==Hash Generation==
canmove, Confirmed users
1,570

edits

Navigation menu