p-e-w / quicksafe

The easiest way to securely encrypt notes (NO LONGER MAINTAINED)
52 stars 7 forks source link

Potential catastrophic data loss if error occurs while encrypting #6

Closed p-e-w closed 9 years ago

p-e-w commented 9 years ago

If an error is thrown inside the encryption routine (e.g. stream issues) and the program terminates as a result, all text in the file, including text that was already stored before starting the program, is destroyed because the write operation can not finish.

p-e-w commented 9 years ago

Fixed in https://github.com/p-e-w/quicksafe/commit/f1d626afd8ceb16e7e17353773a595fe7bf5513a.