Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upqvm-backup: '-z' applies compression after encryption #775
Comments
marmarek
added this to the Release 2 Beta 3 milestone
Mar 8, 2015
marmarek
added
bug
C: core
P: major
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by axon on 9 Jan 2014 10:56 UTC
Marek:
The final solution would adding gzip before openssl, but as a quick 'fix' there should be a warning/error about using compression and encryption (compression alone works fine).
|
Comment by axon on 9 Jan 2014 10:56 UTC
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by marmarek on 15 Jan 2014 04:56 UTC
Blocked encrypted and compressed backups:
http://git.qubes-os.org/?p=marmarek/core-admin.git;a=commit;h=26b32ca51ecd6edd4a4846c3fd549dd5da78a4e2
|
Comment by marmarek on 15 Jan 2014 04:56 UTC |
marmarek
removed this from the Release 2 Beta 3 milestone
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Modified by joanna on 14 Mar 2014 12:43 UTC |
marmarek
added this to the
Release 3 milestone
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Modified by joanna on 16 Apr 2014 16:44 UTC |
marmarek
added
P: minor
and removed
P: major
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Modified by woju on 30 Jun 2014 13:18 UTC |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Modified by marmarek on 26 Sep 2014 02:00 UTC |
marmarek
self-assigned this
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by marmarek on 8 Oct 2014 14:09 UTC
http://git.qubes-os.org/?p=marmarek/core-admin.git;a=commit;h=0cd8281ac10ee06f4b2fce9f86e27eb25292bc25
|
Comment by marmarek on 8 Oct 2014 14:09 UTC |
marmarek commentedMar 8, 2015
Reported by axon on 9 Jan 2014 10:55 UTC
Due to an openssl bug, '-z' applies compression after encryption when creating a backup (and vice versa when restoring from a backup). Since encrypted data cannot be compressed (and attempting to compress encrypted data typically results in a larger output), the backups created by qvm-backup are much larger than they should be.
See: https://groups.google.com/d/msg/qubes-users/XfyJHSCD4_U/Lw-jjiRNV2EJ
Migrated-From: https://wiki.qubes-os.org/ticket/775