Open kkzo opened 2 months ago
Encrypted files generated with a hint that contains a new line (multiline hint) fail to decrypt with the correct password.
Secret type
Message
Password
red
Password hint
one
two
Upon opening the encrypted file, the password hint is blank and message fails to decrypt with the chosen password.
Upon opening the encrypted file, the password hint should be visible and the password should successfully decrypt the message.
Encrypt:
Decrypt:
Log:
2024-07-14T11_09_13.secret.html:189 Uncaught TypeError: Cannot read properties of undefined (reading 'passwordHint') at init (2024-07-14T11_09_13.secret.html:189:16) at onload (2024-07-14T11_09_13.secret.html:269:25) init @ 2024-07-14T11_09_13.secret.html:189 onload @ 2024-07-14T11_09_13.secret.html:269
Summary
Encrypted files generated with a hint that contains a new line (multiline hint) fail to decrypt with the correct password.
Reproduction steps
Secret type
toMessage
and populate with example text.Password
(red
used in example)Password hint
to a multiline note (set line one toone
and two totwo
in this example)Upon opening the encrypted file, the password hint is blank and message fails to decrypt with the chosen password.
Expected behavior
Upon opening the encrypted file, the password hint should be visible and the password should successfully decrypt the message.
Screenshots
Encrypt:
Decrypt:
Log:
Device information