Editor backup files

Rene Kita mail at rkta.de
Wed May 21 04:36:59 UTC 2025


On Sun, Mar 09, 2025 at 12:30:47PM +0000, Conrad Hughes wrote:
> My editor (vim) creates backup files automatically, which in the case of
> 'pass edit' is something of a security leak — it'll fill your editor
> backup dir with files like
> 
>   %dev%shm%pass.xyzxyzxyzxyzx%xyzxyz-passentry.txt~
> 
> One way around this is to configure the editor not to create backups
> when editing in /dev/shm.  Have people taken any other approaches?
> 
> Conrad

My vim is configured to place the backup file next to the original.
After closing vim the whole directory in /dev/shm is gone.


More information about the Password-Store mailing list