-
Gregory Haskins authored
This patch enhances the cryptogen tool by providing a more flexible configuration and output operation, based on a YAML config file and golang templates. Summary of changes: ------------------------- *) Tool now has two subcommands *) "generate" - This takes the role of the previous top-level command. It gets rid of almost all of the previous command-line switches and replaces them with: -output: specify the output directory. defaults to crypto-config -config: specify the input configuration file. defaults to a configuration similar to before (1 orderer, 2 peer orgs, 1 peer/org *) "showtemplate" - Prints the built-in default template to standard out, suitble for saving/editing for future "generate" sessions. *) CommonName outputs are now much more DNS friendly. For example: we no...
2ec150d4