duplicity-team team mailing list archive
-
duplicity-team team
-
Mailing list archive
-
Message #02391
Re: [Question #251493]: Gnupg2 support
Question #251493 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/251493
Status: Open => Answered
edso proposed the following answer:
On 10.07.2014 23:36, markas wrote:
> Question #251493 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/251493
>
> Description changed to:
> Is there anyway to get duplicity to use gnupg2 in ubuntu? It has better
> support for smartcards and so would prefer to use it.
>
duplicity uses the _gpg_ binary in your PATH. there is no parameter to
change that.
A.
easiest way is to modify PATH env var and add an entry to the beginning where gpg2 is located. the binary should be named gpg there still.
B.
alternatively use some shell magic. wrap the gpg call in a function calling gpg2 e.g.
$> function gpg { gpg2 "$@"?; }; duplicity ....
..ede/duply.net
--
You received this question notification because you are a member of
duplicity-team, which is an answer contact for Duplicity.