Comment 4 for bug 791794

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 791794] Re: The description of --gpg-options in the documentation is misleading

It should read:
--gpg-options Allows you to pass options to gpg encryption. The options
list should be of the form "--opt1 --opt2=parm" where the string is quoted
and the only spaces allowed are between options.

You need the '--' at the beginning of the option.

I'll get a fix into the trunk soon.

On Sun, Jun 14, 2015 at 2:18 AM, Kuang-che Wu <email address hidden> wrote:

> This bugs me, too. duplicity failed due to gpg complain wrong command
> line options.
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https://bugs.launchpad.net/bugs/791794
>
> Title:
> The description of --gpg-options in the documentation is misleading
>
> Status in Duplicity - Bandwidth Efficient Encrypted Backup:
> New
>
> Bug description:
> From the manual page:
>
> --gpg-options options
> Allows you to pass options to gpg encryption. The options list
> should be of the form "opt1=parm1 opt2=parm2" where the string is quoted
> and the only spaces allowed are between options.
>
> This suggests that options like --homedir=/foo can be passed with
> --gpg-options "homedir=foo". This is certainly not the case. Please
> include an example like --ssh-options
>
> duplicity --gpg-options "--no-options --homedir=/home/user/.gnupg"
>
> Duplicity version: 0.6.13-0ubuntu1 on Ubuntu 11.04 Natty
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/791794/+subscriptions
>