barberousse icon indicating copy to clipboard operation
barberousse copied to clipboard

Securely store the tempfiles

Open zeapo opened this issue 5 years ago • 0 comments

The temp file should not be stored in /tmp/ as this is not a good & secure practice when using a shared computer: https://github.com/zeapo/barberousse/blob/2f1f81c2abc3360c44778c0fb58411506577d7f3/src/edit.rs#L52-L55

An idea would be to use /dev/shm, create a temp folder in it with permissions 600 and create the temp files in there.

zeapo avatar Jun 20 '20 09:06 zeapo