Fixed multivolume with encryption creation
authorDaniel Garcia Moreno <danigm@wadobo.com>
Sun, 1 Sep 2013 10:54:15 +0000 (12:54 +0200)
committerDaniel Garcia Moreno <danigm@wadobo.com>
Sun, 1 Sep 2013 10:54:15 +0000 (12:54 +0200)
commit8825be52718fadfa6b01c14a1863ea829d43f887
tree0fb0cee7db22594884da7d38547fa5da95c816c7
parent04fb06f49f347319b975be4f5edd196a970bae6a
Fixed multivolume with encryption creation

Adding the test test_restore_from_index_diff_backup3_multivol I've found a
bug in the multivolume creation with encryption. The problem was that the
first volume of data was created correctly, but the second and so were
created in plain text.

The problem was in the TarFile.open_volume method, just in the creation of
the new volume file, the encryption data was not passed to the new _Stream
object.
deltatar/deltatar.py
deltatar/tarfile.py
testing/test_deltatar.py