blackbox icon indicating copy to clipboard operation
blackbox copied to clipboard

Feature Request: Make edit end smart enough to detect changes

Open adamgotterer opened this issue 9 years ago • 1 comments

Sometimes I use start/end to review a file and ultimately not make changes. But once the file is re-encrypted I'm asked to commit the changes even if nothing changed. Possible to make closing out a file smart enough to know if something was modified?

adamgotterer avatar Dec 29 '16 22:12 adamgotterer

IMHO, this would be a lot harder than it sounds and not necessarily worth doing within blackbox - and it would be better do encrypt single files as they are altered.

While it would be easy to track if a file were changed via a datastore of md5 values of the enrolled files, a re-encryption of the file is needed if any of the gpg keys were changed. For that feature request to work properly, blackbox_edit_end would need to track both file changes and keyring changes. The work needed on the keyring would be a lot more complex.

jvanasco avatar Sep 12 '17 17:09 jvanasco