← Back to team overview

duplicity-team team mailing list archive

Re: [Question #658091]: Why does duplicity ask for passwd when --encrypt-key + --sign-key is used???

 

Question #658091 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/658091

Kenneth Loafman proposed the following answer:
If you look at: https://bazaar.launchpad.net/~duplicity-team/duplicity/0.7-series/view/head:/bin/duplicity#L145
you will see the assumptions that drive duplicity's get_passphrase().  There is no direct way in gpg to find out if a real passphrase is needed, thus the builtin assumptions for now.

As to why it needs a passphrase when we do incrementals, it's a
combination of the assumptions above and the fact that sometimes the
local cache gets deleted or munged by a user.  Trying to second guess
that is trying to second guess humans.  Can't be done.

-- 
You received this question notification because your team duplicity-team
is an answer contact for Duplicity.