Follow-up Comment #2, bug #25623 (project duplicity):

The problem is in duplicity's logic that decides whether it needs a
passphrase.  It's broken somehow.  I added the "False and" just after "if" in
the code below (from the top-level duplicity script), to force it to use my
passphrase, and it worked:

        # cases where we do not need to get a passphrase:
        # full: with pubkey enc. doesn't depend on old encrypted info
        # inc and pubkey enc.: need a manifest, which the archive dir has
unencrypted
        # with encryption disabled
        # listing files: needs a manifest, but the archive dir has that
        # collection status only looks at a repository
        # NOTE: both full and inc are handled later
        if False and ((not globals.encryption) or
                (action == "list-current" and globals.archive_dir) or
                action in ["full", "inc", "collection-status",
                                   "remove-older-then",
                                   "remove-all-but-n-full",
                                   ]):
                globals.gpg_profile.passphrase = ""
        else:
                globals.gpg_profile.passphrase = get_passphrase(1)



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?25623>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Duplicity-tracker mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/duplicity-tracker

Reply via email to