From b13332c991ce2695626eaca367dd8208b174c9ca Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 14 Apr 2016 17:59:24 +0300 Subject: Add support for repository authentication --- bpkg/rep-create.cli | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'bpkg/rep-create.cli') diff --git a/bpkg/rep-create.cli b/bpkg/rep-create.cli index fc11a0c..a48922e 100644 --- a/bpkg/rep-create.cli +++ b/bpkg/rep-create.cli @@ -20,9 +20,12 @@ namespace bpkg \h|DESCRIPTION| The \cb{rep-create} command regenerates the \cb{packages} manifest file - based on the files present in the repository directory. If is not - specified, then the current working directory is used as the repository - root." + based on the files present in the repository directory. If the + \cb{repositories} manifest file contains a certificate, then the + \cb{signature} manifest file is regenerated as well. In this case the + \cb{--key} option must be used to specify the certificate's private + key. If is not specified, then the current working directory is + used as the repository root." } class rep_create_options: common_options @@ -33,5 +36,13 @@ namespace bpkg { "Ignore unknown manifest entries." } + + string --key + { + "", + "Private key to use to sign the repository. In most cases will + be a path to the key file but it can also be a key id when a custom + \cb{openssl} cryptographic engine is used." + } }; } -- cgit v1.1