my dumb mistake
Joshua N Pritikin
jpritikin at pobox.com
Tue Jan 15 21:26:52 CET 2019
To create a new password entry for "foo," I typed "pass edit foo" in one
terminal window. Then I forgot and entered the same thing in another
terminal window. I closed them in the wrong order and wiped out my
changes.
At the beginning of "pass edit foo", would it be possible to snapshot
the previous version of the file? Then if the file didn't match it's
snapshot, the user could be warned.
Maybe there is a race condition here, but better to have a safety check
that usually works than no safety check.
--
Joshua N. Pritikin, Ph.D.
Virginia Institute for Psychiatric and Behavioral Genetics
Virginia Commonwealth University
PO Box 980126
800 E Leigh St, Biotech One, Suite 1-133
Richmond, VA 23219
http://exuberant-island.surge.sh
More information about the Password-Store
mailing list