summaryrefslogtreecommitdiff
path: root/security/lastpass-cli/pkg-message
blob: cf8263c12cdadb7f6a385f30b40cc865ce6e9e5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
===============================================================================
Important security considerations
===============================================================================

Before using the 'edit' subcommand interactively, it's recommended to set the
SECURE_TMPDIR environment variable to a location that isn't written to disk,
such as a tmpfs mount, ideally using encrypted swap:

	https://www.freebsd.org/doc/handbook/swap-encrypting.html

Also keep in mind your editor may create temporary files and backups in other
locations - consider disabling these features for files matching the pattern
lpass.* or within your $SECURE_TMPDIR.  For example, with vim:

	autocmd BufRead lpass.* setlocal noundofile nowritebackup noswapfile