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
I manually commented out line 70 i.e. fs.unlink(outputPath); in lib/file-encryptor.js and the application doesn't crash after that. I think it is not able to unlink (delete) the file due to some reason.
NOTE: This only happens when invalid key is passed to the decryptFile() function.
Check the attached screenshot (from my heroku console)
The text was updated successfully, but these errors were encountered:
Encountered the same problem. Because stream is not close the file can not be deleted. For me even at retry with a correct password it did not work ( there was a file with no permission in the system, could not delete it or overwrite it).
Changed decryptFile catch to :
I manually commented out line 70 i.e.
fs.unlink(outputPath);
in lib/file-encryptor.js and the application doesn't crash after that. I think it is not able to unlink (delete) the file due to some reason.NOTE: This only happens when invalid key is passed to the decryptFile() function.
Check the attached screenshot (from my heroku console)
The text was updated successfully, but these errors were encountered: