You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in this server fault post you can't compress encrypted files which is what we try to do if use both the compression flag and the encryption flag.
Either or needs to be selected, if both are selected we should throw an error so that the user can take a correct decision. Alternatively, which may be a better decision is that we need to compress first, then do an encryption as mentioned here in #292
Versions
Django-dbbackup
pypi: 3.3.0
The text was updated successfully, but these errors were encountered:
jonathan-s
changed the title
Compressing encrypted files should not be possible.
Compressing encrypted files should not be done.
Dec 13, 2020
Bug Report
Describe the bug
As mentioned in this server fault post you can't compress encrypted files which is what we try to do if use both the compression flag and the encryption flag.
See https://github.com/django-dbbackup/django-dbbackup/blob/master/dbbackup/management/commands/dbbackup.py#L81-L86
Expected behavior
Either or needs to be selected, if both are selected we should throw an error so that the user can take a correct decision. Alternatively, which may be a better decision is that we need to compress first, then do an encryption as mentioned here in #292
Versions
Django-dbbackup
The text was updated successfully, but these errors were encountered: