Skip to content

cryptstick is a small utility which provides a convinient interface to mount encrypted luks container and unmount unused container automatically after a certain amount of time.

License

netlemur/cryptstick

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cryptstick

cryptstick is a small utility which provides a convinient interface to mount encrypted luks container and unmount unused container automatically after a certain amount of time.

Idea

You want to store sensitive data like your private keys more securely. Often you use a veracrypt container or a luks container. You mount it once, you then use the private key and usually you forget to unmount and close the container. Your private data might be open to attacks. cryptstick should protected you from unneeded mounted sensitive data.

How to use?

# Firstly, create a luks container using create.sh. You do this once.
./create.sh my-container 1024M mkfs.ext4

# Secondly, mount it using mount.sh
./mount.sh my-container

mount.sh also got a xterm frontend if you open it by clicking it for example.

Configuration

You can store your own configuration in cs-settings.conf.

Tips

  • You can combine cryptstick with a USB drive. Plug it in when you need it. Unplug it afterwards.
  • You can store your private data like private keys, passwords or certificates inside an encrypted container. Use them only if needed. cryptstick will help you to protect you from stealing this data when you don’t need them.
  • Take a look at mount.sh. It got some options to tune if you want.
  • After the initial use time, it checks regularily for opened files. It bells once and prints the processes using the files.
  • You can CTRL+C the wait loop. It will force-kill any accessing process.

About

cryptstick is a small utility which provides a convinient interface to mount encrypted luks container and unmount unused container automatically after a certain amount of time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%