diff --git a/prosopopee/utils.py b/prosopopee/utils.py index d15a7fc..41ba671 100644 --- a/prosopopee/utils.py +++ b/prosopopee/utils.py @@ -42,7 +42,7 @@ def makeform(template, settings, gallery_settings): def encrypt(password, template, gallery_path, settings, gallery_settings): encrypted_template = template.get_template("encrypted.html") index_plain = Path("build").joinpath(gallery_path, "index.html") - encrypted = check_output('cat %s | openssl enc -e -base64 -A -aes-256-cbc -pass pass:"%s"' % (index_plain, password), shell=True) + encrypted = check_output('cat %s | openssl enc -e -base64 -A -aes-256-cbc -md md5 -pass pass:"%s"' % (index_plain, password), shell=True) html = encrypted_template.render( settings=settings, form=makeform(template, settings, gallery_settings),