Can't decrypt an encrypted gallery
JulienPalard opened this issue · comments
I tried encrypting a gallery on current sigal main (sigal 2.4.dev46+g0923a56).
When I try decrypting it I'm getting:
Uncaught (in promise) Error: Fetched failed when checking encryption key
onMessage [...]/static/decrypt.js:482
onmessage [...]/static/decrypt.js:200
_mSetupServiceWorker [...]/static/decrypt.js:199
Decryptor [...]/static/decrypt.js:47
Decryptor [...]/static/decrypt.js:35
init [...]/static/decrypt.js:57
<anonymous> [...]/:18
2 decrypt.js:482:54
I'm getting the same message with a bad password.
Hi,
Sorry I cannot reproduce, so not sure what to do.
@dbw9580 - Maybe you have an idea ?
Fetched failed when checking encryption key
the decryptor was trying to fetch and decrypt a file located at ${gallery_url}/static/keycheck.txt
, to determine whether the password provided by the user is correct. The error was that file couldn't be fetched, probably due to a network error.
sigal/src/sigal/plugins/encrypt/static/decrypt.js
Lines 96 to 99 in 4cc7f5f
Please check whether the file is present at the URL.