The description of --gpg-options in the documentation is misleading

Bug #791794 reported by Peter Wu on 2011-06-02
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Duplicity
Medium
Unassigned

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

Peter Wu (lekensteyn) on 2011-06-02
description: updated
Paul Whittaker (launchpad-pdw) wrote :

Still seeing this in 12.04.1 LTS (duplicity 0.6.18-0ubuntu3).

This is still an issue - the only reason I found this bug report was that I was searching for clarification on how this option is meant to be used.

Christian (bolek2000) wrote :

Same for me in 12.04.01, trying to figure out how this option works.

Kuang-che Wu (kcwu) wrote :

This bugs me, too. duplicity failed due to gpg complain wrong command line options.

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
>

Changed in duplicity:
importance: Undecided → Medium
milestone: none → 0.7.04
status: New → Fix Committed
Changed in duplicity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers