duplicity-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-tracker] [bug #25623] Can't restore backup


From: David Abrahams
Subject: [Duplicity-tracker] [bug #25623] Can't restore backup
Date: Wed, 18 Feb 2009 01:25:40 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.10 (intrepid) Firefox/3.0.6

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]