I've started to implement this for unencrypted volumes, but I've run into a few issues that maybe someone could help me with.
The first problem is that lzma.LZMAFile from pylzma doesn't support using a fileobj instead of a real file, does someone know a way to work around that?
Then maybe one of the duplicity developers can point me to where decompression is done in the code. I had no problems finding compression in gpg.py and I first thought decompression was done using tarfile.py, but I'm not so sure any more.
I've started to implement this for unencrypted volumes, but I've run into a few issues that maybe someone could help me with.
The first problem is that lzma.LZMAFile from pylzma doesn't support using a fileobj instead of a real file, does someone know a way to work around that?
Then maybe one of the duplicity developers can point me to where decompression is done in the code. I had no problems finding compression in gpg.py and I first thought decompression was done using tarfile.py, but I'm not so sure any more.