Having the same problem in Ubuntu 12.04 with duplicity 0.6.18.
It presents a GPG error, but if I try to decrypt the file manually with with the following command, it works ok:
Here is the log of running duplicity in the command line with the the follwoing arguments:
/usr/bin/duplicity --verbosity info list-current-files --gio smb://xpto@foo/backups/
Main action: list-current
================================================================================
duplicity 0.6.18 (February 29, 2012)
Args: /usr/bin/duplicity --verbosity info list-current-files --gio smb://psalgueiro@licoroso/backups/
Linux pds-laptop 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64
/usr/bin/python 2.7.3 (default, Apr 20 2012, 22:39:59)
[GCC 4.6.3]
================================================================================
Synchronizing remote metadata to local cache...
PASSPHRASE variable not set, asking user.
GnuPG passphrase:
Copying duplicity-full-signatures.20120703T083354Z.sigtar.gpg to local cache.
Using temporary directory /tmp/duplicity-XXDtVy-tempdir
Writing /tmp/duplicity-XXDtVy-tempdir/mktemp-0Ewuy_-1
GPG error detail: Traceback (most recent call last):
File "/usr/bin/duplicity", line 1403, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1396, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1272, in main
sync_archive(decrypt)
File "/usr/bin/duplicity", line 1072, in sync_archive
copy_to_local(fn)
File "/usr/bin/duplicity", line 1019, in copy_to_local
gpg.GzipWriteFile(src_iter, tdp.name, size=sys.maxint)
File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 372, in GzipWriteFile
new_block = block_iter.next(min(128*1024, bytes_to_go))
File "/usr/bin/duplicity", line 1002, in next
self.fileobj.close()
File "/usr/lib/python2.7/dist-packages/duplicity/dup_temp.py", line 222, in close
assert not self.fileobj.close()
File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 239, in close
self.gpg_failed()
File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 206, in gpg_failed
raise GPGError, msg
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
gpg: block_filter 0x1817cc0: read error (size=10507,a->size=10507)
gpg: [don't know]: invalid packet (ctb=1d)
gpg: onepass_sig with unknown version 116
gpg: mdc_packet with invalid encoding
gpg: decryption failed: invalid packet
gpg: [don't know]: invalid packet (ctb=25)
gpg: block_filter: pending bytes!
===== End GnuPG log =====
Having the same problem in Ubuntu 12.04 with duplicity 0.6.18.
It presents a GPG error, but if I try to decrypt the file manually with with the following command, it works ok:
gpg --output manifest --decrypt duplicity- full.20120326T1 00344Z. manifest. gpg
Here is the log of running duplicity in the command line with the the follwoing arguments: foo/backups/
/usr/bin/duplicity --verbosity info list-current-files --gio smb://xpto@
Main action: list-current ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= === o@licoroso/ backups/ ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= === full-signatures .20120703T08335 4Z.sigtar. gpg to local cache. XXDtVy- tempdir XXDtVy- tempdir/ mktemp- 0Ewuy_- 1 duplicity" , line 1403, in <module> tempdir( main) duplicity" , line 1396, in with_tempdir duplicity" , line 1272, in main archive( decrypt) duplicity" , line 1072, in sync_archive to_local( fn) duplicity" , line 1019, in copy_to_local GzipWriteFile( src_iter, tdp.name, size=sys.maxint) python2. 7/dist- packages/ duplicity/ gpg.py" , line 372, in GzipWriteFile next(min( 128*1024, bytes_to_go)) duplicity" , line 1002, in next fileobj. close() python2. 7/dist- packages/ duplicity/ dup_temp. py", line 222, in close close() python2. 7/dist- packages/ duplicity/ gpg.py" , line 239, in close gpg_failed( ) python2. 7/dist- packages/ duplicity/ gpg.py" , line 206, in gpg_failed a->size= 10507)
=======
duplicity 0.6.18 (February 29, 2012)
Args: /usr/bin/duplicity --verbosity info list-current-files --gio smb://psalgueir
Linux pds-laptop 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64
/usr/bin/python 2.7.3 (default, Apr 20 2012, 22:39:59)
[GCC 4.6.3]
=======
Synchronizing remote metadata to local cache...
PASSPHRASE variable not set, asking user.
GnuPG passphrase:
Copying duplicity-
Using temporary directory /tmp/duplicity-
Writing /tmp/duplicity-
GPG error detail: Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
sync_
File "/usr/bin/
copy_
File "/usr/bin/
gpg.
File "/usr/lib/
new_block = block_iter.
File "/usr/bin/
self.
File "/usr/lib/
assert not self.fileobj.
File "/usr/lib/
self.
File "/usr/lib/
raise GPGError, msg
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
gpg: block_filter 0x1817cc0: read error (size=10507,
gpg: [don't know]: invalid packet (ctb=1d)
gpg: onepass_sig with unknown version 116
gpg: mdc_packet with invalid encoding
gpg: decryption failed: invalid packet
gpg: [don't know]: invalid packet (ctb=25)
gpg: block_filter: pending bytes!
===== End GnuPG log =====